| Author |
I do not know how to call a JSP inside an ear file
|
Jose Alvarez de Lara
Ranch Hand
Joined: May 10, 2008
Posts: 92
|
|
I have deployed an ear file with an ejb into a jar file and a jsp into war file. My problem is that now i do not know how to call my ouput jsp file. I'm using JBoss 4.0.0: I�m talking abot de example Adder maybe anyone knows Waiting for the answer, thank you in advance PS: Excuse my english but I from Spain and I have no pratice
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
Welcome to JavaRanch Can you post the contents of your application.xml file and the name of the jsp, you want to invoke?
|
[My Blog] [JavaRanch Journal]
|
 |
Jose Alvarez de Lara
Ranch Hand
Joined: May 10, 2008
Posts: 92
|
|
application.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'> <application> <display-name>MyAdder</display-name> <description>This is the implementaion of the Adder application</description> <module> <ejb>adder-ejb.jar</ejb> </module> <module> <web> <web-uri>adder-web.war</web-uri> <context-root>/</context-root> </web> </module> </application> And the jsp is named beanClient.jsp, that means it is the client of the EJB in the jar file
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
|
Try this http://localhost:8080/beanClient.jsp (assuming that beanClient.jsp is at the root of the adder-web.war file).
|
 |
Jose Alvarez de Lara
Ranch Hand
Joined: May 10, 2008
Posts: 92
|
|
Got it. Thanks a lot
|
 |
 |
|
|
subject: I do not know how to call a JSP inside an ear file
|
|
|