aspose file tools
The moose likes Struts and the fly likes Struts and jsp pages behind WEB-INF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts and jsp pages behind WEB-INF" Watch "Struts and jsp pages behind WEB-INF" New topic
Author

Struts and jsp pages behind WEB-INF

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
HI all,

I would like to place my jsp pages behind WEB-INF and use struts-config.xml to redirect them.
If my jsp are located at WEB-INF/jsp/%.jsp and I want to use the global forward to another page how do I do it. I am always getting page not found.

I currently have path="/jsp/somePage.jsp"

but the url it creates is
localhost/my-site/jsp/somePage.jsp

Any pointers would be great thank you
david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
it is ok I found it
thank you
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Hi David, a small tip, people love it when you post what you found, so they don't make the same mistake. I'm glad you fiund the problem though
 
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: Struts and jsp pages behind WEB-INF
 
Similar Threads
Protecting JSPs behind WEB-INF and application modules
Hiding jsp pages behind WEB-INF
How to access web pages on internet using tomcat or other webserver?
Should we put JSP in WEB-INF
Applets and tomcat