• Post Reply Bookmark Topic Watch Topic
  • New Topic

custom tags

 
swamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before the call the doStart() methods which methods called? and what is use of the those methods?
Means initilization phase.
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To what class do those methods belong?
 
swamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when jsp custom tag is occurs, what r the steps to involved?
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When a custom tag is first used in a JSP page, then JSP engine will do following before calling doStartTag()...


  • Create an instance of Bean class by invoking no-arg constructor.
  • sets its pageContext property by calling setPageContext(....)
  • sets its parent property by calling setParent(...), if tag has a Parent tag.
  • Finally it sets other attributes of the bean instance like attribute1, attribute2, attribute3 (if defined) by calling their setters.



  • regards

    Naseem Khan
    [ June 13, 2006: Message edited by: Naseem Khan ]
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!