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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 61412
    
  67

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: 61412
    
  67

And, "surpriya java", please check your private messages for an important administrative matter. Again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in javascript output from http.response after creating external javascript file-jsp