Reading the
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment page, it seems
that suffixing an exploded directory with ".war" is mandatory.
Ok for that point.
But still, I do no understand why when I'm trying to map a servlet plus a JSP it
doesn't work on my JBoss instance, while the same file with only the JSP indicated
works...
The "web.xml" which works :
<?xml version="1.0"?>
| <web-app version="2.4"
|
xmlns="http://java.sun.com/xml/ns/j2ee"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <servlet>
| <servlet-name>ClientTest</servlet-name>
| <jsp-file>/client.jsp</jsp-file>
| </servlet>
| </web-app>
The one which doesn't work... :
<?xml version="1.0"?>
| <web-app version="2.4"
|
xmlns="http://java.sun.com/xml/ns/j2ee"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <servlet>
| <servlet-name>ClientTest</servlet-name>
| <jsp-file>/client.jsp</jsp-file>
| </servlet>
| <servlet>
| <servlet-name>ControlerServlet</servlet-name>
|
<servlet-class>com.mydomain.myappli.common.ControlerServlet</servlet-class>
| </servlet>
| </web-app>
Regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979110#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...