This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "On statechange ()" Watch "On statechange ()" New topic

On statechange ()

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 64
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.

raj chopra
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368

What is the type of updateflag property in vendorEditContactForm form?

if it is string then you have to check

I agree. Here's the link:
subject: On statechange ()
It's not a secret anymore!