Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

cle tan
Ranch Hand
Posts: 73
  • 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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!