File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes On statechange () Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "On statechange ()" Watch "On statechange ()" New topic
Author

On statechange ()

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 60
Hi All,

i am using struts,springs,and hibernate in my project.

in one of my new jsp pages i am checking whether there is a state change in jsp.if there is no changed it prompts no values changed else it will submit the form.
however even when there is a changed in the values , my page is prompting the values not changed message.

here is my jsp :


the condition i am using in my action page was :





Kindly help me to shoot this issue.


Reagrds,
raj chopra
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Hi,

What is the type of updateflag property in vendorEditContactForm form?

if it is string then you have to check




Thanks,
Shailesh
 
Consider Paul's rocket mass heater.
 
subject: On statechange ()