<%= "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

<html>
<head><title>Access</title></head>
<body>
<h1>This is counter example</h1>

<%! int i=0; %>

<% i++; %>
Hello World ! <%= "This page has been accessed " +i " times" %>


</body>
</html>

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

Reply via email to