How to force Jetty to recompile jsp servlets

I am running a subsonic-5.2.1 media server on a ubuntu 14.04.2 server that uses Jetty (not sure about the version). I added a custom jsp file to the jtest.jsp project and then changed the web.xml file to execute like a servlet and it looks like

<servlet>
    <servlet-name>jtest</servlet-name>
    <jsp-file>/WEB-INF/jsp/wap/jtest.jsp</jsp-file>
    <init-param>
        <param-name>checkInterval</param-name>
        <param-vale>1</param-vale>
    </init-param>
    <load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
    <servlet-name>jtest</servlet-name>
    <url-pattern>/kw.get</url-pattern>
</servlet-mapping>

      

I can run it by going to mysite / kw.get, however when I edit the jsp file it still displays the same thing. I believe this is because it does not recompile. I tried to add checkInterval parameter which doesn't work, I removed the cache in

/var/subsonic/jetty/4428/jsp/org/apache/jsp/WEB_002dINF/jsp 

      

and restarted the subsonic service a few times (which restarts the jetty server) but it still shows my source code.

I'm pretty bad stuck and it will be very helpful for us to help!

+3


source to share


1 answer


Erm .....

     <param-vale>1</param-vale>

      

What is "vale"?



I think you mean

     <param-value>1</param-value>

      

+1


source







All Articles