Skip to main content

Questions tagged [jstl]

JSTL (Jakarta Standard Tag Library) is a XML based standard tag library which offers tags to control the flow in a Facelets or JSP page, date/number formatting and internationalization facilities and several utility EL functions.

0 votes
0 answers
20 views

JSP Page corrupting after closing and re-opening eclipse

This is the second time this has occurred for me. The first one I wasn't sure if I had saved or not before closing Eclipse but this one I'm sure I've saved before closing it. So, after saving and ...
0 votes
1 answer
34 views

java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport

I have the following code in a JSP file for the tags which is included in all of my JSP files at the top: <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> &...
0 votes
3 answers
3k views

Displaying bean in JSTL [duplicate]

I've problem displaying details of a bean using JSTL. My servlet code is as follow protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ...
0 votes
1 answer
1k views

Can we use JSTL in ReactJS?

Is it possible to use JSTL (JavaServer Pages Standard Tag Library) along with ReactJS and JSP? ReactJS uses JSX (JSX is a syntactic extension to Javascript). Same way can it use and implement JSTL ...
-3 votes
0 answers
27 views

Unable to use JSTL with embedded tomcat, returns Http Status Code 500 [duplicate]

"The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application" I've scoured the web for hours trying various ...
11 votes
1 answer
32k views

Could not find file ${libs.jstl11.classpath} to copy

Good day guys. I have this project in netbeans that when I try to run, it gives out an error message: "Warning: Could not find file C:\wamp\folder1\${libs.jstl11.classpath} to copy. BUILD FAILED (...
4 votes
2 answers
2k views

How can I format LocalDateTime to present it in JSP view

I'm going to format LocalDateTime value in JSP view. I'm using Spring and Java 8. Now my view displays LocalDateTime value: "2016-08-05T22:19:05.034" but I would like to print date in format like ...
15 votes
4 answers
35k views

How to capitalize first letter with JSTL/CSS?

I am coding a JSP/JSTL application. I would like to style a link with the first letter uppercase and the rest lowercase. For example "my LINK" would become "My Link". I saw that in CSS I can do: <...
0 votes
2 answers
799 views

Dealing with SELECT tags that have 10,000 options, page takes a full minute to load

I have a simple web page that uses a select tag to let users choose items that are not in a database table. The problem is that the number of options can sometimes hit 10,000 or more. When the ...
1 vote
1 answer
1k views

value="${fn:escapeXml(true)}"/> Is it useful?

Have a quick question: value="${fn:escapeXml(true)}"/> This code above, I am using it within a hidden input field as below in various forms: <input type="hidden" name="...
26 votes
5 answers
23k views

How to concatenate a String in EL?

How do I get the promoPrice variable to print as part of the string ONLY $4.67? <c:set var="promoPrice" value="4.67" /> <p>${(promoPrice != null) ? "ONLY $${promoPrice}" : "FREE"}</p&...
6 votes
4 answers
12k views

web.xml for jstl [duplicate]

I tried codes with jstl. The exception is org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with ...
191 votes
23 answers
493k views

How to install JSTL? It fails with "The absolute uri cannot be resolved" or "Unable to find taglib" or NoClassDefFoundError or ClassCastException

I don't know what I've done incorrectly, but I can't include JSTL. I have jstl-1.2.jar, but unfortunately I get exception: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/...
0 votes
0 answers
34 views

Getting java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator in my Java Web Application project [duplicate]

I'm working on a Java web application and I'm encountering the following exception when I try to deploy my project: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator at ...
0 votes
0 answers
18 views

Unable to load tag handler class [org.apache.taglibs.standard.tag.rt.sql.QueryTag] for tag [sql:query] [duplicate]

I am new to JSP pages. I am trying to use core Tags and sql tags in JSP using JSTL. But somehow I am getting the following error.Error 500 on Compilation My JSP file is as follows: <%@ page ...

15 30 50 per page
1
2 3 4 5
366