- This topic has 8 replies, 4 voices, and was last updated 21 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
eclipsetrialMemberHi,
I was trying to find help about jstl/tld, but all I saw were release notes saying it is supported. So can I just use it? I was merely typing in:
<%@ taglib uri=”http://java.sun.com/jstl/core” prefix=”c” %> and got the following error message:
Unexpected Unmapped URI: http://java.sun.com/jstl/coreI assume part of my problem is missing the TLD. But where is it located and how do I get it in place?
Any help appreciated. Thanks Ron
Platform: Windows 2000
eclipse: 2.1.2
myeclipse: 2.6.200March 2, 2004 at 3:54 pm #204199
doyleMemberDude you can use it. I am. You have to put the tlds folder containing your tldc.tld in the WEB-INF also add this to your web.xml file
<taglib>
<taglib-uri>/tldc</taglib-uri>
<taglib-location>/WEB-INF/tlds/tldc.tld</taglib-location>
</taglib>Make sure you have all your proper jars or libs or vars whatever the kids are calling them these days.
March 2, 2004 at 3:56 pm #204201
Riyad KallaMemberYes doyle is absolutely right. You can also just drop the jstl.jar and standard.jar into your WEB-INF/lib (don’t need TLDs, or web.xml changes) and you can use the libs no problem. However, when you go to RUN the project, in order for the expression language to be evaluated, you need to change your web.xml header from the 2.3 version of the servlet spec DTD to the 2.4 schema. Please refer to sun docs (or the JSTL docs) on how to do this; and note that this is only if you want to be using the expression language.
March 2, 2004 at 6:33 pm #204206
eclipsetrialMemberthanks. part of my confusion was where the tld’s, standard.jar and jstl.jar resided (i thought they might be shipped with eclipse).
thanks again for the speedy reply. Ron
March 2, 2004 at 9:31 pm #204210
Riyad KallaMemberNo problem, I’m glad it helped.
Doyle thanks for the speedy help, we appreciate it!
April 12, 2004 at 12:33 pm #205877
gmichelMemberJust wondering, but is there a way to make a default JSP 2.0 template, so I don’t have to go fetch the jar files jstl.jar and standard.jar?
April 12, 2004 at 12:38 pm #205880
Riyad KallaMemberWe don’t currenlty support users creating their own templates, although its on our TODO list. You can EDIT our existing templates to better meet your needs, see this thread: https://www.genuitec.com/forums/topic/customization-of-jsp-templates/&highlight=template
April 13, 2004 at 7:43 am #205902
gmichelMemberThanks for the prompt reply.
I read that thread but it is hanging.
“I’ll ask Michael to weigh in on this, as I am not sure. ”
Also it does not quite clarify how to automate the adding of the jar files, although it does shed
some light on how to make the default jsp pages better suited to my needs.I would think that JSP 2.0 support would/should be more seemless in MyEclipse.
April 13, 2004 at 9:10 am #205905
Riyad KallaMemberJSP 2.0 support will be forth comming in MyEclipse 2.8.
Also I’ve ask M/S to comment on that thread to give you more info, sorry for the delay.
-
AuthorPosts