Hello,
 
When i try to execute the first Example taken from the tag-tutorail in orion server documentation. Iam getting the Following error:
 
 

500 Internal Server Error

Error parsing JSP page /taglib-tutorial/taglib-tutorial-web/helloWorld.jsp line 1
Unable to find taglib archive at file at D:\orion\applications\nbizdev\niagabiz-web\web-inf\lib\taglib.jar
 
What is the reason for this ? Taglib.jar file is there in the taglib directory itself. Even i described in the web.xml but of no use.
The code in the jsp page is
 
<%@ taglib uri="/web-inf/taglib.jar" prefix="mt" %>
 
 
When I modify the JSp code
 
from
 
<%@ taglib uri="/web-inf/taglib.jar" prefix="mt" %>
 
 
to
 
 
 
<%@ taglib uri="/web-inf/taglib.tld" prefix="mt" %>
 
 
 
 
The Following error is generated :
 

500 Internal Server Error

java.lang.IllegalArgumentException: Error parsing tag-library file:/D:/orion/applications/nbizdev/niagabiz-web/web-inf/taglib.tld: XML declaration may only begin entities.

at javax.servlet.jsp.tagext.TagLibraryInfo.<init>(TagLibraryInfo.java)
at com.evermind.server.http.TagLibraryArchive.<init>(JAX)
at com.evermind.server.http.TagLibraryArchive.r9(JAX)
at com.evermind.server.http.d_.r3(JAX)
at com.evermind.server.http.HttpApplication.r3(JAX)
at com.evermind.server.http.eg.tn(JAX)
at com.evermind.server.http.eg.sm(JAX)
at com.evermind.server.http.JSPPage.sm(JAX)
at com.evermind.server.http.HttpApplication.v4(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
 
 
Can anybody help me out in solving this problem. Iam struggling since 2 days to solve this problem 
but could not able to trace why the error is generating ?
Please help me out in this concern...
Thanks 
Srinivas
 

Reply via email to