Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

onsubmit doesn't work with Tomcat  RSS feed

 
Kristof Camelbeke
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have created a jsp which uses javascript :

When I run it under a Weblogic server the validation of CheckForm works... But when I run it under Tomcat it doesn't do any validation at all !! Has anybody a clue what could be the problem... Thanks !
Kristof
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the page is being correctly sent to the browser, there's got to be some other variable at work here. Client-side JavaScript is handled completely by the browser and is orthogonal to the server that delivered the page.
First step should be to make sure that identical HTML is begin sent to the browser by each server. If they are the same, then the choice of server cannot be the problem.
hth,
bear
P.S. Be especially sure to check the format of the <form> tag. Since it is being generated by a custom tag, it could be suspect.
[ March 03, 2003: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!