/*
* JSP generated by Resin-3.2.0 (built Wed, 06 Aug 2008 08:41:33 PDT)
*/
package _jsp;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
public class _index__jsp extends com.caucho.jsp.JavaPage
{
private static final java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap = new java.util.HashMap<String,java.lang.reflect.Method>();
private boolean _caucho_isDead;
private com.caucho.jsp.PageManager _jsp_pageManager;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.server.webapp.WebApp _jsp_application = _caucho_getApplication();
com.caucho.jsp.PageContextImpl pageContext = _jsp_pageManager.allocatePageContext(this, _jsp_application, request, response, null, null, 8192, true, false);
TagState _jsp_state = new TagState();
try {
_jspService(request, response, pageContext, _jsp_application, _jsp_state);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
_jsp_state.release();
_jsp_pageManager.freePageContext(pageContext);
}
}
private void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.caucho.jsp.PageContextImpl pageContext,
javax.servlet.ServletContext application,
TagState _jsp_state)
throws Throwable
{
javax.servlet.jsp.JspWriter out = pageContext.getOut();
final javax.el.ELContext _jsp_env = pageContext.getELContext();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.jsp.tagext.JspTag _jsp_parent_tag = null;
response.setContentType("text/html");
response.setCharacterEncoding("UTF-8");
request.setCharacterEncoding("UTF-8");
out.write(_jsp_string0, 0, _jsp_string0.length);
}
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public java.util.ArrayList _caucho_getDependList()
{
return _caucho_depends;
}
public void _caucho_addDepend(com.caucho.vfs.PersistentDependency depend)
{
super._caucho_addDepend(depend);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
}
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.server.util.CauchoSystem.getVersionId() != 1541868491438029340L)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Dependency depend;
depend = (com.caucho.vfs.Dependency) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
TagState tagState;
}
public void init(com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.server.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
com.caucho.loader.DynamicClassLoader loader;
loader = (com.caucho.loader.DynamicClassLoader) getClass().getClassLoader();
String resourcePath = loader.getResourcePathSpecificFirst();
mergePath.addClassPath(resourcePath);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("index.jsp"), -1290375994565774585L, false);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
}
final static class TagState {
void release()
{
}
}
public java.util.HashMap<String,java.lang.reflect.Method> _caucho_getFunctionMap()
{
return _jsp_functionMap;
}
public void init(ServletConfig config)
{
try {
com.caucho.server.webapp.WebApp webApp
= (com.caucho.server.webapp.WebApp) config.getServletContext();
super.init(config);
_jsp_pageManager = webApp.getJspApplicationContext().getPageManager();
com.caucho.jsp.TaglibManager manager = webApp.getJspApplicationContext().getTaglibManager();
com.caucho.jsp.PageContextImpl pageContext = new com.caucho.jsp.PageContextImpl(webApp, this);
} catch (Exception e) {
throw com.caucho.config.ConfigException.create(e);
}
}
private final static char []_jsp_string0;
static {
_jsp_string0 = "\r\n<!DOCTYPE html\r\nPUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html>\r\n <head>\r\n <title></title>\r\n </head>\r\n <body>\r\n <form action=\"person!savePerson.action\" method=\"post\">\r\n \u59d3\u540d\uff1a<input type=\"text\" name=\"person.name\" /><br />\r\n \u6027\u522b\uff1a<input type=\"text\" name=\"person.sex\" /><br />\r\n <input type=\"submit\" value=\"\u6dfb\u52a0\" />\r\n </form>\r\n </body>\r\n</html>".toCharArray();
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
ssh的annotation示例
共83个文件
jar:30个
class:15个
java:13个
5星 · 超过95%的资源 需积分: 9 62 下载量 59 浏览量
2010-11-04
13:03:15
上传
评论
收藏 13.37MB RAR 举报
温馨提示
在本项目中,用到了struts2、hibernate3和spring3,对这三个框架都采用了annotation,即所谓的零配置。本项目没有完全的“零配置”,但已经只有极简单的配置了。希望对您有帮助。
资源推荐
资源详情
资源评论
收起资源包目录
ssh_annotation.rar (83个子文件)
ssh_annotation
${webinfo.dir}
classes
com
jetsum
common
entity
Person.hbm.xml 1KB
build.properties 435B
sql
schema-export.sql 217B
src
generated
com
jetsum
common
entity
Person.hbm.xml 1KB
java
com
jetsum
webtest
dao
PersonDao.java 243B
CommonDao.java 614B
impl
CommonDaoImpl.java 970B
PersonDaoImpl.java 514B
action
PersonAction.java 1KB
service
PersonService.java 258B
CommonService.java 637B
impl
PersonServiceImpl.java 599B
CommonServiceImpl.java 985B
common
BaseHibernateDaoSupport.java 543B
common
entity
Person.java 1KB
config
applicationContext.xml 2KB
struts.xml 211B
hibernate.properties 14KB
.classpath 3KB
ReadMe 918B
.mymetadata 315B
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.name 6B
.jsdtscope 500B
.myeclipse
.project 1KB
build.xml 7KB
WebRoot
META-INF
MANIFEST.MF 36B
index.jsp 477B
success.jsp 257B
WEB-INF
classes
com
jetsum
webtest
dao
PersonDao.class 182B
impl
CommonDaoImpl.class 2KB
PersonDaoImpl.class 879B
CommonDao.class 445B
action
PersonAction.class 2KB
service
PersonService.class 194B
CommonService.class 457B
impl
PersonServiceImpl.class 850B
CommonServiceImpl.class 2KB
common
BaseHibernateDaoSupport.class 691B
common
entity
Person.hbm.xml 1KB
Person.class 1KB
applicationContext.xml 2KB
struts.xml 211B
hibernate.properties 14KB
lib
struts2-spring-plugin-2.1.8.1.jar 16KB
xwork-core-2.1.6.jar 1.49MB
org.springframework.context-3.0.1.RELEASE-A.jar 642KB
mysql-connector-java-5.1.12-bin.jar 716KB
commons-fileupload-1.2.1.jar 56KB
dom4j-1.6.1.jar 307KB
org.springframework.beans-3.0.1.RELEASE-A.jar 535KB
org.springframework.transaction-3.0.1.RELEASE-A.jar 223KB
org.springframework.web-3.0.1.RELEASE-A.jar 352KB
org.springframework.orm-3.0.1.RELEASE-A.jar 324KB
struts2-convention-plugin-2.1.8.1.jar 60KB
commons-logging-1.0.4.jar 37KB
aopalliance-1.0.jar 4KB
slf4j-log4j12-1.5.2.jar 9KB
hibernate3.jar 3.66MB
antlr-2.7.6.jar 433KB
freemarker-2.3.15.jar 859KB
log4j-1.2.15.jar 383KB
org.springframework.jdbc-3.0.1.RELEASE-A.jar 369KB
struts2-core-2.1.8.1.jar 738KB
javassist-3.9.0.GA.jar 583KB
slf4j-api-1.5.8.jar 23KB
org.springframework.expression-3.0.1.RELEASE-A.jar 152KB
org.springframework.aop-3.0.1.RELEASE-A.jar 313KB
ognl-2.7.3.jar 234KB
org.springframework.asm-3.0.1.RELEASE-A.jar 52KB
commons-collections-3.1.jar 546KB
aspectjweaver.jar 1.57MB
jta-1.1.jar 11KB
org.springframework.core-3.0.1.RELEASE-A.jar 347KB
work
_jsp
_index__jsp.class 6KB
_index__jsp$TagState.class 323B
_success__jsp.java 5KB
_success__jsp.java.smap 98B
_success__jsp.class 5KB
_index__jsp.java 5KB
_success__jsp$TagState.class 329B
_index__jsp.java.smap 92B
tmp
web.xml 2KB
共 83 条
- 1
资源评论
- xfjjiayou2014-09-16很不错,适合用来学习之用
- u0110393972017-05-02不错,对新手有帮助
- nihaowangxinwei2014-04-01示例不怎么好
KorbinLuo
- 粉丝: 587
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Win64OpenSSL-3-3-0.exe
- 课高分程设计-基于C++实现的民航飞行与地图简易管理系统-南京航空航天大学
- 航天器遥测数据故障检测系统python源码+文档说明+数据库(课程设计)
- 北京航空航天大学操作系统课设+ppt+实验报告
- 基于Vue+Echarts实现风力发电机中传感器的数据展示监控可视化系统+源代码+文档说明(高分课程设计)
- 基于单片机的风力发电机转速控制源码
- 基于C++实现的风力发电气动平衡监测系统+源代码+测量数据(高分课程设计)
- 毕业设计- 基于STM32F103C8T6 单片机,物联网技术的太阳能发电装置+源代码+文档说明+架构图+界面截图
- 基于 LSTM(长短期记忆)(即改进的循环神经网络)预测风力发电厂中风力涡轮机产生的功率+源代码+文档说明
- 基于stm32f103+空心杯电机+oled按键+运动算法
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功