This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem changing jsp property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem changing jsp property" Watch "Problem changing jsp property" New topic
Author

Problem changing jsp property

ods gel
Greenhorn

Joined: Oct 09, 2007
Posts: 8
Hi,
I had in the jsp file tag input:

and since it didn't match the bean property: contactName I have changed it to

I have deployed and restarted the server, but still it seems to be that the server doesn't catch the change and doesn't care about contactName (it returns null while it's not).
I have also restarted the computer.
What else can I do to have it notice the change?
Phani Kumar
Greenhorn

Joined: Dec 18, 2006
Posts: 21
Which server you are using,

if you are using weblogic with some managed servers, Then you have to monitor the config.xml ( if you are deploying .ear file).

tell me what type of deployment you are going for?


Thanks and best regards,
Phanikumar Y.
ods gel
Greenhorn

Joined: Oct 09, 2007
Posts: 8
apache- tomcat
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Just about every web or application server will detect jsp changes dynamically (I know that Tomcat does). I suspect that you are not changing the correct file or you might not be changing it in the correct location. There is a slight chance that it is a browser caching issue. In both IE and Firefox, pressing CTRL + F5 will force a clean refresh.

- Brent
 
jQuery in Action, 2nd edition
 
subject: Problem changing jsp property
 
Similar Threads
java.lang.Illegal Argument Exception: argument type mismatch
Strange IllegalArgumentException: No bean specified
populating value in formbean
why submit the form when enter the text field-- Pls Help
How do I extract a value of a textfield.