Skip to Content
0
Former Member
Jan 11, 2006 at 02:30 PM

URL to call JSP in EAR file

108 Views

Dear All,

I have created a WAR file which contains a JSP. Then I created a EAR file and included the WAR in the EAR. Then I deployed that in WAS.

My problem is that I cant invoke the JSP. Basically the URL which I have given is not working.

Application.xml

<?xml version="1.0" encoding="UTF-8"?>

http://java.sun.com/dtd/application_1_3.dtd">

<application>

<display-name>TestEAR</display-name>

<description>EAR description</description>

<module>

<web>

<web-uri>TestWAR.war</web-uri>

<context-root>/TestWAR</context-root>

</web>

</module>

</application>

Trried URL:

<b>http://servername:PORT/TestWAR/TestJSP.jsp</b>

Any ideas?

Kind regards,

Sreejesh