Is what i am saying on JSP true?

Posted on 2006-04-16
Last Modified: 2010-05-18
Finishing off my dissertation I have a little section on jsp not knowing jsp well could some one look at what I have wrote just below at comment what I am saying?

 Its only short, just your opinions to point me in the right direction  I would much appreciate it, Many thanks  

what are the important things about jsp becuase so far it looks the same as asp!



Java Server Pages (JSP) was created by Sun Microsystems as their solution for creating dynamic web content using HTML pages on the fly. Basically same principle of embedded code in a HTML page as explained in 3.5 ASP only in the JAVA perspective.

A JSP page has the extension .jsp and can use APIs the same as Java, because it is java embedded in HTML such as a system called JavaBeans. JavaBeans are like a library based system, in comparison using JavaBeans in JSP is much like the tag libraries in ColdFusion. NOT SURE ABOUT THAT IS THAT TRUE?

Both JSP and ColdFusion we derived from java. Using JavaBeans in JSP allows the developer to easily change the logic of the web application without having to edit script on every .jsp page. This is a very impressive tool for developers and helps free up time by not doing repetitive tasks.  
Question by:pigmentarts
    LVL 27

    Assisted Solution

    Was not Tim's answer good at  your last question on this ?  
    Did you go to the sun site and read the pages oc JSP there ? Tim gave links.  
    Anyway your description is wrongly limiting JSP to HTML output. From sun I quote
    "JavaServer Pages (JSP) technology provides a simplified, fast way to create web pages that display dynamically-generated content."  
    The output can be anything you want even an image.
    >such as a system called JavaBeans.
    JavaBeans are just a convenience. JSP can call any plain old java objects(POJO) as well.
     Don't close this question to quickly. I am sure you will get more comments.   rrz
    LVL 23

    Assisted Solution

    LVL 12

    Author Comment

    Tim's answer was very good and want to get all my information together before i rewrite correctly. links you guys have give are greate few hours of reading up should get my under standing up, well i hope!
    LVL 12

    Author Comment

    ok taking on board what he guys have said and doing some research this what i am now staying, sounds better?????


    Scripts in JSP are usually embedded within HTML pages, but JSP can use other APIs in the same way as JAVA. This is because JSP’s heart is set in Sun’s JAVA technology, allowing JSP to merge its HTML feel with dynamic JAVA components resulting in rich dynamic web-based content/applications.

    In a similar method to HTML’s use of tags, JSP can has several predefined tags available out of the box helping to reduce bloated or the need to duplicated code. JSP1.1 allowed developers to build their own tag based library, giving the ability to reuse and encapsulate code in an even better object orientated fashion.

    JavaBeans are a similar principle to tags in ASP, both can be used to encapsulate functionality within pages. Tiring to differentiate which to use where is what JAVA developer Simon Brown reported on in his recent online article, he went on to describe JavaBeans as “non-visual components, better for maintaining session information” and tags as “actions common functionality that generates dynamic HTML or controls the page in some way” (Encapsulate reusable functionality,

    LVL 12

    Author Comment

    anyone please feel free!
    LVL 3

    Accepted Solution

    Hi pigmentarts,
    >Scripts in JSP are usually embedded within HTML pages
    True, JSP is a combination of scriptlets and java on the server side. On the web browser the code is only plain html(You cannot see the scriptlets)

    >In a similar method to HTML’s use of tags, JSP can has several predefined tags available out of the box helping to reduce bloated or the need to duplicated code
    JSP allows scriptlets(i.e java code), not tags. Tags are provided by JSTL and struts and other frameworks which come with taglibs. Yes you can get some other taglibs and also develop some of your own. JSP is not all good, if not used properly can mix up a lot of java code in your html content which makes it very difficult to maintain.
    Taglibs help to clear your html code from java codes, so it helps a lot.


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Suggested Solutions

    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now