This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes very unusual null pointer error in struts, need help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "very unusual null pointer error in struts, need help" Watch "very unusual null pointer error in struts, need help" New topic
Author

very unusual null pointer error in struts, need help

Cali Mako
Greenhorn

Joined: Jan 16, 2003
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: very unusual null pointer error in struts, need help
 
Similar Threads
Action[/emaillayout] does not contain specified method (check logs)
request becomes null in unix
Funny error
Struts form is null
call Action from javascript