on 01-11-2006 2:30 PM
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"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "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
Hi,
The Context Root mapping can be checked here, please remove the '/' in the context root mapping and redeploy the EAR.
<context-root>TestWAR</context-root>
Regards,
S.Divakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.