请问:JSP服务器,怎么配置才能使别人通过IE访问不需要输入端口号8080就能访问?具体的配置。

来源:百度知道 编辑:UC知道 时间:2024/05/05 12:46:24

解决方法1
把8080改为80,但你要保证和其他的web服务器没有冲突

解决方法2
让你的jsp服务器和iis或apache配合工作,

先到http://www.apache.org 下载一个连接器

1,把isapi_redirector2.dll copy到一个目录比如%tomcat_home%\iis\
2,把以下文字保存为 workers2.properties拷贝到%tomcat_home%\conf\下

[shm]
file=C:/Program Files/Apache Software Foundation/Tomcat 5.0//logs/jk2.log
size=1048576

# 实际运用时把所有的localhost和8009换成你自己的IP和端口
[channel.socket:localhost:8009]
port=8009
host=localhost

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping
[uri:/*.jsp]
[uri:/web/*]
worker=ajp13:localhost:8009

# define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
worker=status:status

3,修改jk2.properties使其有request.tomcatAuthentication=false一句

4,新建一个java.r