| Author |
Coding in the doService() JSP page.
|
Mathew Chen
Greenhorn
Joined: Aug 01, 2005
Posts: 18
|
|
Hi, Are there situations where we need to write code in the doService() or any of the other methods in JSPs?I for one haven't had the need to.Just curious to know if there is ever a need? Thanks Mathew
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
Just about everything in the JSP: template text, scriplets and scriplet expressions end up as code in the service method. I think you'll have to be more specific about what you are asking.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Mathew Chen
Greenhorn
Joined: Aug 01, 2005
Posts: 18
|
|
Thanks for your reply Bear.Do you mean the scriplets and the other code which you write in a JSP page?If you are talking about them then I agree that they are part of the doService() in the background.But is it possible to specifically write code in the doService() of the JSP.I guess not because the servlet results only after the jsp page is compiled. Thanks Mathew
|
 |
 |
|
|
subject: Coding in the doService() JSP page.
|
|
|