File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "c:out question" Watch "c:out question" New topic
Author

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='${MostrarConsultaForm.email}'/>

Now I want to put that value into a hidden field

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

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

why?
Anu Korah
Greenhorn

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="${MostrarConsultaForm.email}" />

-Anu
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: http://aspose.com/file-tools
 
subject: c:out question