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.

How to use if-else option in JSTL

Is there an if-else tag available in JSTL?

jsp jstl
Include another JSP file

I am currently trying to learn JSP. My question is, at present I used to include the header and footer …

jsp
What is the difference between JSF, Servlet and JSP?

I have some questions. These are : How are JSP and Servlet related to each other? Is JSP some kind of …

java jsp jsf servlets jakarta-ee
How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved

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 …

jsp servlets jstl
Redirect to an external URL from controller action in Spring MVC

I have noticed the following code is redirecting the User to a URL inside the project, @RequestMapping(method = RequestMethod.POST) …

java spring jsp spring-mvc
How to use Servlets and Ajax?

I'm very new to web apps and Servlets and I have the following question: Whenever I print something inside the …

java ajax jsp servlets
Difference between getAttribute() and getParameter()

What is the difference between getAttribute() and getParameter() methods within HttpServletRequest class?

java jsp servlets
JSTL if tag for equal strings

I've got a variable from an object on my JSP page: <%= ansokanInfo.getPSystem() %> The value of the variable …

java jsp websphere jstl jsp-tags
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CollegeWebsite]]

org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].…

java jsp tomcat servlets unsupported-class-version
How can I submit a POST form using the <a href="..."> tag?

How can I submit a POST form to showMessage.jsp using just the <a href="..."> tag? <form …

html forms jsp