现在我的URL是
http://localhost/detail.do?act=view&artid=21请问我该怎么才能实现
http://localhost/detail.do?artid=21
把 act=view 的参数给隐藏掉呢?如果不写这个,struts就无法访问到对应的方法。。
也会提示。。
javax.servlet.ServletException: Request[/detail] does not contain handler parameter named 'act'.  This may be caused by whitespace in the label text.还有一个问题。
怎么才能让访问 
http://localhost/detail.do
不提示上面的错误呢?如果把sturts的默认方法(public ActionForward execute)给替换掉了。访问 detail.do 没有act 参数时,也会javax.servlet.ServletException: Request[/detail] does not contain handler parameter named 'act'.  This may be caused by whitespace in the label text.而且tomcat后台也会抛出Exception 。 怎么办?请问该怎么处理这问题呢?