Joey, Most the time that I have seen this problem in AG373 it is because there is problem finding the dtd for the struts config file, therefore the controller servlet won't be setup correctly. Is there any errors on your appserver saying that it can't find the struts-config_1_0.dtd. Often times putting that file in the bin directory under your install will solve this problem.
Jeff -----Original Message----- From: Wolfgang Frank [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 9:00 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Thanks ....... AgStream & Struts Hello joey, thanks for your fast reply in the struts-user group. I made a very minimal example .... maybe you can figure out with you knowledge where I went wrong ..... I just have to jsps and one Action .... the link on the first jsp fires the action, which simply forwards to the second jsp. I deploy with the command: silvercmd deploywar localhost eTest TestWar.war -f deployWAR.xml -o Deployment looks good and there are no exceptions. :-) Afterwards i go to: http://localhost/eTest/testapp/index.jsp So far so good .. i can see the Link and if i move my mouse over the link i see in the statusbar that: http://localhost/eTest/testapp/testAction.do is to be fired ........ ok ........ i do it and then ...... 1. IExplorer : Error 400 Bad Request 2. Netscape: Invalid path /testAction was requested Maybe itīs a bug in the Ag373 version? ok . Thanks in advance if you find the time to look at my problem or if you can help me further ... Greets from germany Wolfgang The Deploymentplan deployWAR.xml ....... ---------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE warJarOptions PUBLIC "-//SilverStream Software, Inc.//DTD J2EE WAR Deployment Plan//EN" "deploy_war.dtd"> <?AgMetaXML 1.0?> <warJarOptions isObject="true"> <warJar isObject="true"> <isEnabled type="Boolean">True</isEnabled> <warJarName>examples.war</warJarName> <deployToFilesystem type="Boolean">false</deployToFilesystem> <sessionTimeout type="String">25</sessionTimeout> <urls type="StringArray"> <el>testapp</el> </urls> <deployedObject type="String">TestAppDeployed</deployedObject> </warJar> </warJarOptions> ------------------------------------ index.jsp ------------------- <HTML> <a href="testAction.do">Do Test!</a> </HTML> perform.jsp ------------------- <HTML> Action was performed ... </HTML> web.xml ..... looks about ----------------- ... <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <!-- Struts Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> ... etc ....... struts-config ... --------------------------------------------- <action-mappings> <action path="testAction" actionClass="de.test.actions.TestAction" <forward name="success" path="/performed.jsp"/> </action> </action-mappings> classes: de.test.actions.TestAction.java ------------------------------------------------ package de.test.actions; import java.io.IOException; import org.apache.struts.action.*; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.*; import org.apache.struts.util.PropertyUtils; public class TestAction extends Action { public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { System.out.println("TestAction ..."); return mapping.findForward("success"); } }