Ubuntu下eclipse indigo版在线安装struts插件
来源:互联网 发布:淘宝买的pos机安全吗 编辑:程序博客网 时间:2024/06/03 02:26
Ubuntu下eclipse indigo版在线安装struts插件:
1.打开eclipse,进入Help->Install new software...;
2.添加新站点,命名为:mvc,地址:http://mvcwebproject.sourceforge.net/update/;
3.添加站点后搜索到列表中有:Alveole Studio MVC Web Project项,打勾选中,next下去执行在线安装,根据网速决定安装进度,完成后重启eclipse;
4.新建项目:
1)先创建一个Dynamic Web Project,命名为fweb;
2)进入file->new->other...->web选中Alveole Studio MVC Web Project后next;
3)在Enter or select the parent folder里选择列表里的fweb;
4)file name输入:struts.aswp,然后next直到finish,fweb项目自动生成struts代码框架;
5)web.xml配置:
======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>fweb</display-name>
<filter>
<filter-name>org.apache.struts2.dispatcher.FilterDispatcher</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>org.apache.struts2.dispatcher.FilterDispatcher</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
============================================================================
6)struts.aswp图形化配置,建立MVC关系;
5.具体操作教程参考地址:
http://wenku.baidu.com/view/fe540f175f0e7cd184253640.html
http://mvcwebproject.sourceforge.net/tutorial.html
http://mvcwebproject.sourceforge.net/tutorials/HelloWorld2.zip
1.打开eclipse,进入Help->Install new software...;
2.添加新站点,命名为:mvc,地址:http://mvcwebproject.sourceforge.net/update/;
3.添加站点后搜索到列表中有:Alveole Studio MVC Web Project项,打勾选中,next下去执行在线安装,根据网速决定安装进度,完成后重启eclipse;
4.新建项目:
1)先创建一个Dynamic Web Project,命名为fweb;
2)进入file->new->other...->web选中Alveole Studio MVC Web Project后next;
3)在Enter or select the parent folder里选择列表里的fweb;
4)file name输入:struts.aswp,然后next直到finish,fweb项目自动生成struts代码框架;
5)web.xml配置:
======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>fweb</display-name>
<filter>
<filter-name>org.apache.struts2.dispatcher.FilterDispatcher</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>org.apache.struts2.dispatcher.FilterDispatcher</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
============================================================================
6)struts.aswp图形化配置,建立MVC关系;
5.具体操作教程参考地址:
http://wenku.baidu.com/view/fe540f175f0e7cd184253640.html
http://mvcwebproject.sourceforge.net/tutorial.html
http://mvcwebproject.sourceforge.net/tutorials/HelloWorld2.zip
- Ubuntu下eclipse indigo版在线安装struts插件
- Ubuntu下eclipse indigo版在线安装hibernate插件
- Eclipse 3.7(indigo)下maven插件安装
- Eclipse 3.7(indigo)下maven插件安装
- Eclipse Indigo安装插件问题
- Eclipse Indigo 安装 Maven 插件
- eclipse Indigo 安装maven插件
- ubuntu 12.04下安装eclipse-jee-indigo-SR2
- eclipse 3.7(indigo)在线安装中文语言包
- Eclipse 3.5.0 Indigo 版安装uml插件
- Eclipse 3.7(Indigo)安装google插件
- Eclipse Indigo(3.7) 安装maven插件
- eclipse(indigo)安装maven插件失败
- eclipse-indigo如何安装Maven插件
- Ubuntu下vim插件的在线安装
- 在线安装Eclipse插件
- eclipse在线安装插件
- Ubuntu在线安装eclipse
- 双核处理器ARM+DSP如何实现协同工作
- Windows同步机制
- linux多线程学习(四)——互斥锁线程控制
- 特征向量的物理意义
- Linux 连接数据库 mysql.h出错
- Ubuntu下eclipse indigo版在线安装struts插件
- java编程 I/O--字符流
- 编程技术面试的五大要点
- 我们应该如何对待工作
- sqlserver创建mysql的链接建立视图
- AIX文件系统基本之逻辑卷概念
- YUV / RGB 格式及快速转换算法
- 未能解析引用的程序集,因为它对不在当前目标框架,请删除对不在目标框架中的程序集的引用,或考虑重新确定项目的目标。
- 中国没有乔布斯,美国没有史玉柱