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.

"PKIX path building failed" and "unable to find valid certification path to requested target"

I'm trying to get tweets using twitter4j library for my java project. On my first run I got an …

java jsp servlets twitter4j
if...else within JSP or JSTL

I want to output some HTML code based on some condition in a JSP file. if (condition 1) { Some HTML code …

jsp if-statement jstl
Download a file by jQuery.Ajax

I have a Struts2 action in the server side for file downloading. <action name="download" class="com.xxx.DownAction"&…

javascript jquery ajax jsp download
Evaluate empty or null JSTL c tags

How can I validate if a String is null or empty using the c tags of JSTL? I have a …

jsp jstl el
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

I have a project created by Maven integration in Eclipse. All work fine, but in the work space in all …

java eclipse jsp maven web
How to submit form on change of dropdown list?

I am creating a page in JSP where I have a dropdown list and once the user selects a value …

html jsp
How to upload files to server using JSP/Servlet?

How can I upload files to server using JSP/Servlet? I tried this: <form action="upload" method="post"> &…

java jsp jakarta-ee servlets file-upload
How do you import classes in JSP?

I am a complete JSP beginner. I am trying to use a java.util.List in a JSP page. What …

java jsp
How to get parameters from the URL with JSP

In JSP how do I get parameters from the URL? For example I have a URL www.somesite.com/Transaction_…

java jsp url get-method
How to solve the “failed to lazily initialize a collection of role” Hibernate exception

I have this problem: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: mvc3.model.Topic.comments, no …

java spring hibernate jsp spring-mvc