aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

JSP and Java Script

Govind Rajith

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
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60055

"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.

JavaRanch Sheriff

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

Joined: Jan 10, 2002
Posts: 60055

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