tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "red phoenix" <>
Subject import files question under Tomcat6.0.13
Date Thu, 12 Jul 2007 07:39:40 GMT
I tried with <c:import> to import a struts action,it raises a question,I use
Tomcat6.0.13,my directory is follows:

when I use visit
it raise following error:
The requested resource (/struts2-blank-2.0.8/example/HelloWorld.action) is
not available

But when I use
http://localhost:8080/struts2-blank-2.0.8/example/HelloWorld.action, it can
runs well.
My a.jsp file is follows:
<%@ taglib prefix="c" uri="" %>
<c:import url="/example/HelloWorld.action"/>

 If I use absolute path,it can runs well,like follows:
<c:import url="

Someone say before Tomcat5,it will run well,but after Tomcat5 or higher,it
will raise above error.I only want to use relative path,not absolute path,I
don't know why raise above error,and how to correct it?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message