File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes clarify html:base Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "clarify html:base" Watch "clarify html:base" New topic
Author

clarify html:base

Viswa
Greenhorn

Joined: May 17, 2004
Posts: 16
Hi all,
why we use this <html:base/> tag?
what is the purpose?
thanks & regards,
Viswa
Lionel Port
Greenhorn

Joined: Sep 14, 2002
Posts: 19
The <html:base/> tag puts an absolute reference to the jsp page generating it.

This is then used when using relative urls in the jsp so that the location of the resource you might want to include is calculated based on the location of the jsp instead of the contents of the request uri.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: clarify html:base
 
Similar Threads
html:base
Frames & Struts - How to?
Is stylesheet not visible to Struts
Use of html:base tag in Struts
Redirect behind proxy