Top "Servlets" questions

Servlet is a Java application programming interface (API) running on the server machine which can intercept the requests made by the client and can generate/send a response accordingly.

"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
How do I import the javax.servlet API in my Eclipse project?

I want to develop with Servlets in Eclipse, but it says that the package javax.servlet cannot be resolved. How …

java eclipse servlets
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 to solve javax.net.ssl.SSLHandshakeException Error?

I connected with VPN to setup the inventory API to get product list and it works fine. Once I get …

java servlets paypal vpn sslhandshakeexception
How do you return a JSON object from a Java Servlet

How do you return a JSON object form a Java servlet. Previously when doing AJAX with a servlet I have …

java json servlets
doGet and doPost in Servlets

I've developed an HTML page that sends information to a Servlet. In the Servlet, I am using the methods doGet() …

java servlets
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
HttpServletRequest get JSON POST data

I am HTTP POST-ing to URL http://laptop:8080/apollo/services/rpc?cmd=execute with POST data { "jsondata" : "data" } Http request …

java json post servlets
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
The import javax.servlet can't be resolved

I'm trying to use eclipse for Java EE to develop web applications. I need to use Tomcat as my server. …

java eclipse tomcat servlets