|
天堂之光 人间希望
你我共同品味
JAVA的浓香.
Linux的清芬. |
« | September 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | |
链接 |
联系我
msn:zhanglincon@hotmail.com |
Blog信息 |
blog名称: 日志总数:99 评论数量:281 留言数量:4 访问次数:809575 建立时间:2005年11月17日 |

| |
[resin]Resin配置文件中文说明 文章收藏, 软件技术
zhanglincon 发表于 2008/6/26 12:04:29 |
<!-- - Resin 3.1 配置文件. -->
<resin xmlns="http://caucho.com/ns/resin" xmlns:resin="http://caucho.com/ns/resin/core">
<!-- 加载resin/lib下的所有.jar文件-->
<< |
|
[resin]RESIN+JSP作图问题! 原创空间, 软件技术
zhanglincon 发表于 2008/5/8 23:07:16 |
以下代码在: WINDOWS+TOMCAT的WEB服务器上正常! WINDOWS+RESIN的WEB服务器上出不来图,但也不报错! 为什么?请高手指点!!!
<%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,com.sun.image.codec.jpeg.*,java.util.*"%> <% int width=200, height=200; BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RG; Graphics g = image.getGraphics( |
|
[resin]linux下resin3.1环境下servlet或jsp输出乱码问题解决 原创空间, 软件技术
zhanglincon 发表于 2008/2/1 10:13:32 |
1,确定你的jsp有
<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<META http-equiv=Content-Type content="text/html; charset=gbk">
2,修改linux的/etc/sysconfig/i18
LANG="zh_CN.GBK" SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"
3,resin.conf里面加
<host id='www.xxx.com'> &nbs |
|
[resin]resin3.1.3相比于resin3.0的变化 原创空间, 软件技术
zhanglincon 发表于 2008/1/25 13:32:33 |
1.启动多个resin-pro-3.1.3 以前在通一台服务器启动多个resin3.0只需要修改端口号即可,在resin3.1.3则需要修改看门狗配置才行,具体方法如下:
将 <server id="" address="127.0.0.1" port="6800"/> 修改为 <server id="" address="127.0.0.1" port="6800" watchdog-port="6600"/> 其中不同resin的watchdog-port必须不同才能同时启动多个resin。
2.群集配置更简单,只需如下配置即可
<server id="a" address="127.0.0.1" port="6800" watchdog-port="6600"/> <server id="b" address="127.0.0.1" port="6801" watchdog-port="6601"/>
启动命令则是 |
|
« 1 ›
|