I'm currently trying to call a bean from a jsp, using Weblogic 5.1. If the bean is not in a package were do I put it so that the JSP can see it. Is there a default location within Weblogic.
Joe McGuire
Ranch Hand
Joined: Mar 19, 2001
Posts: 293
posted
0
Martin, The default 5.1 location for server-side classes (javabeans, utility classes, servlets, etc.) is in ../WEB-INF/classes (If it were packaged, the .jar file would go into ../WEB-INF/lib). For more info, go to the bea 5.1 docs for directory structure: http://www.weblogic.com/docs51/classdocs/webappguide.html#dirstruct Note, that if you have a package declaration in the utility class (or javabean), the class is placed in a subdirectory of ../WEB-INF/classes/, such as for a package com.beans.bill, the class would be placed in ../WEB-INF/classes/com/beans/bill/ [This message has been edited by Joe McGuire (edited October 25, 2001).]