Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Not getting bean values inside IE, In firefox working fine  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Not getting bean values inside IE, In firefox working fine  " Watch "Not getting bean values inside IE, In firefox working fine  " New topic
Author

Not getting bean values inside IE, In firefox working fine

bunty india
Greenhorn

Joined: Dec 17, 2007
Posts: 3
Hi,

I am using Struts.
I have made a JSP page in which i am passing a value



In LoginAction (that extends Action) I am printing the value of this field.

When I run this in Firefox it is prinitng the value fine.
But when I run the same page in IE it prints blank
Can you tell me why..
Please Help .....

Following are the files





LoginAction.java



ActionForm



------------------------<br />Knowledge Is Power Share It
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
It is hard to imagine what in your action or form would cause differences between browsers. I would suspect something in your JSP. Are you using any JavaScript? Another difference could be with browser caching. I see that you are using session scope. I am not sure if that would play into your issue.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not getting bean values inside IE, In firefox working fine
 
Similar Threads
Struts and database connection
Struts and database connection
struts database
Setting HttpSession Attribute Not Working (Struts)
form bean doesn't come into picture