The moose likes Servlets and the fly likes doubt in placing a bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "doubt in placing a bean" Watch "doubt in placing a bean" New topic

doubt in placing a bean

govind raj

Joined: Jan 05, 2001
Posts: 2
where to place a bean class in jawawebserver2.0 to run jsp?
Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61

to use the beans(invisible beans only) or user-defined classes in a jsp page, u have to place them in 'classes' directory of JavaWebServer2.0.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You need to create a Package in the Classes folder
and then place the Bean.
Then include the package keyword in the class file.
I agree. Here's the link:
subject: doubt in placing a bean
jQuery in Action, 3rd edition