
structs学习
coolwxb
这个作者很懒,什么都没留下…
展开
-
struts.xml配置文件(package,namespace,action)
struts2.0 xml配置 struts.xml文件结构 struts.xml文件是整个Struts2框架的核心。 struts.xml文件内定义了Struts2的系列Action,定义Action时,指定该Action的实现类,并定义该Action处理结果与视图资源之间的映射关系。 "-//Apache Software Foundation//DTD Strut转载 2012-09-06 23:22:20 · 592 阅读 · 0 评论 -
jsp+mysql 在 preparedStatement中 中文乱码解决
直接上代码: System.out.println(username+password); String sql = "select * from user where name =? and password =?"; preparedStatement = connection.prepareStatement(sql); preparedStatement.setStrin原创 2012-09-18 19:02:41 · 6794 阅读 · 5 评论