Just a note that ActionServlet only implements doGet and doPost so I imagine
you'll get some sort of method-not-supported error (inherited from HttpServlet)
if you send it a PUT request.

Quoting Adam Hardy <[EMAIL PROTECTED]>:

> On 11/17/2003 02:31 PM Susan Bradeen wrote:
> > I have been using the following for returning the user to their intended
> > URL after a login, and have had good luck with it ...
> > 
> > ----- In the Base Action class -----
> > if (someCheckFor.loggedInUser() == null) {
> >   StringBuffer goToPath = new StringBuffer(request.getServletPath());
> >   if (request.getQueryString() != null) {
> >     goToPath.append("?" + request.getQueryString()); }
> >   request.setAttribute("userPath", goToPath.toString());
> >   return mapping.findForward("login");
> > }
> 
> Susan,
> what about HTTP-put, where there are request parameters that are not in 
> the query string?
> 
> 
> Adam
> -- 
> struts 1.1 + tomcat 5.0.12 + java 1.4.2
> Linux 2.4.20 RH9

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to