• Post Reply Bookmark Topic Watch Topic
  • New Topic

communication between javabean & custom tag

 
prajakta patil
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can somebody explain me how to communicate between javabean(jsp:useBean..) & custom tag ?
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

can somebody explain me how to communicate between javabean(jsp:useBean..) & custom tag ?



(jsp:useBean..) is NOT a bean. Its a Bean standard Action used to access a bean.

Basically custom tag handler is a java class and java bean is also a java class. So you can instantiate the bean in custom tag handler and use getter/setter methods to access the bean.
 
prajakta patil
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks vishnu.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!