A JSP is only compiled, and thus parsed, when the source JSP is newer than
the compiled java source, and class file it generates.  When this parsing is
completed, a JAVA source file is created, following which a JAVA class file
is compiled based on the generated source.

Even if the content is changing, like in a forum to use your example, the
JSP will not have to be recompiled. Unless, the author has actually coded
the JSP to change its own source code as more messages are added, doubtful.
No, instead the messages are stored through some other type of persistence
mechanism, most probably a database.  Thus, when the page is served to the
user the servlet (which is the compiled version of the JSP) queries the
database, and uses the query to generate the HTML, which is then sent to the
client.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629


-----Original Message-----
From: Ahmed, Salman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 2:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Diff bet asp & jsp


Yes, but again isnt' this test repeating the test over and over so
the Page written in java is not being reparsed since its already compiled
right?
what if the page is always changing like in a forum? it will have to
reparse..that will change evertying? am i right?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to