Engine JSPs compilation cache

View: New views
3 Messages — Rating Filter:   Alert me  

Engine JSPs compilation cache

by Lorenzo Patocchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I wanted to customize the "Reset date" behavior  in Jahia interface and located the JSP containing the piece of code here:

...\Jahia\jsp\jahia\engines\shared\date_field.jsp
 
but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased tomcat/work content but still it get not recompiled.

Any idea how can I tell tomcat to clean compilation cache or rebuild all JSPs?

Thank you  a lot !

Lorenzo
-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland


_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

smime.p7s (4K) Download Attachment

Re: Engine JSPs compilation cache

by Werner A. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lorenzo,

This jsp is precompiled in tomcat. You must remove follow entries from the .../WEB-INF/web.xml

 <servlet-mapping>
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
        <url-pattern>/jsp/jahia/engines/shared/date_field.jsp</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
        <servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-class>
    </servlet>

After that the tomcat will recompile the jsp with your changes.

regards
Werner



2008/6/26 Lorenzo Patocchi <lorenzo.patocchi@...>:
Hello,
I wanted to customize the "Reset date" behavior  in Jahia interface and located the JSP containing the piece of code here:

...\Jahia\jsp\jahia\engines\shared\date_field.jsp
 
but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased tomcat/work content but still it get not recompiled.

Any idea how can I tell tomcat to clean compilation cache or rebuild all JSPs?

Thank you  a lot !

Lorenzo
-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland

_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list



_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Re: Engine JSPs compilation cache

by Lorenzo Patocchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Werner,
works perfectly.

cheers,
Lorenzo

Werner wrote:
Hi Lorenzo,

This jsp is precompiled in tomcat. You must remove follow entries from the .../WEB-INF/web.xml

 <servlet-mapping>
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
        <url-pattern>/jsp/jahia/engines/shared/date_field.jsp</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
        <servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-class>
    </servlet>

After that the tomcat will recompile the jsp with your changes.

regards
Werner



2008/6/26 Lorenzo Patocchi <lorenzo.patocchi@...>:
Hello,
I wanted to customize the "Reset date" behavior  in Jahia interface and located the JSP containing the piece of code here:

...\Jahia\jsp\jahia\engines\shared\date_field.jsp
 
but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased tomcat/work content but still it get not recompiled.

Any idea how can I tell tomcat to clean compilation cache or rebuild all JSPs?

Thank you  a lot !

Lorenzo
-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland

_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list



_______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi@... - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland


_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

smime.p7s (4K) Download Attachment