Thats an Orion bug.

According to the specs,following the XML specification, attribute values
always appear quoted. Both single and
double quotes can be used.

The code works fine in Weblogic

-Sam

Janes Gary wrote:
>
> Having spent almost a day chasing this one, I've solved it
> within 10 minutes of sending the e-mail. Typical.
>
> For some reason the second of these lines :
>
> <% String theStaticPage = "login.html"; %>
> <jsp:forward page='<%= theStaticPage %>' />
>
> needs double quotes rather than single quotes. So to get it
> working I've used:
>
> <jsp:forward page="<%= theStaticPage %>" />
>
> Why should this make a difference when the hard-coded single
> line:
>
> <jsp:forward page='login.html' />
>
> works just fine ??
>
> Regards,
>
> Mystified
>
> Gary JANES
> 10/11/99 03:30 PM
>
> To:   [EMAIL PROTECTED] AT
> INTERNETMAIL@ccMTA-am-hk-lippo
> cc:
> Subject:  jsp:forward .... Problems, problems
>
> Hi All,
>
> I'm having problems using JSP to forward simple requests to a
> static HTML page ( as per the example on p.67 of the JSP 1.1 PR
> Spec ).
>
> My development environment is JDK 1.2.2, Orion 0.7.5b, Servlet
> API 2.2 and JSP 1.1. Browser is IE 4.01
>
> The following very simple JSP works fine
>
> <jsp:forward page='login.html' />
>
> but when I try to use a variable or a bean method to specify
> the same static page
>
> <% String theStaticPage = "login.html"; %>
> <jsp:forward page='<%= theStaticPage %>' />
>
> I get a blank browser page back. Looking at the source of the
> blank page shows:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
> <HTML>
> <HEAD>
>
> <META content="text/html; charset=iso-8859-1"
> http-equiv=Content-Type>
> </HEAD>
> <BODY></BODY></HTML>
>
> Anybody know what's going on ???
>
> Any assistance greatly appreciated.
>
> Thanks,
>
> Gary Janes
> HSBC Asset Management
> London
> UK
>
> __________________________________________________________________
>
> This information (including any attached information) is issued by
> a member of the HSBC Asset Management Group of companies for the
> information of its non-private customers only.  It is not an
> invitation to buy or sell securities. HSBC Asset Management makes
> no representation and accepts no responsibility or liability as to
> its completeness or accuracy.
>
> Each page attached hereto must also be read in conjunction with any
> disclaimer which forms part of it.
>
> ===========================================================================
> 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

Reply via email to