Well, ultimately jsp IS Java....  You can always do
this:

<%
String
foo="http://myweb.com/mypage?companyid="+id+"&ssn="+ssn;
%>
<mytag:sample name="persons" uri="<%=foo%>" />

However, use of scriptlet is discouraged here.  If you
switch to JSTL tags, and put foo into an ActionForm
property populated in your Action, you could:

<JSTLtag:sample name="persons" uri="${myForm.foo}" />

m

--- Rick Col <[EMAIL PROTECTED]> wrote:
> Thanks, 
> 
> I will try that out. What I try to do is to capture
> form variables as strings, and concatenate them with
> 
> a html address as request parameters. I am not sure
> how to 
> concatenate them with the link in JSP page, and add
> the 
> whole address to a taglib parameter like the
> following:
> 
> <mytag:sample name="persons"
>
uri="http://myweb.com/mypage?companyid="+id+"&ssn="+ssn>
> 
> In Java, we can concatenate strings like that, in
> Jsp,
> can we do that? Or there is another way?
> 
> regards,
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to