什么错呢?你用struts1还是2?

解决方案 »

  1.   

    哦 错忘了贴,,是struts 1.2
    HTTP Status 404 - /MyExample/example/toExample/method=displayAll--------------------------------------------------------------------------------type Status reportmessage /MyExample/example/toExample/method=displayAlldescription The requested resource (/MyExample/example/toExample/method=displayAll) is not available.--------------------------------------------------------------------------------Apache Tomcat/5.0.28
      

  2.   

    嗯,这个找到原因了,但是如果用 
    http://localhost:8080/MyExample/example/toExample/method=displayAll 
    就不行? 再看看了
      

  3.   

    try:<rule>
    <from>/toExample/method=displayAll</from>
    <to>/toExample.do?method=displayAll</to>
    </rule>