urgent- compilation
I am writing jsp page under forte gui application. Once that is done I save the file under examples/jsp subdir/jspfile I am trying to access file under: http://127.0.0.1:8080/examples/jspsubdir/jsp.file but it would not display the result of the page. However with date.jsp example it does work fine Here is the source of the page Access This is counter example <%! int i=0; %> <% i++; %> Hello World ! <%= "This page has been accessed " +i " times" %> Ansar Blakqori System analyst / Developer Goldenberg,Hehmeyer & Co - London email: [EMAIL PROTECTED] ( business ) Tel: ++44 (0) 2073903421 - business Cell:++44 (0) 7730986227 Diverted tel: ++44 (0) 2073903380 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Re: urgent- compilation
<%= "This page has been accessed " +i+ " times" %> or <%= new String("This page has been accessed " +i+ " times")%> ~ David Eaves Mad Scientist, The Lab 949.936.3077 [EMAIL PROTECTED] WWW.COM Internet Broadcasting Log On. Tune In. ~ -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of BLAKCORI, Ansar Sent: Monday, August 21, 2000 4:57 AM To: [EMAIL PROTECTED] Subject: urgent- compilation I am writing jsp page under forte gui application. Once that is done I save the file under examples/jsp subdir/jspfile I am trying to access file under: http://127.0.0.1:8080/examples/jspsubdir/jsp.file but it would not display the result of the page. However with date.jsp example it does work fine Here is the source of the page Access This is counter example <%! int i=0; %> <% i++; %> Hello World ! <%= "This page has been accessed " +i " times" %> Ansar Blakqori System analyst / Developer Goldenberg,Hehmeyer & Co - London email: [EMAIL PROTECTED] ( business ) Tel: ++44 (0) 2073903421 - business Cell:++44 (0) 7730986227 Diverted tel: ++44 (0) 2073903380 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
Re: urgent- compilation
>I am writing jsp page under forte gui application. Once that is done I save >the file under examples/jsp subdir/jspfile >I am trying to access file under: >http://127.0.0.1:8080/examples/jspsubdir/jsp.file but it would not display >the result of the page. However with date.jsp example it does work fine > >Here is the source of the page > > >Access > >This is counter example > ><%! int i=0; %> > ><% i++; %> >Hello World ! <%= "This page has been accessed " +i " times" %> Try this <%= "This page has been accessed " +i + " times" %> > > > > > >Ansar Blakqori >System analyst / Developer >Goldenberg,Hehmeyer & Co - London >email: [EMAIL PROTECTED] ( business ) >Tel: ++44 (0) 2073903421 - business >Cell:++44 (0) 7730986227 >Diverted tel: ++44 (0) 2073903380 > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". >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". 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
Re: urgent- compilation
What makes the difference Mr David?? Both are correct and valid in java. in Anscar Case error is in the line >>> Hello World ! <%= "This page has been accessed " +i " times" %> >>> he forgot a "PLUS" after i. --- David Eaves <[EMAIL PROTECTED]> wrote: > <%= "This page has been accessed " +i+ " times" %> > or > <%= new String("This page has been accessed " +i+ " > times")%> > > ~ > David Eaves > Mad Scientist, The Lab > 949.936.3077 > [EMAIL PROTECTED] > WWW.COM Internet Broadcasting > Log On. Tune In. > ~ > > -Original Message- > From: A mailing list about Java Server Pages > specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of > BLAKCORI, Ansar > Sent: Monday, August 21, 2000 4:57 AM > To: [EMAIL PROTECTED] > Subject: urgent- compilation > > > I am writing jsp page under forte gui application. > Once that is done I save > the file under examples/jsp subdir/jspfile > I am trying to access file under: > http://127.0.0.1:8080/examples/jspsubdir/jsp.file > but it would not display > the result of the page. However with date.jsp > example it does work fine > > Here is the source of the page > > > Access > > This is counter example > > <%! int i=0; %> > > <% i++; %> > Hello World ! <%= "This page has been accessed " +i > " times" %> > > > > > > Ansar Blakqori > System analyst / Developer > Goldenberg,Hehmeyer & Co - London > email: [EMAIL PROTECTED] ( business ) > Tel: ++44 (0) 2073903421 - business > Cell:++44 (0) 7730986227 > Diverted tel: ++44 (0) 2073903380 > > === > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff > JSP-INTEREST". > 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". > 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 = -SaTyA- __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Re: urgent- compilation
Definitely the first. but why don't you use: This Page has been accessed <%=i%> times Geert Van Damme > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of David Eaves > Sent: maandag 21 augustus 2000 10:20 > To: [EMAIL PROTECTED] > Subject: Re: urgent- compilation > > > <%= "This page has been accessed " +i+ " times" %> > or > <%= new String("This page has been accessed " +i+ " times")%> > > ~ > David Eaves > Mad Scientist, The Lab > 949.936.3077 > [EMAIL PROTECTED] > WWW.COM Internet Broadcasting > Log On. Tune In. > ~ > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of BLAKCORI, Ansar > Sent: Monday, August 21, 2000 4:57 AM > To: [EMAIL PROTECTED] > Subject: urgent- compilation > > > I am writing jsp page under forte gui application. Once that is > done I save > the file under examples/jsp subdir/jspfile > I am trying to access file under: > http://127.0.0.1:8080/examples/jspsubdir/jsp.file but it would not display > the result of the page. However with date.jsp example it does work fine > > Here is the source of the page > > > Access > > This is counter example > > <%! int i=0; %> > > <% i++; %> > Hello World ! <%= "This page has been accessed " +i " times" %> > > > > > > Ansar Blakqori > System analyst / Developer > Goldenberg,Hehmeyer & Co - London > email: [EMAIL PROTECTED] ( business ) > Tel: ++44 (0) 2073903421 - business > Cell:++44 (0) 7730986227 > Diverted tel: ++44 (0) 2073903380 > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > 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". > 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". 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
Re: urgent- compilation
Hi Out your code in root dir ie webapps/root Hope this help you At 10:56 AM 21/08/2000 +0100, you wrote: I am writing jsp page under forte gui application. Once that is done I save the file under examples/jsp subdir/jspfile I am trying to access file under: http://127.0.0.1:8080/examples/jspsubdir/jsp.file but it would not display the result of the page. However with date.jsp example it does work fine Here is the source of the page This is counter example <%! int i=0; %> <% i++; %> Hello World ! <%= "This page has been accessed " +i " times" %> Ansar Blakqori System analyst / Developer Goldenberg,Hehmeyer & Co - London email: [EMAIL PROTECTED] ( business ) Tel: ++44 (0) 2073903421 - business Cell:++44 (0) 7730986227 Diverted tel: ++44 (0) 2073903380 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 Regards :-) Kanojia Jogesh(Senior Web Developer) IG Technologies Ltd,Mumbai We are in Web Development and B2B and B2C Solution provider === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Urgent : Compilation of JSPs
Hi All, Is it possible to compile all JSPs before starting the server ? Thanx and regards, Lalit ==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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent : Compilation of JSPs
No I don't think JSPs can be precompiled...servlets are used for that purpose. Infact there is a separate compiler (JSPC) that is internally called by the server when JSPs are to be compiled. regards, Debopam -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of lalit gulhane Sent: Friday, December 28, 2001 10:48 AM To: [EMAIL PROTECTED] Subject: Urgent : Compilation of JSPs Importance: High Hi All, Is it possible to compile all JSPs before starting the server ? Thanx and regards, Lalit = 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent : Compilation of JSPs
Its depends on the server on which you are going to deploy your JSPs.For weblogic and WebSphere u can specify that should the JSP's compile before application starting or at time first invocation of that Jsp page. You have not specified the server on which you are going to deploy. - Original Message - From: "lalit gulhane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 28, 2001 10:48 AM Subject: Urgent : Compilation of JSPs Hi All, Is it possible to compile all JSPs before starting the server ? Thanx and regards, Lalit = 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent : Compilation of JSPs
lalit gulhane <[EMAIL PROTECTED]> wrote: Hi All,Is it possible to compile all JSPs before starting the server ?Thanx and regards,Lalit in Tomcat look for the jspc compiler in the bin directory. (jspc.bat ASAIR)Do You Yahoo!? Get personalised at My Yahoo!.
Re Re: Urgent : Compilation of JSPs
Hi I am using weblogi server 6.0. In weblogic the jsp compiles when it is used for first time or when you make changes in it.But how can i instruct weblogic to compile my JSP when it starts ? Thanks Pranav Shah On Fri, 28 Dec 2001 Sasi Bhushan wrote : > Its depends on the server on which you are going to > deploy your JSPs.For > weblogic and WebSphere u can specify that should the > JSP's compile before > application starting or at time first invocation of > that Jsp page. > You have not specified the server on which you are > going to deploy. > > - Original Message - > From: "lalit gulhane" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, December 28, 2001 10:48 AM > Subject: Urgent : Compilation of JSPs > > > Hi All, > > Is it possible to compile all JSPs before starting the > server ? > > Thanx and regards, > Lalit > > = > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > - > === > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com ==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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Re Re: Urgent : Compilation of JSPs
Most of the vendors provides some feature to precompilation of all the jsps for increasing the response time when the jsp handles request first time. You can check the weblogic docs or their newsgroup. Cheers Ashwani Kalra Sr. Mem. Dev. Staff Aithent Technologies India www.geocities.com/ashwani_kalra/ ~~ -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Pranav Shah Sent: Friday, December 28, 2001 7:18 PM To: [EMAIL PROTECTED] Subject: Re Re: Urgent : Compilation of JSPs Hi I am using weblogi server 6.0. In weblogic the jsp compiles when it is used for first time or when you make changes in it.But how can i instruct weblogic to compile my JSP when it starts ? Thanks Pranav Shah On Fri, 28 Dec 2001 Sasi Bhushan wrote : > Its depends on the server on which you are going to > deploy your JSPs.For > weblogic and WebSphere u can specify that should the > JSP's compile before > application starting or at time first invocation of > that Jsp page. > You have not specified the server on which you are > going to deploy. > > - Original Message - > From: "lalit gulhane" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, December 28, 2001 10:48 AM > Subject: Urgent : Compilation of JSPs > > > Hi All, > > Is it possible to compile all JSPs before starting the > server ? > > Thanx and regards, > Lalit > > = > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > - > === > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com = 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com