Thanks. But it is not working.
In my form bean (MapForm) I am setting the following variable
public class MapForm extends ActionForm {
        
  /* Map Source*/
  private String
mapSource="http://geo.tpmc.com/output/dqs_GEO2056217212.jpg";;
  .....
  
  public MapForm(){
        try {
                
                mapSource = map.getMapOutput().getURL();
        .....

Then on my jsp page I am using the following
<html:image src='<%= MapForm.mapSource() %>' property="" />

Any suggestion?

-----Original Message-----
From: Mike Jasnowski [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 3:16 PM
To: Struts Users Mailing List
Subject: RE: Failing to get an answer,can it be done?

Sure, 

<html:image src='<%= formBean.url %>'/>

or wi html-el

<html:image src="${formBean.url}'/>

I haven't used the html-el lib so I'm guessing on that last one

-----Original Message-----
From: Das, Amar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: Failing to get an answer,can it be done?


Hi,

Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?

<html:form ..>

<html:image src=??? />

</html:form>

Thanks

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



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

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

Reply via email to