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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: Struts and jsp pages behind WEB-INF