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

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

cle tan
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic