«

»

May
23

What is servlet, what is jsp?

  • Servlet : it is a Java class allowing to create data dynamically in an HTTP server. Data created can be presented under HTML format, XML format or any other supported browser format. Servlet runs dynamically in the server and extends their functions : database access, e-commerce transactions… Servlet is loaded automatically in the server and stay active waiting a client request. A servlet is executed in a execution environment called container (framework server side) that allows servlet’s persistence between requests client.
  • JSP : (Java Server Pages) it is a technique based in Java allowing to developers to generate dynamically the HTML code, XML or any other format supported by browser. The JSP syntax adds an XML tags called JSP action to call functions. And this technique allows to create many tags libraries (tagLib) that can be considered as extensions in HTML or XML. In a jsp we can use a particular language called Expression Language (EL) to reduce the java code injection in the jsp pages.

 

See also :

Share it with your freinds on Facebook Tweet it to your freinds on Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon

7 comments

1 ping

  1. Salvatore Weisser says:

    Wow! Thank you! I continuously needed to write on my blog something like that. Can I implement a part of your post to my blog?

    1. jalal mjadli says:

      Yes you can, Knowledge is ours all

  2. diablo 3 says:

    Following all, what a terrific internet site and useful posts, I’ll upload inbound hyperlink – bookmark this website web site? Regards, Reader.

  3. Car repos says:

    Hi there blogger, it is nice to see a fellow blogger put out some great stuff, keep rocking

  4. Recipes for diabetics says:

    I couldnt have said it any better to be honest! keep up the awesome work. You are very talented & I only wish I could write as good as you do :)
    Diet recipes for diabetics

  5. Stock exchange says:

    This was precisely the answers I’d been searching for. Amazing blog. Incredibly inspirational! Your posts are so helpful and detailed. The links you feature are also very useful too. Thanks a lot :)
    My blog is about Stock investment

  6. home remedies for acne says:

    good post, added you to my RSS reader.
    My blog is about acne scar treatment

  1. What’s JEE and which are their APIs? » Jalal MJADLI says:

    [...] JSP : web framework. (see What is servlet, what is jsp?) [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

WP SlimStat