I'm assuming you know what a POJO is.
This is best used in conjunction with both servlets and JSPs.
You create your POJO, set a value and add to request in servlet.
You output the value in the JSP.
I love this place!
Joined: Mar 22, 2005
Welcome to JavaRanch.
What does he mean by that? Surely the servlet can instantiate some other Java object -that does not implement any interface- to do the work of creating the "Hello World" string for it. Is that what you're asking?
if i want to write it out in pojo can you give me the sample please.
Because am confused with the annotations they are trying to say.
Joined: Feb 22, 2005
Kirthika Mohan wrote:servlet and pojo are combined is it???
No they're NOT combined by ANY yard of imagination! They work in conjunction.
Probably a little reading on POJO and Servlet will help you in the long run.
Joined: Aug 27, 2008
pojo is just a way of separating your bussiness from your application.........so if in future if you want to change the logic you can simply go to your mvc (model view control)
.......and change the logic !!
try to refer HFJS......THAT WILL HELP YOU A LOT....its OVER COOL but fine it have all we ever wanted in a book !!!