You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lawrence Williams <la...@idil.co.uk> on 2003/12/11 15:24:46 UTC

RE: Use of

If its printing only <html:base/> in your browser source then chances are you have not referenced the html taglib.

<%@ taglib uri="/tags/struts-html"  prefix="html" %>

Regards
Lawrence

-----Original Message-----
From: Antony Paul [mailto:antonypaul24@hotmail.com] 
Sent: 11 December 2003 14:28
To: struts
Subject: Use of <html:base/>

Hi,
    What is the use of <html:base/> tag. How to use it. I am having problem in displaying images which are in sudirectories when using forward. I thought this tag will solve this. It is printing only <html:base/>. The directory structure of application is as follows.
/
/sales
/sales/images
/sales/lib
       After login user is forwarded to /sales/home.jsp. In this page all links are provided like this <IMG SRC="images/logo.gif" WIDTH=76 HEIGHT=32>.
But it is not displayed. If redirect is used then ok. How to change the url ?. Also for development purposes the application is in a context named /biz.
In production it will be moved to root of the container.
    What is a context relative url and application relative url.

rgds
Antony Paul.



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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
 

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


Re: Use of

Posted by Antony Paul <an...@hotmail.com>.
Yup. By mistake I referenced struts-bean.tld. I am a bit tired today. Thak
you for  correction
rgds
Antony Paul

----- Original Message -----
From: "Lawrence Williams" <la...@idil.co.uk>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, December 11, 2003 7:54 PM
Subject: RE: Use of <html:base/>



If its printing only <html:base/> in your browser source then chances are
you have not referenced the html taglib.

<%@ taglib uri="/tags/struts-html"  prefix="html" %>

Regards
Lawrence

-----Original Message-----
From: Antony Paul [mailto:antonypaul24@hotmail.com]
Sent: 11 December 2003 14:28
To: struts
Subject: Use of <html:base/>

Hi,
    What is the use of <html:base/> tag. How to use it. I am having problem
in displaying images which are in sudirectories when using forward. I
thought this tag will solve this. It is printing only <html:base/>. The
directory structure of application is as follows.
/
/sales
/sales/images
/sales/lib
       After login user is forwarded to /sales/home.jsp. In this page all
links are provided like this <IMG SRC="images/logo.gif" WIDTH=76 HEIGHT=32>.
But it is not displayed. If redirect is used then ok. How to change the url
?. Also for development purposes the application is in a context named /biz.
In production it will be moved to root of the container.
    What is a context relative url and application relative url.

rgds
Antony Paul.



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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003


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



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