< in atrribute value

A

Andreas Bauer

Hi,

I would like to get build a vxml-file from a jsp and for that
I want to puta request-Paramater into a variable.
But it is not possible to put < or the equivalent entity
into the expr-Attribute of the voicexml var-Element.
If I use the entities, the HP VoiceXML Toolkit claims
that this is not possible.
How can I solve this?
Example:
<var name="user"
expr="<jsp:expression>request.getParameter("user")
</jsp:expression>" />

Regards,

Andi
 
M

Martin Honnen

Andreas Bauer wrote:

I would like to get build a vxml-file from a jsp and for that
I want to puta request-Paramater into a variable.
But it is not possible to put < or the equivalent entity
into the expr-Attribute of the voicexml var-Element.
If I use the entities, the HP VoiceXML Toolkit claims
that this is not possible.
How can I solve this?
Example:
<var name="user"
expr="<jsp:expression>request.getParameter("user")
</jsp:expression>" />

Maybe someone in a JSP group can help, of course in terms of XML you
simply need to escape the < and > e.g.
expr="&amp;jsp:expression&amp;
but I have no idea whether that is what you need in a JSP file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top