-
1. Re: Application Access from jboss-5.1.0 GA
peterj Sep 11, 2012 9:46 AM (in response to jaganmodulla)Exactly where in your war file is InternalLogin.jsp located?
What are the contents of your web.xml file? Are there any mappings or other settings that might be causing this issue?
-
2. Re: Application Access from jboss-5.1.0 GA
jaganmodulla Sep 11, 2012 10:24 AM (in response to peterj)Hi,
Thanks for your reply, When build is making war file moving web folder which is having InternalLogin.jsp into war.
Here my web.xml code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<context-param>
<param-name>CONTEXTROOT </param-name>
<param-value>/ee</param-value>
</context-param>
<servlet id="Servlet_0">
<servlet-name>HostingController</servlet-name>
<servlet-class>emagia.controller.HostingController</servlet-class>
<init-param>
<param-name>HOST1</param-name>
<param-value>EMAGIA</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping id="ServletMapping_0">
<servlet-name>HostingController</servlet-name>
<url-pattern>/servlet/HostingController</url-pattern>
</servlet-mapping>
<session-config id="SessionConfig_1">
<session-timeout>60</session-timeout>
</session-config>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/web/jsp/error.jsp</location>
</error-page>
<jsp-config>
<taglib id="TagLibRef_1">
<taglib-uri>http://jakarta.apache.org/taglibs/i18n-1.0</taglib-uri>
<taglib-location>/WEB-INF/taglibs-i18n.tld</taglib-location>
</taglib>
<taglib id="TagLibRef_2">
<taglib-uri>http://taglib.emagia.com/taglibs/emagia</taglib-uri>
<taglib-location>/WEB-INF/taglibs-emagia.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
Regards
Jagan.
-
3. Re: Application Access from jboss-5.1.0 GA
peterj Sep 11, 2012 10:44 AM (in response to jaganmodulla)Let me see if I understand correct. Youare saying that the JSP is in the WAR file at:
web/InternalLogin.jsp
Is that correct? If so, the URL you need to enter is: http://hostname:8080/ee/web/InternalLogin.jsp
-
4. Re: Application Access from jboss-5.1.0 GA
jaganmodulla Sep 11, 2012 11:15 AM (in response to peterj)Hi,
yes exactly it is under web/InternalLogin.jsp
Tried to access as you mentioned http://hostname:8080/ee/web/InternalLogin.jsp
But still getting same issue.
Regards
Jagan.
-
5. Re: Application Access from jboss-5.1.0 GA
peterj Sep 11, 2012 3:52 PM (in response to jaganmodulla)If you are correct regarding the jsp location, than that URL should work. Do you have only one war file in your EAR?
List out the contents of your war file and post that:
jar -tl xxx.war
Also, when you use http://host:port/ee, and then you later clcik on various links or buttons to get to other pages, what URL is dsiplayed in the brower's address field?