File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes I do not know how to call a JSP inside an ear file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "I do not know how to call a JSP inside an ear file" Watch "I do not know how to call a JSP inside an ear file" New topic
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: 9932
    
159

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: 9932
    
159

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I do not know how to call a JSP inside an ear file
 
Similar Threads
How to use jar in EAR in Web project ?
Creating & deploying .ear files in WebLogic 5.1
WSAD and CVS
log4j.properties file outside application
How to run client Program using JSP