Hi All,

I created a very simple web app with a single jsp, with following
configuration in the deployment descriptor.

  <servlet>
        <servlet-name>login</servlet-name>
        <jsp-file>/index.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
        <servlet-name>login</servlet-name>
        <url-pattern>/login.do</url-pattern>
    </servlet-mapping>

Then I deployed this web app in three severs. Then accessed
/sample-webapp/login.do and got following.

*Tomcat*
URL: http://localhost:8080/sample-webapp/login.do
index.jsp was successfully rendered in the browser.

*Carbon server with carbon version 4.2.0*
URL: http://localhost:9763/sample-webapp/login.do
Got HTTP 404 error

*Carbon server with carbon version 4.3.0*
URL: http://localhost:9763/sample-webapp/login.do
index.jsp was successfully rendered in the browser.

Here, when the jsp was mapped to a url pattern via web.xml it worked as
expected in both tomcat and the carbon sever with carbon version 4.3.0.
But it's not working on carbon 4.2.0

Does anybody know the reason for this behaviour ?

Thanks,
Malithi.


-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to