Re: Servlets, send redirect and request scope



Yea, but it isnt as clean and not generic. For example, I would have
find every instance of request 'getParameters' that existed at the end
servlet and replace with the session getting code.

I wish there was a way to fill in values in the request object, that
way I wouldnt have to change any code at all.

Arne Vajhøj wrote:
Berlin Brown wrote:
Security reasons. It is needed to do the redirect.

Then sessions or a special cookie.

Arne

.



Relevant Pages

  • Re: Servlet design question
    ... don't put huge objects in the session, ... Concerning fields in the servlet class itself, no, you shouldn't do it, ... > for that request only (e.g. request-related stuff scooped out of ... > wrapper also contains a reference to my SessionState object, ...
    (comp.lang.java.programmer)
  • Re: SendMailServlet example & server setup ?
    ... Thanks for theory but this is supposed to be my first servlet so I need ... Session session = Session.getInstance; ... analyzes the HTTP headers included with the request, ... replication requests, optimal would be the same amount of threads as nodes ...
    (comp.lang.java.help)
  • Re: TOMCAT PROBLEM: Establishing a session
    ... > I have a java applet running inside the html produced by the java ... > servlet, we have written a second servlet which implements a HashTable ... Do note that where sessions are maintained via a session cookie, ... You must also take care when trying to pass request parameters ...
    (comp.lang.java.programmer)
  • Re: User control remember state across pages without session
    ... Its a shame Microsoft don't extend viewstate beyond a single page because it ... An HTTP Request is received by the web server. ... It sends a Response to the client. ... > Request for a Page comes from any client, the Session Collection has a new ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: JSP - saving textfield values before loading intermediate page
    ... > present into the fields of the bean. ... a request is needed to get the session. ... servlet that takes care of it. ...
    (comp.lang.java.programmer)