This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 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.

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 ()
Similar Threads
org.apache.jasper.JasperException: java.lang.NullPointerException
how to copy the data one form field to another form field by using check box
using Multiple submit buttons.
Cannot find bean error in any scope
The requested resource (Servlet action is not available) is not available. ...