File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56167
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56167
    
  13

And, "surpriya java", please check your private messages for an important administrative matter. Again.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem in javascript output from http.response after creating external javascript file-jsp
 
Similar Threads
Need Help With Dynamic text box in JSP
Notify Users before session expires
Ajax related changes in IE 7 or 8
Problem with http request and external javascript
How to pass a javascript variable on a jsp to a servlet