You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Gupta <gu...@nous.soft.net> on 2002/01/07 08:51:01 UTC

Struts question

Hi,

How do i call a jsp usebean property value in another jsp tag?
Problem Case:
I have an html:hidden element and I want to replace
"<%=transBean.getTransID()%>" by using <jsp:getProperty name="mybean"
property="transID"/> in below statement,

   <html:hidden   property="<%=transVar%>"
value="<%=transBean.getTransID()%>" />

I failed to get the result by coding the below statement:

<html:hidden   property="<%=transVar%>" value="<jsp:getProperty
name="mybean" 	property="transID"/> " />
The jsp is not parsing the statement full.

TAI
RAYAKU


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts question

Posted by Arron Bates <ar...@keyboardmonkey.com>.
Email starting with "How do I" are for the struts-user list.
This is more for your benefit as it is a community list entirely devoted 
to solving problems.

The developer list is entirely devoted to creating them :)


Arron.


The only place I've seen the answer is on the strtus-user mailing list.

Gupta wrote:

>Hi,
>
>How do i call a jsp usebean property value in another jsp tag?
>Problem Case:
>I have an html:hidden element and I want to replace
>"<%=transBean.getTransID()%>" by using <jsp:getProperty name="mybean"
>property="transID"/> in below statement,
>
>   <html:hidden   property="<%=transVar%>"
>value="<%=transBean.getTransID()%>" />
>
>I failed to get the result by coding the below statement:
>
><html:hidden   property="<%=transVar%>" value="<jsp:getProperty
>name="mybean" 	property="transID"/> " />
>The jsp is not parsing the statement full.
>
>TAI
>RAYAKU
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>