Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on diif b/w servlets and jsp within the Java forums, part of the Software Development category; Although i know jsp and servlets up to some extent, but i have some confusion i know the advantages of jsp over servlets!but the problem is that can any one ...
|
|||||||
|
|||
|
Although i know jsp and servlets up to some extent, but i have some confusion i know the advantages of jsp over servlets!but the problem is that can any one tell me what are the advantages of servlets over jsp. I think servlets may b quick but please reply. Bye
__________________
:) NEVER SAY DIE. |
| Sponsored Links |
|
|||
|
Re: diif b/w servlets and jsp
We already discuss about this....Goto the following URL....It may be helpful to you...
http://www.geekinterview.com/talk/17...rvlet-jsp.html ------------------ suresh |
|
|||
|
hi suresh
I think so u have got it wrongl,but my question was ADVANTAGES of SERVLETS over JSP ?(and not vice versa) the link provided by you tells the advantages of JSP ,but not to my question During an interview,the interviewer asked me to tell advantaes of SERVLETS over JSP? Bye
__________________
:) NEVER SAY DIE. |
|
|||
|
Re: diif b/w servlets and jsp
I think in JSP, they acheive all the goals of servlet.....
According to my knowledge i hava only one difference. "Servlets are faster than jsp". (Sorry for the wrong post) ------------------ suresh |
|
|||
|
Re: diif b/w servlets and jsp
hi suresh
its fine! no need to be sorry. but plz see my first post, where i have written the same thing which u have written now i.e "servlets are faster than jsp". (I have written in my post that "servlets are quick".) I told the interviewer the same thing i.e when we save JSP program then v save it as .jsp .So i told him that JSP take more time since .jsp is converted to .java. But then interviewer told me (and rightly so)that this will happen only ONCE, i.e once .class file is formed then this is not a problem. Then i didnot knew any other differences. Anyway if u get one ,then plz do tell me bye
__________________
:) NEVER SAY DIE. |
|
|||
|
Re: diif b/w servlets and jsp
hi kalayama
(please read the previous posts too) I think you can explain this topic more!So asking you. I asked from many but iam not sure what exact answer.One told that in servlets we dont have unnecessary coding! is it correct? Also if you know some other points, then please tell me! bye
__________________
:) NEVER SAY DIE. |
|
|||
|
Re: diif b/w servlets and jsp
Quote:
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR] Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!" |
|
|||
|
Re: diif b/w servlets and jsp
the main differerence is in servlets we must use java code completely.where as in JSP ni need ti use java code.without knowing about java we can devolop JSP's.And also we use JSP's kto kdesign user interface screens where as servlets we write internal logic of the application......bye chary.
|
|
|||
|
Re: diif b/w servlets and jsp
even though jsp is converted into servlet only once, the time require to dovelepe a jsp takes very less time than doveloping a servlet, but performance wise servlets are first over jsp
but majority of doveloperd preferedf jsps because of two reasons 1.time required to dovelope jsp is takes less time than servlet 2.so, overall dovelopement time and cost can be redused 3.in majority of cases the performance level expected by clients can achived by jsps |
|
|||
|
Re: diif b/w servlets and jsp
One of the main difference between Jsp and Servlets is content separation. ie. static content and dynamic content can be separated in Jsp not as servlet
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Real time examples for EJB, JSP servlets | JobHelper | JSP | 2 | 07-24-2007 02:27 PM |
| number of servlets in a web container | JobHelper | Java | 3 | 03-06-2007 09:18 AM |
| Testing for Applets and Servlets | JobHelper | Testing Issues | 0 | 12-17-2006 02:45 AM |