Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:base

 
wrushasen dakhane
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain with example how does the html:base tag works?
 
Paras Jain
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In short once you declare <html:base> in your <head> section of your jsp you don't have to specify the full path for your resources like images etc

so instead of something like a/b/c/images/thumb.jpg you can say
/images/thumb.jpg.


Rgds,
Paras
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic