Strategy for navigation in struts 1.2

2013-04-15 Thread Ashish
Hi I have a question about designing strategy for page navigation, this is my requirement 1. There is a add new information page which can be called from 5 different pages. 2. When the addition is successful return the calling page 3. when returning to calling page, maintain search criteria on

Re: Strategy for navigation in struts 1.2

2013-04-15 Thread Eric Lentz
Requirement 4 seems a little (unnecessarily?) restrictive. You obviously need to store the information somewhere. Why not the session? If not in the session or a cache, then the database would be the next likely candidate, in my opinion. You'll have to manage it by clearing information after you

Re: Strategy for navigation in struts 1.2

2013-04-15 Thread Ashish
Hi I can save it in session, just dont want to add all the search criteria's in session, but will have to do some thing like save only last search criteria or form in session, Ashish On April 15, 2013 at 12:42 PM Eric Lentz ericle...@outfastsource.com wrote: Requirement 4 seems a little

Re: Strategy for navigation in struts 1.2

2013-04-15 Thread Paul Benedict
There's nothing wrong with storing the search criteria in the session. On Mon, Apr 15, 2013 at 2:23 PM, Ashish ashi...@samarthinfo.com wrote: Hi I can save it in session, just dont want to add all the search criteria's in session, but will have to do some thing like save only last search

Re: Strategy for navigation in struts 1.2

2013-04-15 Thread Ashish
Hi What is the best strategy to redirect or forward to that calling page, i dont like to do that from java script, is there some common method which i can create which can forward to this saved path in session Ashish On April 15, 2013 at 3:24 PM Paul Benedict pbened...@apache.org wrote: