主题:关于JSP服务器问题
Eirc
[专家分:0] 发布于 2006-01-25 20:52:00
最近刚学JSP 觉得tomcat的使用不是很方便。 处理web页面也不如以前用过的IIS,
我想问下 怎么样修改tomcat的主页设置(老是那只小猫,不舒服),如果我想用tomcat
建个人网站(通过域名映射到本地机的那种) 是不是要始终开着 startup.bat 这个文件。 或者告诉我一个比较方便的JSP服务器 谢谢! 我是新人 大家多多关照[em8]
回复列表 (共4个回复)
沙发
justforfun626 [专家分:18460] 发布于 2006-01-26 05:21:00
Simple!!!!
Just replace webapps/ROOT/index.jsp to yours, that is all.
I would rename it as index_tc.jsp, since it is good to see you tomcat is really up or not. Also, use that page, you can access and test tomcat examples.
板凳
Eirc [专家分:0] 发布于 2006-01-26 22:09:00
有没有更好的服务器了? 像IIS那样方便的?
3 楼
Eirc [专家分:0] 发布于 2006-01-26 22:10:00
那是不是一直要把 startup.bat 的控制台开着 万一不小心关了,又要重新启动服务器这样很麻烦哦 有没有别的方法让服务器一直开着?
4 楼
justforfun626 [专家分:18460] 发布于 2006-01-26 22:44:00
IIS can be integrated with tomcat now. However, I never tried it. Do a google search, you will find some instructions.
[quote]
那是不是一直要把 startup.bat 的控制台开着 万一不小心关了,又要重新启动服务器这样很麻烦哦 有没有别的方法让服务器一直开着?
[/quote]
Never tried. Eclipse can start tomcat too, but same situation will happen if you shut down eclipse.
However, when the real server is working, almost no body will work on that machine, there is no problem with dos/unix console open.
我来回复