wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes problem in javascript output from http.response after creating external javascript file-jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem in javascript output from http.response after creating external javascript file-jsp" Watch "problem in javascript output from http.response after creating external javascript file-jsp" New topic
Author

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

supriya riya
Ranch Hand

Joined: Feb 23, 2009
Posts: 41
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

Joined: Jan 10, 2002
Posts: 60785
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

And, "surpriya java", please check your private messages for an important administrative matter. Again.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem in javascript output from http.response after creating external javascript file-jsp
 
Similar Threads
Notify Users before session expires
Problem with http request and external javascript
How to pass a javascript variable on a jsp to a servlet
Ajax related changes in IE 7 or 8
Need Help With Dynamic text box in JSP