+ 3

How to configure servlet in java(maven web) ?

I need to send some data from one jsp to other jsp through servlet. how to configure it on pom.xml file. this is maven project.

29th Dec 2017, 4:45 AM
Krishanu Debnath
Krishanu Debnath - avatar
1 Answer
0
Maven is not for the purpose you are asking for, it's just a dependency manager. To send data from one servlet to other or one JSP to other, you can use request.setAttribute("name", "value") in one and request.getAttribute("name") in other
21st Jun 2019, 7:13 PM
Rohan Gupta