Actually, using POST would not be an option here since the data is being passed back and forth encoded in a URL. Keeping all this data in a session (where possible) definately makes sense though. - Chinmay. > ---------- > From: Craig R. McClanahan[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology. > Sent: Monday, November 15, 1999 12:52 PM > To: [EMAIL PROTECTED] > Subject: Re: remember user's navigation path within servlet > > Christopher Zhao wrote: > > > All- > > > > To do: > > For one servlet, I have many layers of presentation classes. Users can > browse > > the service through a function nevigation bar. The navigation bar is > created on > > the fly so that functions on the bar can remember user's activity > through > > parameter passing. > > > > Problem: > > When layer's information is passed, the parameters will be to long for > URL. If > > If I use decoded parameter passing, the string could be even longer. > > > > Question: > > What is a good strategy to implement this. > > > > I would suggest keeping all of the "state" information about available > options (the > stuff needed to create your navigation bar) in a session, rather than > passing it > back and forth. You can get around the URL length problem by using POST > instead of > GET (and using hidden fields for the current values), but you are still > sending a > LOT of bytes back and forth that the client browser really does not care > about. > > > > > Tahnks. > > > > Chris zhao > > > > Craig McClanahan > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
Re: remember user's navigation path within servlet
Nadkarni, Chinmay (Chinmay)** CTR ** Mon, 15 Nov 1999 11:03:46 -0800
- remember user's navigation path withi... Christopher Zhao
- Benchmark tool Robert Pimentel
- Re: remember user's navigation p... Craig R. McClanahan
- Re: remember user's navigation p... Nadkarni, Chinmay (Chinmay)** CTR **
- Re: remember user's navigation p... Erik Hanson