• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

very unusual null pointer error in struts, need help

 
Cali Mako
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am fairly new to the struts framework. The problem I am running into is that on one of my pages, when I submit a form to an action, the server changes my url from localhost to 127.0.0.1, and it seems like i am losing my session information because i get a null pointer error on the resulting page. if I use the 127.0.0.1 url, the application works fine, anything else, the server changes the url back to 127.0.0.1 and I get a null pointer error. Anyone run into this problem or have any ideas why this is doing this?
Here are some qwarks with this situation. The actions that I invoke that are simple redirects and fowards via a link, maintain the url. It's only when I submit an action form to interact with the db, that I run into the server changing my url.
in our unix environment, everything works just dandy, these problems only happen in our Windows environment.
my current set up is as follows
Jrun 3.1 server
JBuilder 7.0
Windows 2000
and Struts 1.1
thanks for the help
cm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic