This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
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