• Post Reply Bookmark Topic Watch Topic
  • New Topic

setting href attribute of anchor tag  RSS feed

 
khurram mirza
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
how can i set href attribute of anchor tag to a url or file path.the url or file path is in java object of String type.but the problem is that we can not assign java object to href attribut.i'm using java object for file path because file path depends on user.as matter of fact,href is assigned string literal but i've to use object having file path.i'm doing all that in jsp page.
khurram mirza
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!