Slava,
I think the problem may be in your use of content_type. This (if you are
using JSP 1.0) should be
<%@ page contentType="text/html" %>
Cheers,
Peter
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Slava
> Sent: Sunday, January 23, 2000 11:00 PM
> To: [EMAIL PROTECTED]
> Subject: <%@ %> HELP
>
>
> I am using apache_1.3.9, jserv_1.1.2, gnujsp_1.0.0-3 , jdk_1.1.7v3-2
> under debian linux.
> When I am typing the following code:
>
> <html><html>
> <body>
> <%@ content_type="text/html" %>
> <% out.println("helo"); %>
> </bocy>
> </html>
>
> I get the following error:
> Error compiling source file /jsp2.jsp:
> /jsp2.jsp:3: Encountered unnamed JSP directive.
>
> If I comment the tag <%@ ... %>, the script works.
> Any ideas???
>
> Whenever, I try to use the tag <%@ ... %> it gives the error. It
> looks like
> this tag is not recognizable. Is this tag supported by this
> software or I've
> just misconfigured gnujsp, jserv, or apache.
>
> Any help would be greatly appreciated.
> Thanks.
> Slava.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html