|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.openwms.web.flex.servlet.UploadServlet
public class UploadServlet
An UploadServlet.
Constructor Summary | |
---|---|
UploadServlet()
|
Method Summary | |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Noting is done here. |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Try to resolve the post request parameter named Filedata and read the data. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadServlet()
Method Detail |
---|
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
req
- An HttpServletRequest
object that contains the request
the client has made of the servletres
- An HttpServletResponse
object that contains the
response the servlet sends to the client
javax.servlet.ServletException
- If the request for the GET could not be handled
IOException
- If an input or output error is detected when the servlet
handles the GET requestHttpServlet.doGet(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
UserService
is used to assign the image to an
User
. The
User
s username must
be a part of the request. Append a request parameter with the name
selectedUser.
doPost
in class javax.servlet.http.HttpServlet
req
- An HttpServletRequest
object that contains the request
the client has made of the servletres
- An HttpServletResponse
object that contains the
response the servlet sends to the client
IOException
- If an input or output error is detected when the servlet
handles the request
javax.servlet.ServletException
- If the request for the POST could not be handledjavax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse),
org.openwms.common.service.UserService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |