Antony,
Your suggestion changes anything.
I think that the PageFlowActionServlet use the full path of the URL to
find the controller or the action to execute.
How can I remove "/html" from the path before PageFlowActionServlet ?
Christophe
Antony Chien a écrit :
Chris,
Please see below:
2006/3/1, Christophe DENEUX <[EMAIL PROTECTED]>:
Hi all,
How to use Beehive with J2EE filter ?
My JSPs generates XML that is processed by a filter to be transformed in
HTML. My web.xml is as:
<filter>
<filter-name>XSLT</filter-name>
<filter-class>xxxxxxxxxxxxxxx</filter-class>
</filter>
<filter-mapping>
<filter-name>XSLT</filter-name>
<url-pattern>/html/*.jpf</url-pattern> <!-- This is my guess -->
</filter-mapping>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.jpf</url-pattern>
</servlet-mapping>
My controller is "jpf/main/Controller.jpf"
When I call: http://<server:port/context/html/jpf/main/Controller.jpf, I
have org.apache.struts.action.RequestProcessor : Invalid path
/html/jpf/main/Controller was requested in traces.
Regards,
Christophe
This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message.
--
Regards,
Antony Chien
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.