This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP and Java Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

JSP and Java Script

Govind Rajith
Greenhorn

Joined: Feb 15, 2007
Posts: 12
Hello Friends,
I have put all my jsp's in "/WEB-INF/jsp/.." To access these jsp i have used an index page in Web Content which redirects to those jsp's. In one of the jsp's i have written a javascript code for a pop up window. Now since the jsp is in WEB-INF, its not being fetched in that window. If i place them in Web Content then it works. How can i fetch it from WEB-INF.
Can anyone help me?

Thanks in advance
Govind
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

"Govind Rc",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


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

Joined: Jan 10, 2002
Posts: 60732
    
  65

Already extensively discussed here.
 
 
subject: JSP and Java Script
 
Similar Threads
is WEB-INF and web-inf same??
Accessing jsp's directly
redirect all jsp to login page only
Include Jsp in Jsp
JSP views rendering 0 bytes and HTTP 200