• 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

Tiles and Context Path is all messed up

 
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,
We have a pagination tag that is responsible for creating links at the bottom of the page for viewing large amount sof records.

The tag is responsible for generating the url's that are written to the page. It uses HttpServletRequest.getContextPath() to retreive the current context. In our development environment this works as expected and returns the correct context. However, in our production environment it returns the following - WEB-INF/jsp/template.jsp. This is not correct. As it works in development I think it must be a configuration setting in the tomcat production server.

Would anyone know of a reason why this would happen and if there is a setting that I need to adjust?

thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic