Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 76
  • 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.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!