Results 1 to 2 of 2

Thread: JSP at run time

  1. #1
    Join Date
    Sep 2006

    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?



  2. #2
    Join Date
    Aug 2005
    The Garden State
    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.
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

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