Struts 1.3.8 mapping problem.

0 views
Skip to first unread message

Patryk Rogosch

unread,
Jun 21, 2009, 7:33:51 AM6/21/09
to Java Web Application
Hello.

I've problem with mapping in struts 1.3.8. I want to have link like
http://localhost:8080/cli/users/edit/30 where 30 is user's ID.

<action path="/user/edit/*"
type="pro1.user.UserEditAction"
name="userAddForm"
scope="request"
validate="true"
input="/pages/user/useredit.jsp">
<forward name="success" path="/pages/user/userlist.jsp" />
<forward name="error" path="/pages/user/useredit.jsp" />
<forward name="notlogged" path="/user/login" />
</action>

Pls, help me.

Best regards.
Reply all
Reply to author
Forward
0 new messages