"Michael McGrady" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > At 10:13 AM 2/3/2004, Greg Blomquist wrote: > >I apologize in advance if this question has already been answered somewhere. > >Looks like basebeans is down so I can't search the struts-user archives. > > > >I'm trying to do the following: > ><img src="/some/dir/myAction.do"> > > > >The only problem is that it doesn't like the relative path. > > > Your question indicates some misunderstanding is going on. The "path" is > irrelevant, since the controller will take the action no matter what.
And your response indicates some inability to read a message board. At 1:48PM on 2/3/2004, I posted a message in this thread with "<SOLVED>" appended to the subject. Of course, your post occured just 10 minutes after mine did. So, perhaps cyberspace time delay could account for you having not seen my post. With the help of Ben Anderson, I was able to figure out that I should be using the "path" attribute of the <html:img> tag instead of the "src" attribute. At least, this is what fixed my problem. So, my final assumption is that <img src="/some/path/myAction.do"> or even <html:img src="/some/path/myAction.do"/> will not work. Instead, one my use <html:img path="/some/path/myAction.do"/>. I'm not sure if this has to do with the fact that in using the "src" attribute, you're telling the container (or browser, or controller) that it's an exisiting _filesystem_ path, vs. some virtual path. All I know if that "src" didn't work, and "path" did work. Thanks for the post anyhow. ----- Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]