redis.clients.jedis.exceptions.JedisConnectionException:...
While trying to use Jedis.get(key) while accessing the Redis using Jedis I'm getting this error.redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe (Write...
View ArticleTomcat cannot find jar in webapp's lib folder [duplicate]
Have a test servlet that connects to Mariadb jdbc connection.It's not finding the jar file that's in the WEB-INF/lib folder - the jdbc driver.If I save the jar file in catalina's lib folder, I get the...
View ArticleServlet doesn't go to JSP
When I am my ConfirmServlet at the end of the doPost() it should open my ResultServlet. But instead the link stays /Confirm at the end and I get a blank page. Could anyone help me what's wrong with my...
View ArticleGetAttribute returns null JSP, JavaEE [closed]
when i execute this, as on my training, I get null, I have test the others anwsers in this forum and don't work for me, i don't understanbd, tanks !Servlet :@Overrideprotected void...
View ArticleWhat's wrong with this servlet code? Why can't it update the database? [closed]
As far as I know, it is not a client side issue as I am able to perform this action via checking network logs on chrome, not sure how do I check the server logs via GlassFish though..Also an additional...
View ArticledoGet and doPost in Servlets
I've developed an html page that sends information to a servlet. In the servlet, I was using the method service to get that information and perform operations.I've read that other methods that I could...
View ArticleWorking with jsp files not html except login.html which is first page...
I am working with web project using Servlet. When I am redirecting to after login.html form it is not showing .html file but .jsp with same content.Here is my code screenshot and directory structure.As...
View ArticleHow to map one servlet on multiple URL patterns?
I want to use one servlet for many pages. when i try to run the project, an error occurs because the request is full. have tried many options for URL patterns, but nothing comes outright now, i see...
View ArticleShutting down an ExecutorService
In Tomcat, I wrote a ServletContextListener which will start an ExecutorService during startup and terminate it when it is unloaded.I am following the example in the javadoc for ExecutorServicepublic...
View Articledwr-2024 package throws internal version error
I have an older Java/JSP application that I have to update to Tomcat 10 by May 31, 2025. This change in Tomcat versions covers Java's recent javax -> jakarta API namespace change in the packages...
View ArticleBeanAlreadyExistsException - Oracle WebLogic
I deployed an app on my web server and now I am trying to deply another one on the web server and I am getting a BeanAlreadyExistsException. I thought it might be due to the fact that I have two beans...
View ArticleGoogle Recaptcha v3 example demo
Until now, I was working with Google Recaptcha v2, but now I want to update my WebApp using the lastest version (v3).Is it possible to anyone add a fully working Google Recaptcha v3 example for a basic...
View ArticleGlobalpayment return_url redirection [closed]
I'm integrating GlobalPayments' Hosted Payment Page (HPP) in my Java Servlet-based application. The payment page is working fine, and transactions are successful. However, after completing the payment,...
View ArticleSend array from one servlet to another servlet and print it?
First of all, I want to send parameters from html to Servlet and it works.Then I create an array from parameters and I want to send that array to another servlet. and just print it in Servlet2.Here is...
View ArticleIssue regarding JSP Forward
In my code I am trying to forward my request by using below line<jsp:forward page = "<%=request.getContextPath()%>/Welcome.do"/>However its giving error...
View Article