`
wytkings
  • 浏览: 6367 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
1.设置整个项目使用el表达式,需要在web.xml中加上 (控制一个项目) < jsp-config > < jsp-property-group > < el-ignored >false < / el-ignored > < /jsp-property-group > < / jsp-config > 2.设置某个jsp页面使用el表达式,需要在jsp页面加上(控制单个页面) <%@ page isELIgnored="false"%>  //我设置了这点就可以了, ...
错误篇1: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): ***(POJO类,及持久化类名) 分析及解决: 你要操作的数据表中的id(即主键)的类型设置成了“自动增长类型”,而在你的 hibernate.cfg.xml中,id的生成方式是assigned,即 <id name="id" type="integer">             & ...
//action 代码。。。。 public ActionForward suggest(ActionMapping mapping, ActionForm form,             HttpServletRequest request, HttpServletResponse response)             throws Throwable {      response.setContentType("application/xml;charset=UTF-8");     response.setHeader("Charset& ...
public void showPhoto(HttpServletResponse response,String fphotoId){     Connection conn = null;     try{     try {     InitialContext ic = new InitialContext();     Statement stmt = null;     conn = DBConnection.getConnection();     BufferedInputStream inputimage = null;     stmt ...
Global site tag (gtag.js) - Google Analytics