Hi..
I want to forward vom a struts action to a servlet.
Here are some parts of web.xml ..
<servlet>
<servlet-name>XMLHandler</servlet-name>
<servlet-class>test.servlet.TestServlet</servlet-class>
<display-name>xml handler servlet</display-name>
</servlet>
<servlet-mapping>
<servlet-name>xmlHandler</servlet-name>
<url-pattern>/XMLHandler/*</url-pattern>
</servlet-mapping>
struts-config.xml
<global-forwards>
<forward name="output" path="XMLHandler"
</global-forwards>
public ActionForward execute....{
...do something...
System.out.println("Now the forward should be done...");
mapping.findForward("output");
}
If I view the portlet at the browser, nothing happens. The Action loads,
"Now the forward..." is printed out, but nothing happens after...
Can you tell me how this works ? I thought i can work with the
RequestDispatcher, but I don't have access to it in my strutsaction-class
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]