Java Servlet: No caching of parameters
Budget: $10 – $30 USD
I need a simple Java servlet that handles form submission data. The servlet should not should not cache any parameters in the browser.
You can use:
https://www.tutorialspoint.com/servlets/servlets-server-response.htm
as a sample.
My problem is that I have used:
res.setHeader("Cache-Control", "no-cache");
res.setHeader("Cache-Control", "no-store");
res.setHeader("Cache-Control", "max-age=0");
res.setHeader("Pragma", "no-cache");
res.setHeader("Pragma", "no-store");
res.setDateHeader("Expires", 0);
but still the parameters are stored. Please see attached screen print.
Ideal Skills:
- Proficiency in Java and servlet development
- Familiarity with form handling and validation
- Understanding of web caching and how to prevent it
Key Requirements:
- The servlet must handle form submission data
- Caching of parameters in the browser must be avoided
I will pay a maximum of $25 for this.
You can use:
https://www.tutorialspoint.com/servlets/servlets-server-response.htm
as a sample.
My problem is that I have used:
res.setHeader("Cache-Control", "no-cache");
res.setHeader("Cache-Control", "no-store");
res.setHeader("Cache-Control", "max-age=0");
res.setHeader("Pragma", "no-cache");
res.setHeader("Pragma", "no-store");
res.setDateHeader("Expires", 0);
but still the parameters are stored. Please see attached screen print.
Ideal Skills:
- Proficiency in Java and servlet development
- Familiarity with form handling and validation
- Understanding of web caching and how to prevent it
Key Requirements:
- The servlet must handle form submission data
- Caching of parameters in the browser must be avoided
I will pay a maximum of $25 for this.
Related categories:
Business, Accounting, Human Resources & Legal
JSP
JavaScript
J2EE
Software Architecture