JBOSS - 2.0-Final
Tomcat - 3.2-b7
Platform - winNT4.0
I am able to run the interest example using the EJB servlet just fine. But,
when I try to run this with the JSP below, I get the 404 error. JBOSS cannot
find my JSP. I run this example with this URL,
http://localhost:8080/jsp/interest.jsp. My interest.jsp sits under /jsp in
the examples.war file. I am running this with Tomcat and JBOSS in the same
VM. Any suggestions?
My application.xml:
<application>
<display-name>My application</display-name>
<module>
<web>
<web-uri>examples.war</web-uri>
<context-root>/jsp</context-root>
</web>
</module>
<module>
<ejb>interest.jar</ejb>
</module>
</application>
My interest.jsp Code:
<!-- A JSP to test the interest example -->
<%@ page import="com.web_tomorrow.interest.*" %>
<jsp:useBean id="mybean" scope="page" class="Interest" />
<html>
<head>
<title>Calculate Bean</title>
</head>
<%! double amt = 1000.0;
double rate = 10.0;
double term = 2.0; %>
<B>The result is: </B> <%= myBean.calculateCompoundInterest(amt, rate, term)
%>
</html>
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]