• Post Reply Bookmark Topic Watch Topic
  • New Topic

StringTokenizer and null pointer

 
Karl Green
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been working on a simple JSP. When I run it using a Blazix web server on my development box. The app runs just fine when I move it up to the web server running Tomcat, I get a null pointer on the StringTokenizer class. Why will this work on one and not the other? Is there something that needs to be done to the Tomcat server?
Thanks,
Karl
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Point 1: StringTokenizer is part of the core Java classes and your choice of servlet container is immaterial. Just why you are getting a null pointer execption requires more information than you have provided.
Point 2: If you are deploying on Tomcat, why are you not developing on Tomcat?
bear
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what he said above but also different containers may use different java versions although null pointer isn't one i would expect from this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!