(path="/test")
这个应该是这样的吧 path="./test" 你少写了个 "."吧

解决方案 »

  1.   

    <form action="/test" method = "post">这个错了需要这样写 <form action="/你的应用名/test.do" method = "post">
      

  2.   

    <action name="loginActionForm" type="strutsdemo.com.ewuxi.login.LoginAction" input="/login.jsp" path="/loginAction" />
    你的配置少了一个input项。
      

  3.   

    <form action="/test" method = "post">给为<form action="test.do" method = "post">
      

  4.   

    <form action="/test" method = "post">这个错了改为<form action="/你的应用名/test.do" method = "post">