HI,

Thanks for the solution. I tried to convert just the taglib directive to
XML syntax. The page contains other tags in conventional scripting
style.

The error I get is was as follows:

org.apache.jasper.JasperException: /login.jsp(12,5) jsp.error.badaction
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:94)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:417)
        at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
:126)
        at
org.apache.jasper.compiler.Parser.parseAction(Parser.java:676)
        at
org.apache.jasper.compiler.Parser.parseElements(Parser.java:807)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
199)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
153)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)

Thanks,
Suresh

>-----Original Message-----
>From: David M. Karr [mailto:[EMAIL PROTECTED]] 
>Sent: Monday, January 13, 2003 12:11 AM
>To: [EMAIL PROTECTED]
>Subject: Re: jsp:directive.taglib doesn't work
>
>
>>>>>> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes:
>
>    Suresh> Hi,
>    Suresh> Slightly off-topic, but a basic JSP question.
>
>    Suresh> I found that XML-based tag for taglib is not 
>working for me, where as
>    Suresh> the scripting-oriented tag works fine.
>
>    Suresh> <jsp:directive.taglib uri="url to taglib" 
>prefix="tagprefix"/> --
>    Suresh> doesn't work
>    Suresh> <%@ taglib uri="url to taglig" prefix="tagprefix" 
>%> - works
>
>    Suresh> Any idea why the first syntax wouldn't work? I am 
>using Tomcat 4.1.12 on
>    Suresh> Win2K.
>
>Are you trying to convert the entire page to the XML syntax, 
>or just that one
>directive?
>
>I believe you can't do it piecemeal, it has to be the entire page.
>
>When you say it "doesn't work", what exactly happens?
>
>-- 
>===================================================================
>David M. Karr          ; Java/J2EE/XML/Unix/C++
>[EMAIL PROTECTED]   ; SCJP; SCWCD
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user->[EMAIL PROTECTED]>
>For 
>additional commands, 
>e-mail: <mailto:[EMAIL PROTECTED]>
>

**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to