[Carbon-jira] [jira] (CARBON-12739) Tomcat is not generating servlet classes for jsp files which are mapped in webXml

Pradeep Fernando (JIRA) jira at wso2.org
Thu Apr 19 15:08:32 PDT 2012


     [ https://wso2.org/jira/browse/CARBON-12739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pradeep Fernando updated CARBON-12739:
--------------------------------------

    Attachment: orbit.patch
                kernel.patch

> Tomcat is not generating servlet classes for jsp files which are mapped in webXml
> ---------------------------------------------------------------------------------
>
>                 Key: CARBON-12739
>                 URL: https://wso2.org/jira/browse/CARBON-12739
>             Project: WSO2 Carbon
>          Issue Type: Bug
>          Components: Carbon Core
>    Affects Versions: 4.0.0
>            Reporter: Kishanthan Thangarajah
>            Assignee: Pradeep Fernando
>            Priority: Highest
>             Fix For: 4.0.0
>
>         Attachments: kernel.patch, orbit.patch, sample2.war, sample3.war
>
>
> We can map jsp files to servlets in webXml instead of servlet classes as follows.
>    <servlet>
>      <servlet-name>foo</servlet-name>
>      <jsp-file>/bar.jsp</jsp-file>
>    </servlet>
> But when we map jsp file like this to servelts in webXml, and when we access the foo context, tomcat is saying it cannot find the resource. Further digging in we can find that currently tomcat is not generating the java class for the mapped jsp's. Debugging at tomcat level revealed that we are using an old Jasper library found in plugins directory. But tomcat need the jasper library which compatible with it. So we have to use the tomcat jasper dependency to make this work. Also make sure that other jsp's are getting compiled after this change.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Carbon-jira mailing list