RE: Session Management

2007-03-15 Thread manoj.tripathi
maya, Once a user is logged in session variables are set and your user interface should not display login option...but if you hit back button on browser you will see login option in that case use saveToken now to allow duplicate form submission Back buttons display thing because form contains

RE: Page does not refresh after action

2006-06-09 Thread manoj.tripathi
What browsers are you working on... Try it on firefox as well Also where are u persisting the order (session db ..where)that you change in the action that is not reflected in the forwarded page Cheers -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED]

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
Do not get into encoding and decodingas you might be aware that you can specify the charset at many places like web.xml, in javascript tag and also when you encode/decode in java. This means that decoding result can be different from what you expect if a different charset is used...It might

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
Frequent deleting from session is not very good In a cluster that would mean updating the states of session on so many servers on the clusteryou can appreciate that this is an overhead and a great performance hit Request, hidden fields and java script for validation is the work around Also if

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
Not sure that you are asking the user to submit the form 5 times (like a wizard corresponding to a user journey) You are hitting the server possibly the back end so many times may be worse if that is a transaction as well The first think is reduce if possible the steps from 5 to possibly 3 Al

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
Also a word of caution I presume all the objects you store in session are seriallizable. If they are not then your solution wont work if the application is deployed on cluster Small piece of information can be transferred through hidden fields from form to form through struts actions Cheers

RE: Reload the same page

2006-06-08 Thread manoj.tripathi
Forward the request to an action instead of a jsp. In the action code set the request and forward to jsp Hope that helps Cheers -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: 08 June 2006 21:31 To: Struts Users Mailing List Subject: Reload the same page All, I

RE: Retrieve values

2006-06-07 Thread manoj.tripathi
In the action where the form is submitted you call request.getAttributr("data") as the input hidden type's name is data -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 18:34 To: Struts Users Mailing List Subject: Retrieve values I tried storing vector va

RE: Handling attribute values

2006-06-07 Thread manoj.tripathi
Maya, Vectors are synchronized. Any method that touches the Vector's contents is thread safe. ArrayList, on the other hand, is unsynchronized, making them, therefore, not thread safe. With that difference in mind, using synchronization will incur a performance hit. So if you don't need a thread-

RE: Problem in a action

2006-06-07 Thread manoj.tripathi
Very limited information to comment But the first action forwards to the second action. The second action does not have input attribute (which is a tile/jsp or another action) -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 15:02 To: 'Str

RE: Handling attribute values

2006-06-07 Thread manoj.tripathi
Maya, It seems you storing a list of records in request Set the attribute in session scope, and when you delete the record update the attribute in session when you are in editAction Or In Edit action again set the update attribute in request scope Cheers -Original Message- From: Maya meno

RE: Global forwards and actions

2006-06-01 Thread manoj.tripathi
Sample config http://struts.apache.org/dtds/struts-config_1_2.dtd";> Note the following 1.This is a typical example modify according to your need 2.Name of the form i