This content has been marked as final.
Show 3 replies
-
1. Re: How to execute JSP and Servlet on Jboss/Tomcat and Apach
mkithany Aug 27, 2002 4:38 PM (in response to mkithany)I have attached the Directory Structure -
Manoj
manojkithany@yahoo.com -
2. Re: How to execute JSP and Servlet on Jboss/Tomcat and Apach
torreblanca Aug 27, 2002 8:18 PM (in response to mkithany)Manoj,
The directory structure is :
MyApp\src\login.jsp
MyApp\src\login.java (Servlet)
MyApp\src\login.class (Servlet)
MyApp\src\WEB-INF\classes\login.class (Servlet)
MyApp\src\WEB-INF\web.xml
MyApp\src\login.war
MyApp\META-INF\application.xml
MyApp\login.war
MyApp\login.ear
Run your application with
http://[IP ADDRESS SERVER]:8080/[context-root defined in your application.xml]/login.jsp -
3. Re: How to execute JSP and Servlet on Jboss/Tomcat and Apach
torreblanca Aug 27, 2002 8:37 PM (in response to mkithany)Manoj,
I forgot something :
WAR file creation :
You need to change to directory MyApp\src
and use the following instruction :
jar -cvfM login.war WEB-INF login.jsp
Regards
Javier