chm打开只显示目录,但是显示不出来详细内容

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_37568049/article/details/88681984

1.打开之后如图,能显示目录,但是右侧一片空白。

2.百度了挺多种方法的,解除锁定等等。然后下载了CHM阅读器,CHM阅读器是能正常阅读的。但是又多安装了一个软件。实在觉得只是治标不治本。突然发现我不喜欢这个文件名。文件名是:download%2FIntelliJ+IDEA+简体中文专题教程(电子版-2....chw.CHM

3.我就修改了文件名

4.再使用window自己的帮助文档打开就可以了。如图:

5.以上是个人的解决方式,如果不适用,也可以下载CHM阅读器。阅读器有CHM Viewer、Vole Media CHM、EasyCHM等软件。

展开阅读全文

内容显示不出来

08-13

我用jdbc连接数据库。。。执行查询,不用单独运行可以得到数据,但是用想显示在jsp中就不行,期中servlet代码如下rn[code=Java]package com.cn.DB;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport java.sql.SQLException;rnimport java.util.ArrayList;rnimport java.util.List;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnimport com.cn.information.*;rn/**rn * Servlet implementation class select_serrn */rnpublic class select_ser extends HttpServlet rn private static final long serialVersionUID = 1L;rn public void destory()rn super.destroy();rn rnrn /**rn * Default constructor. rn */rn public select_ser() rn // TODO Auto-generated constructor stubrn rnrn /**rn * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)rn */rn protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType("text/html");rn PrintWriter out =response.getWriter();rn this.doPost(request, response);rn out.flush();rn out.close();rn // TODO Auto-generated method stubrn rnrn /**rn * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)rn */rn protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType("text/html");rn PrintWriter out=response.getWriter();rn List list=new ArrayList();rn selectDB db=new selectDB();rn try rn list=db.select();rn catch (ClassNotFoundException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn catch (SQLException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn rn request.setAttribute("list", list);rn request.getRequestDispatcher("information_show.jsp").forward(request, response);rn out.flush();rn out.close();rn // TODO Auto-generated method stubrn rn public void init() throws ServletExceptionrn rn rnrnrn[/code]rninformation类是数据属性selectDB里是一个查询函数用来返回一个list包含information类中属性的数据。rnjsp中代码如下:rn<%@ page language="java" contentType="text/html; charset=utf-8"rn %>rn <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>rn <%@ page import="java.util.*" %>rn <%@ page import="com.cn.information.goods_Information" %>rnrnrnrn rn Insert title herernrnrn rn rnrnrn rn rnrn rn 货号rn 条形码rn 商品名rn 拼音编码rn 规格rn 产地rn 商品类型rn 最小库存rn 参考进货价rn 批发价rn 销售价rn rn rn rn $list.goods_Number rn $list.goods_Code rn $list.goods_Name rn $list.goods_Spell rn $list.goods_Shape rn $list.goods_Come rn $list.goods_Type rn $list.goods_MinStock rn $list.goods_PrePrice rn $list.goods_TradePrice rn $list.goods_SellingPrice rn rn rn rnrnrn运行之后。。数据显示不出来,求解释 论坛

没有更多推荐了,返回首页