环境tomcat6.0
我现在的目录是
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\META-INF
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\web.xml
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\helloworld.class
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\helloworld.xml
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\struts.xml
D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\lib\有5个struts核心jar包这是所有的目录及文件,可是运行不了
不用IDE,怎么构建一个HelloWorld应用?最好给出详细步骤,谢谢各位哥哥姐姐。

解决方案 »

  1.   

    http://search.download.csdn.net/search/struts2%20%E4%BE%8B%E5%AD%90
      

  2.   

    你的struts.xml如何配置?web.xml如何配置?为什么没有index文件?
      

  3.   

    用IDE配置一个看看目录,不就可以了吗
      

  4.   

    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld \index.jsp 跳转
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld ]helloworld.jsp 显示helloworldD:\apache-tomcat-6.0.18\webapps\struts2_helloworld\META-INF 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\web.xml 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\helloworld.class 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\helloworld.xml 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\classes\struts.xml 
    D:\apache-tomcat-6.0.18\webapps\struts2_helloworld\WEB-INF\lib\有5个struts核心jar包 
    把页面也给出来
      

  5.   

    你的代码问题。
    还有这个
    helloworld.xml 
    是做什么用的
      

  6.   

    1.xml文件是否完全配置正确
    2.class文件编译正确并且放入正确的包内
    3.运行
      

  7.   

    http://www.verycd.com/topics/210454/
    这里有视频教程,不错
      

  8.   

    给你推荐本书吧,孙鑫的《struts2深入详解》。把struts2的使用看看吧,看不懂你的helloWord.xml是干什么的。