help jsp not run on another path except /

bugton

Member
Jul 28, 2003
18
0
151
i installed tomcat 5.5.25
with http://www.domain.com/something.do it's work fine
but on another path such as http://www.domain.com/path/something.do or /path/something.jsp

it's show file not found error 404
-------------------------------------------------------------------
type Status report

message /research/main.do

description The requested resource (/research/main.do) is not available.
--------------------------------------------------------------------

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
org.apache.jasper.compiler.Parser.parse(Parser.java:127)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.
 

qwidjib0

Member
PartnerNOC
Aug 3, 2005
15
0
151
Chicago, Illinois
Good chance your archive at the root level is conflicting with it.. generally a servlet generates URL's dynamically. You might try running the second from a subdomain instead (make sure you enable servlets for that individually as well).
 

braweb

Member
Dec 20, 2004
20
0
151
Colombia
Problem Solved?

Hello,

Did you found a solution for this problem? Im having the same problem.

Thank you!
 

ikillbill

Well-Known Member
Feb 18, 2008
119
0
66
we have thesame issues, if we put .jsp under subfolder, it always shows

org.apache.jasper.JasperException: Unable to compile class for JSP:

if we put it under / , working fine

could you please check?