Hi, <html:base> tag will always be rendered with "href" attribute. This will by default add href attribute pointing to the absolute location of the enclosing JSP page. I believe "list.jsp" is the enclosing page in ur case.
If you want to change that then u should use optional ref attribute with either "page" or "site" has values. If u put "page" then it will add href pointing to enclosing page which is default and happening to u now. If "site" is used then base url of the site is added (for eg: <html:base ref="site" target="_self"/> will add <base href="https://abc.com/..." target="_self">) First of all, why does u want to use a base tag without any href value? You can simply remove the tag itself, isn't it? Regards, Muthu -----Original Message----- From: sugany...@tcs.com [mailto:sugany...@tcs.com] Sent: Wednesday, April 08, 2009 7:56 AM To: user@struts.apache.org Subject: html:base tag doubt Hi, In my JSP page I am setting the base target value in the header . <html:base target="_self"/> I am not setting the Href value anywhere in my application. But when I run the application I checked the source for that JSP page. the base tag have 2 attributes href and target. <base href="https://abc.com/Ebooks/./common/List.jsp" target="_self"> By default will it assign any value to the href field if yes How it is doing that ? Please help me. Thanks, Suganya C =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org