This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Made a JSP page which is using a bean. It works. But when we modify that bean changes doesn't reflect on JSP page. Our platform is Linux, using Jserv of Apache. Once we stop Jserv and again start it the changes done in bean gets reflected on JSP page. Thanks in advace for providing solution.
hi, i think u must have written all the implementation in the init() part of the program. NOTE init() gets executed only once that is when the first client request to the servlet. That is why what ever changes u make in the bean won't be affected .
I don't know about jserv, but i was trying a somewhat similar thing with jswdk and got the same problem. U see the servlet/jsp engine caches the classes required for a particular request and then for subsequent requests uses the cached copy. Now problem is even if u make changes, the newer class isn't loaded dynamically and cached copy is used. Thus,u do not see any changes. The solution is only to restart the engine, but, i guess there must be some solution in the jserv module admin that allows u to load a class at runtime and not used cached copy. Sorry, can't help u with that !! Hope i was of some help. -Mohammed Made a JSP page which is using a bean. It works. But when we modify that bean changes doesn't reflect on JSP page. Our platform is Linux, using Jserv of Apache. Once we stop Jserv and again start it the changes done in bean gets reflected on JSP page. Thanks in advace for providing solution.