Hello.
How can I make one controller class`s action(not simple) to handle all
requests for a web application?
For example, I want to have
localhost/users/your_login
instead
localhost/login.do?name=your_login
or for example:
localhost/page1/param1/param2/param3/
The firs thing I`ve tried:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/_pageflow/struts-config.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
I thought the begin action will be called.
But I`ve got an exception, unfortunately I cant place full stack trace now.
Thanks.