HI ALL,
        First, thanx Serge and Mike for 'listen' to my complaing
second, PLEASE FORGIVE ME ALL!!
i bothered the list for 5 hours! the problem was my CLASSPATH!!!!
i have two copies of my java class, i continued to update only one copy
while tomcat was reading the other one
sorry again, but thanx a lot anyway for your help
best regards
        marco

> -----Original Message-----
> From: EXT Serge Knystautas [mailto:[EMAIL PROTECTED]]
> Sent: 25. July 2000 15:57
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: FW: Bug in tomcat 3.1???
>
>
> Your code worked for me (Tomcat 3.1, etc...)... one thing I noticed it
> that you didn't mention your web.xml and your jsp attempts to
> reference
> the TLD directly.  Perhaps it's grabbing a different TLD than you
> expect.  Here's the block out of my web.xml file...
>
>     <taglib>
>         <taglib-uri>
>          http://www.nokia.com/marcotags
>         </taglib-uri>
>         <taglib-location>
>            /WEB-INF/marcotaglib.tld
>         </taglib-location>
>     </taglib>
>
> And then in the JSP it looks like...
> <%@ taglib uri="http://www.nokia.com/marcotags" prefix="marco" %>
>
> I don't know... like I said, otherwise it worked for me.  I
> didn't have
> any XSL/XML files handy, but I got an except as it tried to
> read the xsl
> file specified, so it obviously was getting that far with the
> attribute.  I don't have any tags packaged up to the point
> where I could
> send them out (if I could do that, I'd probably submit them to the
> package :)
>
> Serge Knystautas
> Loki Technologies
> http://www.lokitech.com/
>
> [EMAIL PROTECTED] wrote:
> >
> > Hi Serge,
> >         thanx for your reply
> > my methods are defined public.....and i did exactly as u
> did for the capital
> > letter ...the file that i sent on the list
> > was just modified to try if it was  a 'case' problem
> > i did not use the <bodycontent> 'cause it was giving me an
> > error...'bodycontent not allowed here'..
> > when i write
> > <tag>
> >         <name>
> >         <tagclass>
> >         <info>
> >         <bodycontent>
> >
> > anyway, i will try as u suggest and let u (and the list) know
> > thanx in advance & regards
> >         marco
> >
> > > -----Original Message-----
> > > From: EXT Serge Knystautas [mailto:[EMAIL PROTECTED]]
> > > Sent: 25. July 2000 15:10
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: FW: Bug in tomcat 3.1???
> > >
> > >
> > > That's correct that the error indicates you're not
> finding the get/set
> > > pairs, but you code is right (don't do getxsl, do
> getXsl).  Attributes
> > > are supposed to be all lowercase and then capitalize the
> first letter
> > > when you append it to get/set (like standard java coding
> conventions).
> > >
> > > Since you didn't give the complete method signature, I
> would guess you
> > > didn't make those methods public.  The exact method
> signatures should
> > > be...
> > >
> > > public void setXsl(String value)
> > >
> > > public String getXsl()
> > >
> > > I've got a ton of custom tags written here and haven't had
> > > any problems
> > > like this except when I make a typo or something.  One
> thing else that
> > > might be causing a problem is that you're not specifying the
> > > bodycontent
> > > type (should be <tag>...
> <bodycontent>JSP</bodycontent>...</tag> more
> > > than likely).  This might be invalidating the tag definition.
> > >
> > > Serge Knystautas
> > > Loki Technologies
> > > http://www.lokitech.com/
> > >
> > > Michael Taylor wrote:
> > > >
> > > > Marco,
> > > >
> > > > Your methods don't match the case of the original tags.  I
> > > think you need
> > > > getxsl() and setxsl() methods if you wish to use lower
> > > case.  This mapping
> > > > isn't the greatest, I'm afraid.  I can't use all lower-case
> > > attribute names, or
> > > > attribute names with dashes as words seperators as I would like.
> > > >
> > > > Anyway, hope that helps.  The error you have definately
> > > indicates it's not
> > > > finding your get/set pair.
> > > >
> > > > Cheers,
> > > >
> > > > Mike
> > > >
> > > > On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote:
> > > > > >
> > > > > > 'Cannot find any information on property 'xsl' in a bean of
> > > > > > type 'MyTagClass'
> > > > > >
> > > > > > in the corresponding java class, i add two methods:
> > > > > >
> > > > > > setXsl(String xsl)
> > > > > >
> > > > > > getXsl()
> > > > > >
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to