Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:useBean

 
Sherif Shehab
Ranch Hand
Posts: 487
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

<jsp:useBean id="user" beanName="myco.User" type="myco.interfaces.IUser" />

is this correctly declare a useBean tag ??

Thanks
 
Tarun Yadav
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think it might not be correct? Take a look at the syntax reference here if you want more clarification on what's to be used how.
 
Tony Smith
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I first saw the syntax in the enthuware software, and I was also suprised. I thought it was wrong first because it is never mentioned in the head first servlet and JSP book. So I am not familiar with it either, and why the author left it out; maybe it's not as popular?
 
Sherif Shehab
Ranch Hand
Posts: 487
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Smith:
I first saw the syntax in the enthuware software, and I was also suprised. I thought it was wrong first because it is never mentioned in the head first servlet and JSP book. So I am not familiar with it either, and why the author left it out; maybe it's not as popular?


ya this what happend with me too
 
What are you doing? You are supposed to be reading this 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!