怎么能jsp传到tomcat上无端口号 怎么能jsp传到tomcat上无端口号本来是要输入http://localhost:8080怎么能显示成http://localhost,就可以显示jsp的页面? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 修改 F:\tomcat\apache-tomcat-5.5.23\conf\server.xml<Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />修改成80<Connector port="80" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> 怎么能显示成http://localhost,就可以显示jsp的页面? <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">后面加上 <Context path="" docBase="你的应用名" debug="0" reloadable="true" /> 呵呵,暗略已经把问题的可能有的答案一股脑的回答了~~不过好像还有一点点可以回答 ^^ 你的jsp要符合welcome-file的设置。tomcat默认的是index.html、index.htm、index.jsp。在tomcat的conf\web.xml中可以设置。虽然基础但是也是一个必须的要素哟~~~<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file></welcome-file-list> lastsweetop 你说的方法很好,也可以成功,但是我还有个问题.我还要用asp的话.那怎么办.好像说是要把apache和tomcat整合谁知道apache2.2+tomcat5.5要下什么版本的JK ibatis中#与$的区别,以及在jdbc中转义成什么?? 请教一下大家 这样的语句如何判断啊,求各位高手帮忙! struts怎么读取数据展示出来 请教:JSP如何使用程序连接数据库 请问在window 2000下如何设置Tomcat的运行内存量 帮我看看这段代码????急啊??????!!!! 问一个java文件,编译后怎么办? 关于登陆页面的一个小问题! jsp对页面的大小有否限制,我的页面在60多K之后就断掉了!!! Filter的使用,dofilter之后,页面如何跳转 真是郁闷啊?
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
修改成80
<Connector port="80" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
后面加上
<Context path="" docBase="你的应用名" debug="0" reloadable="true" />
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
你说的方法很好,也可以成功,
但是我还有个问题.我还要用asp的话.那怎么办.
好像说是要把apache和tomcat整合
谁知道apache2.2+tomcat5.5
要下什么版本的JK