In the /WEB-INF/web.xml
of your application u must have
index.jsp
to describe wich is the first page open when someone access your application
Lost World wrote:
You cannot access the jsp like
http://localhost:8080/MyFirstPage.jsp
You should use Sturts-config to map your action to
that JSP
You cannot access the jsp like
http://localhost:8080/MyFirstPage.jsp
You should use Sturts-config to map your action to
that JSP page. Then you should access the page which
looks similar to http://localhost:8080/FirstAction.do
--- [EMAIL PROTECTED] wrote:
> Yes, this is correct..
>
Yes, this is correct..
ARe you requesting by typing in the browser
http://localhost:8080/MyFirstStrutsPage.jsp?
--- [EMAIL PROTECTED] wrote:
>
> Hi There,
> I've created MyFirstStrutsPage.jsp:
> <%@ page language="java" %>
> <%@ taglib uri="/struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="/struts-html.tld" prefi
ot;WEB-INF" directory,
provided element points to it. Just check out one of
the sample struts application.
Vinod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 9:57 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat Struts => Prob
Hi There,
I've created MyFirstStrutsPage.jsp:
<%@ page language="java" %>
<%@ taglib uri="/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/struts-html.tld" prefix="html" %>
<%@ taglib uri="/struts-logic.tld" prefix="logic" %>
Test Struts Page
and my web.xml is as followed:
http