aspose file tools*
The moose likes JSP and the fly likes Check if user has clicked on submit button based on client/server side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Check if user has clicked on submit button based on client/server side" Watch "Check if user has clicked on submit button based on client/server side" New topic
Author

Check if user has clicked on submit button based on client/server side

cle tan
Ranch Hand

Joined: Jun 11, 2012
Posts: 68



process1Submit is set when the submit button is clicked on the previous page, I want the user to redirect to the previous page to press submit and not just go to the next page by changing url without pressing submit button

And I wish to check using client and server side, is there anyway to check whether javascript is enabled in the browser
This is because if i just put throw new Exception, when javascript is enabled, it will throw the error in the error page.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check if user has clicked on submit button based on client/server side