'Information flow when redirecting from HTML to Servlet
I have a question regarding the information flow of a simple link. Let's say I have an HTML that does this:
<a href="servlet">Go to Servlet</a>
And in that servlet, I have a doGet
, doPost
, and a lot of other methods. Where does the information go to at first? Which block will be the first to kick in?
I know servlets shouldn't have all these methods and responsibilities, it's just a piece of code from a book (Professional java for web applications) that will introduce JSPs later on.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|