Bookmark Topic Watch Topic
  • New Topic

script values changing upon deployment

 
Trevor Price
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
I originally posted this as a beginner Java question, but I guess it's really JSP specific. Nobody responded, so I thought maybe my information was incomplete. I've made it more informative.

Anyway, 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 onto my hosted site, the same getInitParameter() method call returns null. What am I doing wrong? It is the cheapest Java hosting I could find, so it's a shared JVM and IP, etc. Is this having an effect on the application object? I'd really appreciate a response and please pardon the re-post.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Your post has already been moved to this forum. Please do not post the same question more than once. It wastes people's time when multiple redundant conversations take place.
[ May 30, 2006: Message edited by: Bear Bibeault ]
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!