• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts and jsp pages behind WEB-INF

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is ok I found it
thank you
 
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic