Top "Jsp" questions

JSP (JavaServer Pages) is a Java-based view technology running on the server machine which allows you to write template text in (the client side languages like HTML, CSS, JavaScript and so on) and interact with backend Java code.

Check a collection size with JSTL

How can I check the size of a collection with JSTL? Something like: <c:if test="${companies.size() > 0}"&…

jsp collections jstl
How to resolve : Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ page import="com.library.controller.*"%> &…

java jsp jstl
How can I avoid Java code in JSP files, using JSP 2?

I'm new to Java EE and I know that something like the following three lines <%= x+1 %> <%= request.…

java jsp scriptlet
How do I set Tomcat Manager Application User Name and Password for NetBeans?

I'm trying to follow a tutorial to make an extremely basic Java web application in NetBeans. When I try to …

java jsp tomcat netbeans
How to do if-else in Thymeleaf?

What's the best way to do a simple if-else in Thymeleaf? I want to achieve in Thymeleaf the same effect …

java jsp if-statement jstl thymeleaf
HTTP Status 404 - The requested resource (/) is not available

I integrated Tomcat 7 in Eclipse. When I start it using Eclipse, it shows that Tomcat is up and running, but …

eclipse jsp tomcat http-status-code-404
How to differ sessions in browser-tabs?

In a web-application implemented in java using JSP and Servlets; if I store information in the user session, this information …

jsp servlets browser web-applications sessionid
A child container failed during start java.util.concurrent.ExecutionException

I tried to create/run a basic JSP and ran into the following error. I saw that other people have …

java jsp tomcat classnotfoundexception
How comment a JSP expression?

How can I comment a JSP expression like: <%= map.size() %> Is there something like <%= // map.size() %>?

jsp comments
How to get a index value from foreach loop in jstl

I have a value set in the request object like the following, String[] categoriesList=null; categoriesList = engine.getCategoryNamesArray(); request.setAttribute("…

java jsp for-loop foreach jstl