----- Original Message -----
Sent: Tuesday, March 13, 2001 3:40
PM
Subject: SV: Problem in Executing the
First Example given in the Orion taglib-tutorial Documentation !!
I noticed that lesson 1 says 'mytags.tld' at one location and
'taglib.tld' at another.
I will fix this this evening.
Could this be the source to your problems?
If you have named your taglib file 'taglib.tld' make sure that you
use that name when referencing it too.
WR
Hi Magnus Rydin,
Here is the file which u want to have a
look on it.
Here is the taglib.tld file , Please check
whether it has any errors.
Taglib.tld file
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>mt</shortname>
<uri>http://www.orionserver.com/tutorials</uri>
<info>My first Tag library</info>
<tag>
<name>helloWorld</name>
<tagclass>com.acme.tag.HelloWorldTag</tagclass>
<bodycontent>empty</bodycontent>
<info>A Hello world Tag</info>
</tag>
</taglib>
------ end of file--------------------
CH.Srinivas Babu
Java Application Developer
Ph: 006027189333
Extn - 8224
Mobile : 0060173837232
----- Original Message -----
Sent: Monday, March 12, 2001 3:50
PM
Subject: SV: Problem in Executing
the First Example given in the Orion taglib-tutorial Documentation
!!
It sounds like your tag library descriptor has faults. Please
include your taglib.tld and we can have a look at
it.
WR
Hi,
I have downloaded the Helloworld.jsp,
taglib.tld and helloworld .java compiled and got helloworld.class
.
and created the same directory
structure as mentioned in the documentation of taglib-tutorial. I
could able to compile HelloWorld.java
when i run the HelloWorld.jsp , it
produces the following error :
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)
I tried a lot to find out the cause of this problem. But could not succeed. I wasted 2 full days in
rectifying this problem. Please help me. this Problem is making me mad...
thanks
a lot.
Srinivas