Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what we can put here in the usebean from the list given below

 
ramkumar kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a servlet context Listener load a lists of com.example.product object from a database and stores that list int ot hte catalog attribute o f the servlet Context

place code at prooer palce :


<jsp: UseBean


here
here
here


/>

------------

list --

from these code :
til
id =product
scope ='application '
type ='java.util.List'
name= 'catalog'
scope ='servletContext '
scope = context
id =catalog
scope= context
type = com.example.product


 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please quote your sources.
 
Michael Rios
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

answer:

<jsp:useBean id="catalog" type="java.util.List" scope="application" />
 
Abdul Rahman
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please avoid using such incomprehensible questions. Be very clear in your questions and as pointed by christopher, please quote your sources from where you got this question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic