• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript not working, please help me out

 
svr
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am using netbeans3.3.2 for java and jsp coding. Tomcat3.2 as server. I have used javascript validation in JSP. There is no error in my javascript coding. But I have identified that the problem is with jsp compilation. I have stored the JSPs in a folder named JSP instead of WEB-INF. When I right click the JSP folder , an option is there ' Build ALL', when I click Build All only the HTML code in jsp is changing , the javascript is not working. But when I compile mere the jsp I am working . it doesn't show any change. It changes only when I give the Build All !
I couldn't identify what the problem is ! Is this a problem with netbeans settings or the tomcat? !
Hope this is a clear explanation. Please feel free to ask any questions.
Thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross post. I am going to leave this one here since it applies here more then other in HTML and JavaScript.
 
svr
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, thanks, now its working !
but it submits the form after clicking the OK of alert !
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch svr!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender
[ January 06, 2004: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now as to your last question:
but it submits the form after clicking the OK of alert !

Since this is unrelated to your original question, it's best to start a new topic for new questions. And this one, in fact, probably belongs in the HTML/Javascript forum rather than here in JSP -- and with a lot more details as to what problem you are having. (But as Eric pointed out, you should pick one forum to post your question in. Please do not cross-post the same question in more than one forum).
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic