接压缩.zip 里面有 几个war包, 直接放到tomcat下的webapp目录下就可以 了。
struts-documentation.war 这个里面是 帮助文档。struts-example.war 这个里面有个例子,入门不错
struts-exercise-taglib.war 里面是很多struts里标签使用的例子,不错。http://localhost:8080/struts-example (.war前的为context名字) 就可以了
struts-documentation.war 这个里面是 帮助文档。struts-example.war 这个里面有个例子,入门不错
struts-exercise-taglib.war 里面是很多struts里标签使用的例子,不错。http://localhost:8080/struts-example (.war前的为context名字) 就可以了
解决方案 »
- 有用wicket做开发的吗?
- JSP调用地图问题?
- 求帮助svn commit不了
- 麻烦过来帮我看下这个问题怎么解决
- 新出现的hibernate问题
- 哪位热心人,可以建立一个上面的数据库,这个数据库很简单的,可能只需要五分钟就能搞定,将代码COPY一份,在计算机上运行一下,给我找找原因.
- 请问:行距如何设置?
- 第⑤天街个性主页(JSP+SQL Server+CSS+JS)
- 如何把字符串"20030315"和"20030404"转化为Date,并且得到然后把其间的日期在转化成String放入一个String[].
- spring mvc 转发和重定向问题
- 如何在一个域名下让servlet,jsp和asp同存?
- RecordSet中数据类型转换问题
解开后目录为
contrib目录
lib目录
webapps目录
然后就是三个文件:INSTALL、LICENSE、README请问是不是我下的jakarta-struts-1.1-b3.zip有问题?
以这个目录为基础 开始你的工作 你就可以使用struts的所有功能了
webapp/jakarta-struts/webapps
然后下面有很多(8个)Rar文件,我照楼上的提示,输入
http://localhost:8080/struts-example(我的断口没改),报错说
找不到该页我用的是tomcat 3.2 jdk1.3 jakarta-struts-1.1-b3.zip想一赌struts的风采怎么这么难呢!!
(也可从struts-blank.war解压后目录的\web-inf\web.xml中剪贴过来)
我把struts-example.war copy到tomcat\webapps,启动tomcat,结果一闪而国,同时在tomcat\webapps目录中生成了struts-example目录,
tomcat一闪就关了,我把struts-example.war和生成的struts-example目录移走,tomcat就可以正常运行了现在改怎么办?
2003-6-24 15:38:33 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
2003-6-24 15:38:33 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
2003-6-24 15:38:34 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.webapp.example.AlternateApplicatio
nResources', returnNull=true
2003-6-24 15:38:34 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.webapp.example.ApplicationResource
s', returnNull=true
2003-6-24 15:38:34 org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
init
信息: Initializing memory database plug in from '/WEB-INF/database.xml'
2003-6-24 15:38:35 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2003-6-24 15:38:35 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
我用的tomcat 4.0.6,
下的是6.4发布的struts,
我把struts-example解压到web-app中。。
运行tomcat就出现了上述问题
测了一天了求求帮帮忙。
建议使用tomcat4.1和struts1.1
运用Tomcat Manager的Upload a WAR file to install功能即可
一切很简单。
我到apache下的这个6.4发布的struts是1.1的吧??/
谢谢各位我用的配置如下:
tomcat 4.1.24
jdk 1.3.1
jakarta-struts-1.1-b3.zip楼上的 leotien(攀登者)
我准备揭贴了
我用dos启动,也是一样的信息
楼主,你结贴吧。。