Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
126 views

I took over some "legacy app" which is a SOAP web service based on WSDL files. As the app was not updated in years and failed to compile with anything but Java 8, I decided, I should try to ...
Manu's user avatar
  • 61
0 votes
0 answers
42 views

I'm currenlty working on a hotel management system, and for user management, the user should be able to search the user accounts by their ID, username, or email. So I'm having trouble with displaying ...
Moon Luna's user avatar
0 votes
1 answer
146 views

I would like to implement a remember-me functionality in my very plain servlet-based system. No Spring, No Shiro, nothing. I'm mightily struggling to make it work. On paper, it seems fairly ...
LostAndConfused's user avatar
0 votes
0 answers
85 views

I'm running a Java 21 web application with a static part under /webapp path. Until Jetty 11, we used the DefaultServlet for this. Now we get a warning that it is recommended to use the ResourceServlet ...
rawcode's user avatar
  • 105
0 votes
0 answers
74 views

I am migrating an application to Liberty. The application is servlet-based and uses JSP files. I have created Dockerfiles, a Helm chart, and Liberty configuration files such as server.xml. My ...
Mohana Krishnan G's user avatar
Advice
0 votes
1 replies
51 views

Suppose I want to create a simple counter app with three different servlets: one to read the value (GET), one to increment and one to decrement the value (both POST): readvalue.java: @WebServlet("...
bui3's user avatar
  • 152
Advice
0 votes
9 replies
121 views

<img src="images/logo.png"> I created a web project using HTML and Servlets (no JSP). When I open the HTML file directly using “Open in Browser,” the image displays correctly. But when ...
Vegada Deep's user avatar
0 votes
0 answers
63 views

So basically I have put up my backend on Render web Service (on tomcat) and my frontend(Nextjs) is on Vercel. I have put up a Filter for Cors Policy to intercept all policies and as well as handled ...
Sagar's user avatar
  • 1
0 votes
1 answer
96 views

I have a Jersey servlet project, where I organize the depencies with maven. It runs in Tomcat. Update of slf4j-api Now I am trying to use <artifactId>slf4j-api</artifactId><version>2....
BairDev's user avatar
  • 3,313
2 votes
0 answers
84 views

I have inherited some JAX-RS code with a logout function that appears to be properly "logging out" the user by redirecting to the login page, invalidating the session, and expiring the ...
Lucky's user avatar
  • 765
1 vote
1 answer
101 views

I want to be able to capture HTML content and then set a header about that content using servlet filter. I Can capture the content but I always get an error that the response has already been ...
Berlin Brown's user avatar
  • 11.8k
1 vote
1 answer
121 views

When I tried doing research on this, everything I found was how to debug an application running under Tomcat. I'm trying to debug Tomcat itself, because something strange is happening that I can't ...
Thom's user avatar
  • 15.4k
2 votes
1 answer
291 views

I manage a Tomcat/JSP webapp. We are updating our source code to conform to the recent javax -> jakarta namespace change in the Servlet package. The app uses the Apache Commons FileUpload package, ...
Borea Deitz's user avatar
0 votes
0 answers
64 views

1. System Setup Framework: Spring Boot REST API (servlet-based). Global Exception Handler: Uses @RestControllerAdvice to catch MyOperationException. Returns a ResponseEntity with HTTP 400 and a ...
Cui Pengfei 崔鹏飞's user avatar
0 votes
1 answer
174 views

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 ...
Borea Deitz's user avatar

15 30 50 per page
1
2 3 4 5
2200