Hi,

<html:base /> tag just defines the base directory of the application.
This is the corresponding HTML version. <base
href="http://127.0.0.1:8080/CMSystem/";>

I have tried all possible permutations and combinations but nothing
works !! :-(
Do we need to put in some entry in web.xml or struts-config.xml for
allowing .jpg or .gif images to be viewed ??

People Please help !!

Jitendra


-----Original Message-----
From: Garner, Shawn [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 9:00 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Re: Image not getting displayed !


Or try the html:base tag.   Not sure what it does exactly.

Shawn

-----Original Message-----
From: Jitendra Kumar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 10:54 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Re: Image not getting displayed !

I will try to be clearer this time !!

I am developing a Struts project using myeclipse IDE. In this I have
developed a JSP page using struts tags. I want to insert a picture on
this page. For doing this I have used these two options:

1. <html:img src="images/struts-power.gif" />
2. <html:img align="" alt="" border="" page="/images/struts-power.gif"
/>

The directory structure of my application is 
CMSystem/WebRoot/images/...
CMSystem/WebRoot/WEB-INF/...

The context is CMSystem folder.

But, none of the above is showing the image on viewing in browser. I am
using JBOss 3.2.5

Please let me know what mistake I am doing.


-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 8:51 PM
To: Struts Users Mailing List
Subject: [OT] Re: Image not getting displayed !


Jitendra Kumar wrote:
> I am using <IMG src="images/imagename.gif"></IMG> in myeclipse.
>
> In Design view the image is showing by when I view it in browser, the
> image doesn't show. Please let me know the reason.
>   
I'm not sure how this is Struts-related.

Even if it were, as you have provided essentially zero information this
will be difficult to diagnose.

Dave



---------------------------------------------------------------------
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]

************************************************************************
**** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
************************************************************************
****

---------------------------------------------------------------------
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