Isnt the declaration, the variable and the assignment all supposed to be delimited by spaces??
<% String message = "Hello, World, from JSP"; %>

Isnt there suppposed to be a space between the = and the already declared Java variable?
e.g.
<%= message%>

????

Regards,

Martin Gainty

______________________________________________

Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law. LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS.

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.

LDS can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.

             _____________GMT-5___________________

 

>From: Partha Ranjan Das <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How can I write a variable filename in jsp:include?
>Date: Mon, 20 Jan 2003 14:07:30 +0530
>MIME-Version: 1.0
>Received: from mc3-f10.law16.hotmail.com ([65.54.236.145]) by mc3-s6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 20 Jan 2003 00:40:15 -0800
>Received: from swjscmail2.java.sun.com ([192.18.99.108]) by mc3-f10.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 20 Jan 2003 00:39:15 -0800
>Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with ESMTPid E5D3E21796; Mon, 20 Jan 2003 01:34:44 -0700 (MST)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with spool id 5237697 for [EMAIL PROTECTED]; Mon, 20 Jan 2003 01:32:21 -0700
>Received: from bg1mail.sonata-software.com (unknown [203.200.29.130]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 23020480D for <[EMAIL PROTECTED]>; Mon, 20 Jan 2003 01:32:19 -0700 (MST)
>Received: by mail.sonata-software.com with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Jan 2003 14:07:36 +0530
>Delivered-To: [EMAIL PROTECTED]
>X-Mailer: Internet Mail Service (5.5.2653.19)
>Message-ID: <[EMAIL PROTECTED]>
>Sender: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 20 Jan 2003 08:39:15.0507 (UTC) FILETIME=[6A259830:01C2C05F]
>
>Hi,
>I want to dynamically include a file using the jsp:include action.
>
>But when I use a java variable in jsp:include action, it does not include
>the file.
>
>e.g:
><%
>String file="xyz";%>
>>flush="true"/>
>
>This is not working.
>
>Whereas when I write like this:
>>flush="true"/>, it is working.
>
>Anybody knows what can be done so that this dynamic include works?
>
>Thanks in advance,
>
>Partha Ranjan das
>*********************************************************************
>Disclaimer: The information in this e-mail and any attachments is
>confidential / privileged. It is intended solely for the addressee or
>addressees. If you are not the addressee indicated in this message, you may
>not copy or deliver this message to anyone. In such case, you should destroy
>this message and kindly notify the sender by reply email. Please advise
>immediately if you or your employer does not consent to Internet email for
>messages of this kind.
>*********************************************************************
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>
>Some relevant archives, FAQs and Forums on JSPs can be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com


MSN 8: advanced junk mail protection and 2 months FREE* =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com