dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: JSP at run time

  1. #1
    Join Date
    Sep 2006
    Posts
    192

    JSP at run time

    It is said, during the run time, the JSP is converted to a Java servlet. My questions are:

    1) Will all the content on the JSP page be converted into the java servlet class including <html related, scriptlet <% %>, javascript, tags etc?

    2) If not, what about the javascript? Will it be converted into java scriptlet or, instead, it will be compiled and run by the javascript's engine?


    Thanks


    Scott

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    The individual implementations are dependent on the app server you are using. Javascript is javascript, it never gets converted. Most HTML is just replaced by out.println(value) rather than just value.

    It might help you to see an actual generated JSP as servlet page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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



Recent Articles