try <%= "Hello world" %>

-----Original Message-----
From: Asha Patel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 24, 2000 11:16 AM
To: [EMAIL PROTECTED]
Subject: Tomcat ignoring my JSP tags.


Hello All,
  I have installed tomcat in my win98 machine. While creating my first
Helloworld application, like for eg as shown below, I get only the text 'My
First JSP'. The line 'Hello World' inside the <% %> is ignored. Can anyone
please help me where I am going wrong?


<HTML>
<H1> My First JSP </H1>
<Body>
<%="Hello World!" %>
</Body>
</HTML>

The above JSP file jsut displays My First JSP.

I tried many examples but everytime the text inside <% %> is ignored.

Thanks.

Asha.


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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

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