Originally posted by Bear Bibeault:
"Nope!" doesn't give any more useful information (and is a tad rude). You haven't shown us what URLs you are using, where the JS files are located, what resources you are forwarding to, or any other information that will help us help you.
Originally posted by Bear Bibeault:
"Nope!" doesn't give any more useful information (and is a tad rude). You haven't shown us what URLs you are using, where the JS files are located, what resources you are forwarding to, or any other information that will help us help you.
I think this message might be too long, but bear with me.
Structure of my app:
Rating (application directory)
1. JavaSource
1.1
Java files in package structure
2. WebContent
2.1 js
2.1.1 javascript files (the javascript files reside here)
2.2 jsp
2.2.1 jsp files (jsp files, parent, child windows and other jsps)
2.3 css
2.3.1 the style sheet files (.css)
Parent Window:
parent.jsp
1. Has a link which when clicked (onclik method) calls a method from the library included as below.
<script type="text/javascript" src="../js/ratingsys.js"></script>
This part works absolutely fine.
child.jsp
3. ratingsys.js
My problem is with the child.jsp (when I open child.jsp from parent.jsp onclick method ratingsys.js loads properly and the javascript onload method transferdata executes properly). This child.jsp when submitted calls a servlet which after some processing does a RequestDispatcher.forward from the servlet to child.jsp again. But this time the javascript onload method transferdata does not execute. I see the following message in the firebug (firefox add on), "1Error 404: No target servlet configured for uri: /js/ratingsys.js")
But this time the rating sys
Please let me know if you need more details. Thanks in advance
[ July 26, 2008: Message edited by: sri pathi ]
[ July 26, 2008: Message edited by: sri pathi ]