各位仁兄大姐,问一个关于tomcat启动了,但是还是打不开站点怎么回事?(有提示信息)
INFO [main] org.springframework.web.servlet.DispatcherServlet initWebApplicatio
nContext- Using context class [org.springframework.web.context.support.XmlWebApp
licationContext] for servlet 'action'
INFO [main] org.springframework.web.servlet.DispatcherServlet initMultipartReso
lver- Unable to locate MultipartResolver with name 'multipartResolver': no multi
part request handling provided
INFO [main] org.springframework.web.servlet.DispatcherServlet initLocaleResolve
r- Unable to locate LocaleResolver with name 'localeResolver': using default [or
g.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@1e937f]
INFO [main] org.springframework.web.servlet.DispatcherServlet initThemeResolver
- Unable to locate ThemeResolver with name 'themeResolver': using default [org.s
pringframework.web.servlet.theme.FixedThemeResolver@7a17]
INFO [main] org.springframework.web.servlet.DispatcherServlet initHandlerAdapte
rs- No HandlerAdapters found in servlet 'action': using default
INFO [main] org.springframework.web.servlet.DispatcherServlet initRequestToView
NameTranslator- Unable to locate RequestToViewNameTranslator with name 'viewName
Translator': using default [org.springframework.web.servlet.view.DefaultRequestT
oViewNameTranslator@125d92c]
INFO [main] org.springframework.web.servlet.DispatcherServlet initServletBean-
FrameworkServlet 'action': initialization completed in 1219 ms
INFO [main] org.springframework.web.servlet.DispatcherServlet init- Servlet 'ac
tion' configured successfully
2007-12-16 18:58:13 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-9999
2007-12-16 18:58:13 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:2233
2007-12-16 18:58:13 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32 config=E:\Tomcat_jhj\conf\jk2.properties
2007-12-16 18:58:13 org.apache.catalina.startup.Catalina start
信息: Server startup in 39828 ms
无奈提示信息限长,只贴出最后一部分吧,抱歉!
访问的地址是:http://127.0.0.1:9999/
提示错误是 :HTTP 400 - 错误请求
------解决方案--------------------正关键的信息你没有帖出来 ..
猜测一下
首先,你要通过只输入IP地址不加应用名称访问,在你没有改过TOMCAT server.xml配置的情况下,你的webapps中需要有ROOT应用(一个应用就是这个存在这样一种目录结构:%TOMCAT_HOME%/webapps/${appname}/WEB-INF/web.xml 或者其它的${appname}/WEB-INF/web.xml),不过这个不太像的你异常,
其它的..你把整个启动信息帖来吧.