Using Jetty engine, when changes are made to a bean, JSP still displays old values unless engine is restarted. Is it possible to use bean without restart or what's the correct way of using them
TIA!
-
How to see changes to a bean used in JSP (4 messages)
- Posted by: Blind B
- Posted on: November 12 2002 15:09 EST
Threaded Messages (4)
- How to see changes to a bean used in JSP by Web Master on November 13 2002 09:16 EST
- How to see changes to a bean used in JSP by Blind B on November 15 2002 05:56 EST
-
How to see changes to a bean used in JSP by Web Master on November 15 2002 08:18 EST
- How to see changes to a bean used in JSP by Blind B on November 16 2002 03:19 EST
-
How to see changes to a bean used in JSP by Web Master on November 15 2002 08:18 EST
- How to see changes to a bean used in JSP by Blind B on November 15 2002 05:56 EST
-
How to see changes to a bean used in JSP[ Go to top ]
- Posted by: Web Master
- Posted on: November 13 2002 09:16 EST
- in response to Blind B
Try "touching" the JSP file so it gets recompiled. -
How to see changes to a bean used in JSP[ Go to top ]
- Posted by: Blind B
- Posted on: November 15 2002 05:56 EST
- in response to Web Master
Unfortunately "touching" or even changes made to JSP
won't have any affect (Jetty/4.1, Win2K, SunJDK-14101)
I simply assig a string property in bean (not from jsp) and request it in JSP. Value is displayed on web page, but when I change the property and recompile the class, old values are displayed on web page. Thou changes to JSP are visible, so JSP is recompiled. -
How to see changes to a bean used in JSP[ Go to top ]
- Posted by: Web Master
- Posted on: November 15 2002 08:18 EST
- in response to Blind B
Blind B
Are you certain your jsp is recompiling? If so, try removing your server's cached servlet file from its temp working directory. There is not reason why the server should not pick up the new class after that. -
How to see changes to a bean used in JSP[ Go to top ]
- Posted by: Blind B
- Posted on: November 16 2002 03:19 EST
- in response to Web Master
Unfortunetly I'm sure that JSP is recompiling. If I make a typo, I get compiler error, after correction, all fine except that changes to bean class are not visible. I deleted the cache, files(java,class) reappeared after web-browser refresh
I seems to me that You have some expirience with it. Are You using Jetty as well? Perhaps this techinque works in Tomcat(I haven't tried, I've read that issues are the same)
Thanks for Your input, Notsew