File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

field value displayed wrongly

 
Gunaselan Varathan
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two jsp pages with different form bean.

on first jsp page & second jsp page, i have text field called "LastName".

on first jsp page user enteres data on last name and pressed cancel . the user is navigated to second jsp page which has also a field called "lastName".

The problem is what ever value i enter on first jsp page lastname field is appearing on second jsp lastname field.

note: the lastname field is a textbox
 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Are they both refering to the same ActionForm??
Secondly, i dont know if you have used isCancelled() in ActionClass when you press the cancel button . If yes then try clearing the value of the "lastName" explicitly in that.
If no, then please post the code so that we all here may have a look at that.
[ April 05, 2007: Message edited by: RoshaniG Gopal ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic