File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem changing jsp property" Watch "Problem changing jsp property" New topic

Problem changing jsp property

ods gel

Joined: Oct 09, 2007
Posts: 8
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

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

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
I agree. Here's the link:
subject: Problem changing jsp property
It's not a secret anymore!