converting a servlet to a JSP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: converting a servlet to a JSP

Hybrid View

  1. #1
    Rhonda Guest

    converting a servlet to a JSP


    I am brand new to JAVA. My first task is to take the existing servlets and
    convert them into JSP. I am not sure where to begin, I know that I will
    need to build a bean for the set/get. But what to put on the JSP I am not
    sure. The servlet has imports for connectionpool, sql, email, activation.
    How do I start to pull it apart, while I am trying to learn what the application
    does. Is there a good system for dissecting this servlet?

  2. #2
    John Timney (MVP) Guest

    Re: converting a servlet to a JSP

    start off by converting it into a scriptlet, a single jsp page without any
    beans, that will teach you a bit more about the langauge and show you what
    the various bits of a JSP page do, then look at beans.

    www.jspin.com has some good examples

    --
    Regards

    John Timney
    Microsoft MVP
    (http://support.microsoft.com/support/mvp/program.asp)
    Co-Author Professional JSP
    ISBN: 1-861003-62-5



    Rhonda <Rhonda.Oshetoye@gosignature.com> wrote in message
    news:3a00eb60$1@news.devx.com...

    I am brand new to JAVA. My first task is to take the existing servlets and
    convert them into JSP. I am not sure where to begin, I know that I will
    need to build a bean for the set/get. But what to put on the JSP I am not
    sure. The servlet has imports for connectionpool, sql, email, activation.
    How do I start to pull it apart, while I am trying to learn what the
    application
    does. Is there a good system for dissecting this servlet?



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center