aspose file tools
The moose likes Servlets and the fly likes where to place beans for jsp:useBean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "where to place beans for jsp:useBean" Watch "where to place beans for jsp:useBean" New topic
Author

where to place beans for jsp:useBean

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, I don't know where to place beans for jsp:useBean. Do I put the bean classes in the same directory as the jsp files?
Thanks.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Cameron Park:
Hi, I don't know where to place beans for jsp:useBean.

Ah, another day has gone by I see. Just on time. You put your class files under WEB-INF/classes, and your jars in WEB-INF/lib. You really wonder why this is never mentioned anywhere.
- Peter
anshu_bhatia
Greenhorn

Joined: Apr 20, 2001
Posts: 8
Put the classes in web-inf\classes directory if you are suing Jrun. If tomcat I don't know, Sorry.
I hope this helps.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: where to place beans for jsp:useBean
 
Similar Threads
A JavaBean inside a JSP function
c:out problem
Is this an error in HFSJ ??
To Bean or Not To Bean...
Head First EJB - errata?