Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Errors in jsp files

Status
Not open for further replies.

zhixiong

Programmer
Jan 13, 2003
13
SG
When i type at the IE address to view the file , the following error came out
org.apache.jasper.JasperException: This absolute uri ( cannot be resolved in either web.xml or the jar files deployed with this application

Can anyone please explain what it means and is there any ways to solve this error. Thankyou very much....
 
If u are using Tomcat, all teh tag libraries .tld files need to be kept under <Tomcat root>\webapps\<application root>\WEB-INF & all these need to have corresponding entries in web.xml under <Tomcat root>\webapps\<application root>\WEB-INF.

The entry in web.xml :

<taglib>
<taglib-uri>
WEB-INF/struts-template.tld
</taglib-uri>
<taglib-location>
/WEB-INF/struts-template.tld
</taglib-location>
</taglib>

Fro struts tags, all the struts tld files need to have such an entry.

Payal.
 
Err..I i put it in the correct folder I guess... actually this is an example which I downloaded from the net. I am trying to understand the example but i need to get it to works first.

The code that i have in web.xml is:

<taglib>
<taglib-uri>
</taglib-uri>

<taglib-location>
/WEB-INF/xtags.tld
</taglib-location>
</taglib>

NOt very sure if there is any errors with it???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top