I've been trying to use JSTL to write JSP pages .However I noticed something,whenever I make any changes to my page , try to save and run the page without restarting the page throws an error as below.
Thanks for replying Bear!
Hmm, but somehow I face the same error each time I try to run the page without restarting. What further information could help you analyze the case better ? I'm attaching the entire stacktrace below, if that's of any help.
Paul Clapham wrote:Curiously, the error seems to be thrown when the container is trying to destroy the old version of the JSP...
or am I guessing wrong about what is happening there?
Old version of the jsp?I'm sorry but I'm completely lost on that one :x
However, I did notice from the stacktrace that the error is consistent, ie. when I try to run a different page under similar conditions , w/o restarting the server, I get the same error with the destroy method of the auto generated servlet of that page .
My vague guess about the problem coming from jar files, seemed to be true . Earlier, I was referencing three jar files related to jstl . jstl.jar, jstl1.1.2.jar and standard.jar however when I removed the reference to jstl 1.1.2 .jar , the problem seems to have solved itself.
Hope this helps anyone who faces the same problem in the future.
subject: Is it necessary to restart the server each time before running , when using JSTL?