File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: where to place beans for jsp:useBean
 
Similar Threads
Is this an error in HFSJ ??
A JavaBean inside a JSP function
Head First EJB - errata?
To Bean or Not To Bean...
c:out problem