Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Don't know about the JSP advantages

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-01-2010
Member
 
Join Date: Dec 2009
Posts: 68
Don't know about the JSP advantages

Hi friends,

I have to discuss one JSP query with you. I am not able to understand the advantages of JSP(Java Server Pages). According to my knowledge the functionality if JSP is quit similar to CGI technology. I have referred various books for to understand the JSP advantages but didn't get proper information. I wonder if you are able to explain me some advantages of JSP. I am waiting for your reply.
Reply With Quote
  #2  
Old 29-01-2010
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
Re: Don't know about the JSP advantages

The benefit of JSP is to write Java code in HTML pages. It is easy to embedded java components into the Dynamic pages wit the JSP. JSP containers provide easy way for accessing standard objects and actions.JSP are translated and compiled into JAVA servlets but are easier to develop than JAVA servlets. JSP segregates both static as well as dynamic content wherein the JSP and HTML programmer can carry out their work almost independently.
Reply With Quote
  #3  
Old 29-01-2010
Member
 
Join Date: May 2008
Posts: 1,990
Re: Don't know about the JSP advantages

Hi friend,

JSP is server side programming language and used as presentation layer.One of advantages of jsp is that we can embed java program into HTML page using special tags. JSP technology offers the rapid development of the Web based applications and which are platform independent. We choose the JSP if the code is rather oriented display (HTML) and choose a servlet if the page is rather than treatment as a controller.
Reply With Quote
  #4  
Old 29-01-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
Re: Don't know about the JSP advantages

JSP(Java Server Pages) is basically used for to separates the user interface from the content generation. This technique enables designers for to change the overall page layout and without altering any underlying dynamic content. Suppose there is a change in the code, then we don't have to recompile the jsp code. It will automatically does the compilation. by using custom tags and tag libraries the length of the java code is reduced. JSP uses simplified scripting language based syntax for embedding HTML into JSP.
Reply With Quote
  #5  
Old 29-01-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
Re: Don't know about the JSP advantages

JSP is used only for to allow the deportation of a max of code out of pages, which leads to code much cleaner, better organized and more easily maintainable. JSP represents all the benefits provided by JAVA servlets and web container environment. You can use JSP technology without learning how to write Java scriplets. The JSP has an added advantage of being simpler and more natural program for web enabling enterprise developer. It is portable to other operating systems and non-Microsoft Web servers.
Reply With Quote
  #6  
Old 29-01-2010
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,299
Re: Don't know about the JSP advantages

The advantage of JSP is that you can encode JSP without Java . Thus it is easier to divide work among Java developers (for Servlet and Taglibs specific) and Web developers working on JSP . For example, imagine a servlet that will display the search results:
* If you are using a Servlet, the generation of the result page is fairly complex Java code (lots of out.println () and data access). If you do not pose a problem is another matter for a web designer who does not know Java .
* If you are using a JSP, the code to access data that is heavy enough, because the Java code in a JSP is not super. The Web designer is a little less lost, but the big block of Java code remains a big obstacle .
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Don't know about the JSP advantages"
Thread Thread Starter Forum Replies Last Post
What are the XML advantages? ScarFace 01 Software Development 5 11-02-2010 01:11 PM
What are advantages of CrossFire HarshaB Monitor & Video Cards 5 18-01-2010 11:01 PM
Don't know the advantages of using static IP and it's set up Rup_me Networking & Security 5 15-12-2009 01:18 PM
What are the advantages of PHP SMG Software Development 3 14-09-2009 09:57 PM
Advantages Of Wi-Fi Hattie Tips & Tweaks 1 07-10-2008 12:42 AM


All times are GMT +5.5. The time now is 04:01 AM.