• Post Reply Bookmark Topic Watch Topic
  • New Topic

application. getInitParameter()  RSS feed

 
Trevor Price
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I test my application locally, I can pull variables I've set in my web.xml file under the <context-param> sections and put them into my JSPs, e.g.

However, when I ftp my WAR file to my hosted site, the same getInitParameter() method call returns null. What am I doing wrong?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JSP forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!