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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to