Java Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 302
Number of posts: 624

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
jsp Posted by annapurnach on 26 Mar 2009 at 11:09 PM
why jsp is converted into servlet
Report
Re: jsp Posted by KeyCode on 27 Mar 2009 at 9:12 AM
JSP is just a fancy way of defining how your Servlet should look like.
Everything you write into JSP goes either directly into Servlets service method or new Servlet mehod is created when <%! is used.

With Serlvets you would need to put your HTML code into double qoutes and since JAVA doesn't support multi line strings this would be very annoying.

After changing Servlet Web Application needs to be reloaded while JSP is reloaded automaticly.






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.