-
1. Re: Why don't jsp changes show up
periklis_douvitsas Jul 19, 2012 3:26 AM (in response to dlbarron28)Hi,
can you give some more details.
What version of jboss are you using?
Do you precompile your jsp?
Thanks
-
2. Re: Why don't jsp changes show up
dlbarron28 Jul 19, 2012 8:23 AM (in response to periklis_douvitsas)I'm using version 5.1. The configuration has not been changed, so if 5.1 precompiles jsp's by default than I am precompiling. How would I find out for sure?
Thanks
David
-
3. Re: Why don't jsp changes show up
periklis_douvitsas Jul 19, 2012 8:56 AM (in response to dlbarron28)In order to see the changes in jsp files
I think you have to go to "server\default\deployers\jbossweb.deployer" (this is the default deploy, go to the directory that you deployed your applications)
Then, open the web.xml file and go to the section that says
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
Add a section like this
<init-param>
<param-name>checkInterval</param-name>
<param-value>1</param-value>
</init-param>in this file says that the checkinterval is
<!-- checkInterval If development is false and checkInterval is -->
<!-- greater than zero, background compilations are -->
<!-- enabled. checkInterval is the time in seconds -->
<!-- between checks to see if a JSP page needs to -->
<!-- be recompiled. [0]
Another thing. How do you change the jsp file?Do you go inside the war and change the jsp there?Do you make the war file again and redeploy it?
Hope this helps
-
4. Re: Why don't jsp changes show up
dlbarron28 Jul 19, 2012 9:02 AM (in response to periklis_douvitsas)I'll give that a try.
I am deploying my web applications from exploded directories instead of from a war file. To change the jsp I open it in an editor, make the changes and save.
Will I need to "touch" web.xml to get the changes to show or will this take care of it?
Thanks
-
5. Re: Why don't jsp changes show up
periklis_douvitsas Jul 19, 2012 9:09 AM (in response to dlbarron28)let's hope that you do not have to change the web.xml !Give it a try and let me know
Also, when you test it, refresh your browser (control+F5) or clear the cache in order to make sure that your browser does not cache anything.
-
6. Re: Why don't jsp changes show up
dlbarron28 Jul 19, 2012 9:19 AM (in response to periklis_douvitsas)Works like a charm!
Thanks, that's been puzzling me for a while.