Sorry, but I think I was wrong. What I did does not work with all jsp
compilers, and should not be the standard. I mislead how it works with the
thought I explained below, but it is wrong, you were right, Kipiatkov.

   []'s,

   Rodrigo.


> -----Original Message-----
> From: Rodrigo Gevaerd [mailto:[EMAIL PROTECTED]]
> Sent: sexta-feira, 15 de fevereiro de 2002 15:39
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] <%=Quote%> in jsp:include/forward highlighted
> 
> 
>   Yes, because what should be inside <%= %> is java code.
> 
>   map.get("key") is a java code, not a String. <%= %> could 
> contain a String
> however, like: <%= "a string with \" quote \"." %>. But it is 
> also a java
> code, but in this case the java code is just a String object. 
> Joining both,
> I could also have <%= map.get("my key contains \"quotes\"") %>.
> 
>   Did I clarify it?
> 
>   []'s,
> 
>   Rodrigo.
> 
> 
> > -----Original Message-----
> > From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
> > Sent: sexta-feira, 15 de fevereiro de 2002 13:30
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] <%=Quote%> in jsp:include/forward 
> highlighted
> > 
> > 
> > AFAIK you should write
> > 
> > <jsp:forward page="<%=map.get(\"key\")%>" />
> > 
> > (note the escaped quotes)
> > 
> > instead of
> > 
> > <jsp:forward page="<%=map.get("key")%>" />
> > 
> > Am I wrong?
> > 
> > Best regards,
> > Valentin Kipiatkov
> > -----------------------------------------------------------
> >  IntelliJ Software, http://www.intellij.com/
> >  "Develop with pleasure"
> > -----------------------------------------------------------
> > 
> > ----- Original Message -----
> > From: "Rodrigo Gevaerd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, February 14, 2002 6:09 PM
> > Subject: [Eap-list] <%=Quote%> in jsp:include/forward highlighted
> > 
> > 
> > > if I do something like:
> > >
> > > <jsp:forward page="<%=map.get("key")%>" />
> > >
> > > The quotes inside the <%= %> are marked as unmatched. The 
> same thing
> > occurs
> > > with jsp:include.
> > >
> > > []'s,
> > >
> > > Rodrigo.
> > 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to