Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in javascript output from http.response after creating external javascript file-jsp

 
supriya riya
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends.My problem is my java script functions are not working properly in index.js file.i am getting alert boxes given in .js file but the AJAX http.response is null..but all my function's that is database etc are working properly.Before making external script file everything was working fine,but after i created different .js file ,its not working.
my .js file is in js folder in web folder .And my index.jsp in web folder.

My index.jsp where i call javascript file.


calling functio in index.js


Index.js file

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A few things first:

Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.

Also, please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And, "surpriya java", please check your private messages for an important administrative matter. Again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic