File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes c:out question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "c:out question" Watch "c:out question" New topic

c:out question

Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 104

Hello, I want to put into hidden field a value.
I'm showing that value before with <c ut value='${}'/>

Now I want to put that value into a hidden field

<html:hidden name="EnviarRespuestaForm" property="email" value="<c ut value='${}'/>" />

But I get <<c ut value='${}'/>> instead of the value

Anu Korah

Joined: Jun 28, 2006
Posts: 5
You cannot embed a struts or jstl tag within a struts tag.

You can achieve the same with the strut EL tag like this:

<html-el:hidden name="EnviarRespuestaForm" property="email" value="${}" />

Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Could you just use this?

<html:hidden name="MostrarConsultaForm" property="email" />

- Brent
I agree. Here's the link:
subject: c:out question
It's not a secret anymore!