struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Anderson" <stuts_anderson...@hotmail.com>
Subject Re: img tag with action as src
Date Tue, 03 Feb 2004 18:42:36 GMT
>Could that play a part in this?
nope

>From: "Greg Blomquist" <greg.blomquist@railinc.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: Re: img tag with action as src
>Date: Tue, 3 Feb 2004 13:38:38 -0500
>
>Thanks for the speedy reply.  However, that doesn't seem to solve the
>problem I'm having.  I'm receiving the same error as before after adding 
>the
><html:base/> tag to the <HEAD> section of my page.
>
>Do I need to fill in any attributes to the base tag?
>
>Also, the problem I'm having might be related to the fact that I'm trying 
>to
>call an action to generate the image for the <img> tag.  I'm not directly
>referencing an existing .JPG or .GIF file.  Could that play a part in this?
>
>Thanks again...
>
>----
>  Greg
>
>
>"Manfred Wolff" <mail@manfred-wolff.de> wrote in message
>news:401FE7F7.5090300@manfred-wolff.de...
> > Greg
> >
> > use the <html:base/> Tag. Then Struts appends the base uri like
> >
> > http://localhost:0000/MyApp/
> >
> > to your relative path. Your image might be then
> >
> > <img src="/some/dir/mypicture.jpg">
> >
> > Manfred
> >
> >
> > 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.  I have to
>code
> > >the absolute path:
> > ><img src="http://localhost:0000/MyApp/some/dir/myAction.do">
> > >
> > >Which is fine until I move to production.
> > >
> > >Is there a way to use a relative path when using an action for the src
> > >attribute of an image tag?
> > >
> > >Thanks!
> > >
> > >Btw, I'm running WSAD 5.1 and the error message I get when trying a
>relative
> > >path is:
> > >Virtual Host/WebGroup Not Found : The web group
> > >/secure/isa/performance/graph.do has not been defined
> > >
> > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> > --
> > ===========================================
> > Dipl.-Inf. Manfred Wolff
> > -------------------------------------------
> > phone neusta  : +49 421 20696-27
> > phone         : +49 421 534522
> > mobil         : +49 178 49 18 434
> > eFax          : +49 1212 6 626 63 965 33
> > -------------------------------------------
> > ____________________________________________________
> > Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich
>geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder
>diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
>Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
>unbefugte Weitergabe dieser Mail ist nicht gestattet.
> >
> > This e-mail may contain confidential and/or privileged information. If 
>you
>are not the intended recipient (or have received this e-mail in error)
>please notify the sender immediately and destroy this e-mail. Any
>unauthorised copying, disclosure or distribution of the material in this
>e-mail is strictly forbidden.
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>

_________________________________________________________________
What are the 5 hot job markets for 2004? Click here to find out. 
http://msn.careerbuilder.com/Custom/MSN/CareerAdvice/WPI_WhereWillWeFindJobsIn2004.htm?siteid=CBMSN3006&sc_extcmp=JS_wi08_dec03_hotmail1


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message