Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Thursday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
ElaKiri Programmer's Club
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="KingCM" data-source="post: 18555738" data-attributes="member: 482722"><p><span style="color: DarkOrchid"><span style="font-size: 12px"><p style="text-align: center"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">JSP thiyaganna View point ekata,podi podi logic nam JSp eke liwwata kamak na.</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">loku loku ewanam servlet ekka deal karapan.</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">JSP --> servlet --->compiled</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">servlet----> compiled</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">dan mokakda methanin wadiyenma efficient.?..........</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">step 2k gihin compiled wena JSP da? nathnam directly compiled wena servlet da?</p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px"></p></span></span></p><p style="text-align: center"><span style="color: DarkOrchid"><span style="font-size: 12px">--------------------------------------------------------------------------------------------------</p><p></span></span></p><p></p><p><span style="color: SandyBrown"><span style="font-size: 12px">A very basic difference:</span></span></p><p></p><p><span style="color: Purple"><span style="font-size: 15px">Servlet is html in java</span></span></p><p><span style="color: Purple"><span style="font-size: 15px">JSP is java in html</span></span></p><p></p><p><span style="color: DarkOrange"><span style="font-size: 15px">Other diff are:</span></span></p><p></p><ul> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">JSP is a webpage scripting language that can generate dynamic content while Servlets are Java programs that are already compiled which also creates dynamic web content<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">Servlets run faster compared to JSP<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">JSP can be compiled into Java Servlets<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">It’s easier to code in JSP than in Java Servlets<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">In MVC, jsp act as a view and servlet act as a controller.<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">JSP are generally preferred when there is not much processing of data required. But servlets are best for use when there is more processing and manipulation involved.<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">The advantage of JSP programming over servlets is that we can build custom tags which can directly call Java beans. There is no such facility in servlets.<br /> </span></span></li> <li data-xf-list-type="ul"><span style="color: DarkOrchid"><span style="font-size: 12px">We can achieve functionality of JSP at client side by running JavaScript at client side. There are no such methods for servlets.</span></span></li> </ul></p></blockquote><p></p>
[QUOTE="KingCM, post: 18555738, member: 482722"] [COLOR="DarkOrchid"][SIZE="3"][CENTER] JSP thiyaganna View point ekata,podi podi logic nam JSp eke liwwata kamak na. loku loku ewanam servlet ekka deal karapan. JSP --> servlet --->compiled servlet----> compiled dan mokakda methanin wadiyenma efficient.?.......... step 2k gihin compiled wena JSP da? nathnam directly compiled wena servlet da? --------------------------------------------------------------------------------------------------[/CENTER][/SIZE][/COLOR] [COLOR="SandyBrown"][SIZE="3"]A very basic difference:[/SIZE][/COLOR] [COLOR="Purple"][SIZE="4"]Servlet is html in java JSP is java in html[/SIZE][/COLOR] [COLOR="DarkOrange"][SIZE="4"]Other diff are:[/SIZE][/COLOR] [COLOR="DarkOrchid"][SIZE="3"][LIST] [*]JSP is a webpage scripting language that can generate dynamic content while Servlets are Java programs that are already compiled which also creates dynamic web content [*]Servlets run faster compared to JSP [*]JSP can be compiled into Java Servlets [*]It’s easier to code in JSP than in Java Servlets [*]In MVC, jsp act as a view and servlet act as a controller. [*]JSP are generally preferred when there is not much processing of data required. But servlets are best for use when there is more processing and manipulation involved. [*]The advantage of JSP programming over servlets is that we can build custom tags which can directly call Java beans. There is no such facility in servlets. [*]We can achieve functionality of JSP at client side by running JavaScript at client side. There are no such methods for servlets. [/LIST] [/SIZE][/COLOR] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom