A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
where to use these things in good programming way
Joined: Jul 18, 2011
Jul 20, 2011 05:20:06
, i am having a problem that in which conditions we have to use jsp and in which condition we have to use servlets, and i have to know where to write the
code in good programming case, can any hep mee.......
Joined: Jul 09, 2011
Jul 20, 2011 05:30:48
Jsps are used for View. It is mainly used for displaying to the client.
Servlets are used for controllers. This contains Business logic.
SCJP | SCWCD | OCA
Author and ninkuma
Joined: Jan 10, 2002
Jul 20, 2011 12:03:56
If you are putting Java code in your JSP, you're doing wrong.
If you are creating HTML in a
, you're doing it wrong.
might be helpful.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: where to use these things in good programming way
Diffrence between JSP and Servlets
Question for frank carver ..........
jdbc code where i have to write in best programming way
Doubts about Servlets and JSP(Please explain all my doubts with examples clearly)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015