eclipse,myeclipse,Tomcat进行JSP开发配置
来源:互联网 发布:宁波诺丁汉大学知乎 编辑:程序博客网 时间:2024/05/17 04:43
1:安装JDK
2:安装eclipse
3:安装myeclipse,完成后将其copy到eclipse目录下,作为插件安装
4:下载tomcat压缩包,解压至一目录
5:在eclipse中配置tomcat:
窗口/首选项/myeclipse/tomcat/tomcat 6.x
设置目录为tomcat解压缩目录
jdk为jdk所在目录(不是jre)
launch改为run mode
6:在*/tomcat-6.0.14/conf下找到server.xml文件
设置端口为大于1024的一个值
<Connector port="1221" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector executor="tomcatThreadPool"
port="1221" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
错误处理:
1:若启动tomcat时出现
严重: Error initializing endpoint
严重: Error starting endpoint
严重: Catalina.start:
此时说明所选端口已被占用,可在cmd中用netstat查看,按步骤6设置即可解决
2:若在浏览器中查看文件时出现:
http status 404 错误
则说明未找到文件,注意文件放置位置是否正确,或者链接地址有误
3:若在浏览器中查看文件时出现:
http status 500 错误
The absolute uri: http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application
此为未配置struts
在项目上右键-myeclipse-add struts capabilities即可
4:若为
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
则为jstl未配置
从网站上下载jakarta-taglibs-standard-1.1.2.zip,解压后放在....../tomcat-6.0.14/webapps/工程名/WEB-INF
下即可
2:安装eclipse
3:安装myeclipse,完成后将其copy到eclipse目录下,作为插件安装
4:下载tomcat压缩包,解压至一目录
5:在eclipse中配置tomcat:
窗口/首选项/myeclipse/tomcat/tomcat 6.x
设置目录为tomcat解压缩目录
jdk为jdk所在目录(不是jre)
launch改为run mode
6:在*/tomcat-6.0.14/conf下找到server.xml文件
设置端口为大于1024的一个值
<Connector port="1221" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector executor="tomcatThreadPool"
port="1221" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
错误处理:
1:若启动tomcat时出现
严重: Error initializing endpoint
严重: Error starting endpoint
严重: Catalina.start:
此时说明所选端口已被占用,可在cmd中用netstat查看,按步骤6设置即可解决
2:若在浏览器中查看文件时出现:
http status 404 错误
则说明未找到文件,注意文件放置位置是否正确,或者链接地址有误
3:若在浏览器中查看文件时出现:
http status 500 错误
The absolute uri: http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application
此为未配置struts
在项目上右键-myeclipse-add struts capabilities即可
4:若为
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
则为jstl未配置
从网站上下载jakarta-taglibs-standard-1.1.2.zip,解压后放在....../tomcat-6.0.14/webapps/工程名/WEB-INF
下即可
- eclipse,myeclipse,Tomcat进行JSP开发配置
- Eclipse+Myeclipse+Tomcat开发JSP的详细环境配置
- Eclipse+Myeclipse+Tomcat开发JSP的详细环境配置
- Eclipse 3.3+myeclipse 6.0+tomcat配置JSP开发环境!
- 配置jsp 环境(eclipse+myeclipse+tomcat)
- Eclipse+MyEclipse+Tomcat开发JSP问题集锦
- MyEclipse+Tomcat+JSP开发环境配置
- Eclipse+MYEclipse+Tomcat配置J2EE开发环境
- Eclipse+tomcat+Myeclipse配置j2ee开发环境
- 【JavaWeb开发】Eclipse或MyEclipse配置Tomcat
- eclipse+tomcat的JSP开发环境配置
- Eclipse + Lomboz + Tomcat JSP 开发配置
- Eclipse + Lomboz + Tomcat JSP 开发配置
- Eclipse+Tomcat 开发JSP网站 服务配置
- Eclipse+MyEclipse+Tomcat配置
- 配置 eclipse+myeclipse+tomcat
- Eclipse+MyEclipse+Tomcat配置
- Eclipse+MyEclipse+Tomcat配置
- LoadRunner性能测试实战
- 存储过程语法
- 如何使用web_reg_save_param方法保存的多个参数?
- web开发(脚本和动态语言) 编辑 下拉列表 select控件 可编辑
- petshop4.0设计说明
- eclipse,myeclipse,Tomcat进行JSP开发配置
- 用 Smarty 分离 PHP 应用程序中的形式与功能
- ASP.NET2.0+SQL Server2005构建多层应用
- 真正将标注文字遮盖的方法
- petshop4.0 详解之一(系统架构设计)
- petshop4.0 详解之二(数据访问层之数据库访问设计)
- MapXtreme查看整个地图的代码
- 一键清理系统垃圾
- GIS2004鹰眼