I thought that interservlet communication would be a simple matter of creating the correct Action Mapping in struts-config, like so [ Example: struts application calls cocoon URI ]:

<action
       path="/spreadsheet/Cocoon-Render"
       type="org.apache.struts.actions.ForwardAction"
       name="articleForm"
       scope="request"
       parameter="/webapps/cocoon-reports/reames.xla"/>

However, the parameter address can not be resolved as it is written - because this resource does not appear on the struts applications classpath. And the 'parameter' attribute insists that the string begin with "/", so I can not provide the value: "http://localhost/webapps/cocoon-reports/reames.xla";.

Is there a straightforward way to forward a request to another servlet in the same container?

best regards,
Douglas Reames

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to