Hi,
    Thanks a lot. It worked. What I did is, as you have suggested kept jar in 
WEB-INF/lib and tld in WEB-INF/tlds and copied web.xml from examples folder to 
Skillset/Web-INF folder. And it worked. Thanks a million for your inputs, I guess, I 
was doing some minor error in giving the paths.

Thanks again,
Smita

Hans Bergsten <[EMAIL PROTECTED]>:

> Smita Kotnis wrote:
>
> > Hi thanks for reply,
> >
> > I fear, my mail server is adding the backslashes. I actually have not
> added these in my code. I tried with your suggestions and still it is
> not working. I have put my jar file in this path,
> > E:\\\\jakarta-tomcat-3.2.3\\\\webapps\\\\skillset\\\\WEB-INF\\\\lib
> >
> > is it okay? Is this is the correct place to keep that jar?
>
>
> Yes, like I said, the JAR file must be stored in the WEB-INF/lib
> directory. This is because it contains all the Java class files for
> the tag library, and the container looks for JAR files in the
> WEB-INF/lib directory for the application.
>
> > After this i used the tag as,
> > <%@ taglib uri=\\\"/WEB-INF/lib/uptag.jar\\\" prefix=\\\"up\\\" %>
>
>
> Assuming this directive is used in a JSP page located under
> E:\\jakarta-tomcat-3.2.3\\webapps\\skillset, and that the JAR file
> contains the TLD in META-INF/taglib.tld, this should work fine.
>
>  > Is any thing else is to be done? Like putting tld file some where.
>  > Right now it is at one place (WEB-INF/tlds)..
>
> Like I said earlier, you can point to the TLD file instead of the
> JAR. In fact, if the JAR does not contain the TLD, this is what
> you have to do. If you have the TLD in
> E:\\jakarta-tomcat-3.2.3\\webapps\\skillset\\WEB-INF\\tlds\\mylib.tld,
> use
> <%@ taglib uri=\"/WEB-INF/tlds/mylib.tld\" prefix=\"up\" %>
>
> Any one of these alternatives should work. And they do. I\'ve done
> it many times, with many different web containers, and it\'s how the
> JSP specification says it should be done. All you have to do is
> be very careful with the typing the paths correctly, including
> upper and lowercase letters.
>
>  > I am really not understanding what is happening here. This tag
>  > I am using for uploading a file from client.  Alternatively, can
>  > you please suggest me some servlets for uploading a file? JSP Smart
>  > upload is distorting the tables of a word file.
>
>
> You can always search for \"file upload servlet\" or something similar
> on Google, but that\'s not really a solution to this problem. I
> assume you want to use tag libraries for other things eventually,
> and then you have to figure out what you\'re doing wrong with the
> taglib directive anyway.
>
> Hans
> --
> Hans Bergsten           [EMAIL PROTECTED]
> Gefion Software         http://www.gefionsoftware.com
> JavaServer Pages        http://TheJSPBook.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: \"signoff
> JSP-INTEREST\".
> For digest: mailto [EMAIL PROTECTED] with body: \"set JSP-INTEREST
> DIGEST\".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

-------------------------------------------------
This mail helped a tree grow. Know more at http://green.sify.com

Take the shortest route to success!
Click here to know how http://education.sify.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to