• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clarify html:base

 
Viswa
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
why we use this <html:base/> tag?
what is the purpose?
thanks & regards,
Viswa
 
Lionel Port
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic