Home Ask Login Register

Developers Planet

Your answer is one click away!

Mayur Tolani February 2016

Can Multiple different Servlets be run Sequentially in a java EE project?

I am having a html page, which takes in the username and password and takes it to the servlet for authenticating. If authenticated, it gets a link to go to another html page, which accepts input for placing a order, this inputs are finally passed to a servlet, which makes the data persistent by storing it in the database,

By far, i can make a html page for username and password and a servlet for authenticating. even the link for going to another html page, which accepts the input of the order details also works, after that, the servlet does not work.

Using Glasfish Server and netbeans for development.


Jérémie B February 2016

check Servlet Filter : they are invoked before/after a servlet, and are used to handle authentication, caching, etc

Post Status

Asked in February 2016
Viewed 2,949 times
Voted 8
Answered 1 times


Leave an answer

Quote of the day: live life