这样呢?
<form name="berthForm" action="/listberth.do?actn=query&dispflag=speciallist" >
或者
<form name="berthForm" action="/longkou.entity.Berth.listberth.do?actn=query&dispflag=speciallist" >
<form name="berthForm" action="/listberth.do?actn=query&dispflag=speciallist" >
或者
<form name="berthForm" action="/longkou.entity.Berth.listberth.do?actn=query&dispflag=speciallist" >
action="/listberth.do?actn=query&dispflag=speciallist" >试试!
<form name="berthForm" method="post"
action="listberth.do?actn=query&dispflag=speciallist" >把这些package :longkou.entity.Berth 去掉
因为这些是在struts-config.xml中声明,所以这里不需要!
action="yourContextPaht/yourModulePrefix/listberth.do?actn=query&dispflag=speciallist" >
不知道你所说的配置module和contextpath是指的什么,在哪配置?我没有做你说的动作(我用的是struts1.02、tomcat4.0版本)。我只知道在tomcat下conf目录下边有个server.xml文件有类似你说的路径问题,但是我在那也没有动作。to : Sakuragi2008(我是一个JAVA程序员)
你能说具体一点吗?“因为post方法”是什么意思?
而且,各位,就如我最开始说的,只要把<form>改为<html:form>,其他不改,就好用啊