IntelliJ Java IDE
The moose likes BEA/Weblogic and the fly likes Weblogic 5.1 can't locate bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Weblogic 5.1 can Watch "Weblogic 5.1 can New topic
Author

Weblogic 5.1 can't locate bean

Martin Lawrence
Greenhorn

Joined: Oct 20, 2000
Posts: 14
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
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).]
 
 
subject: Weblogic 5.1 can't locate bean
 
Threads others viewed
weblogic for win98
Storing Java Beans and JSP
password-protect JSP page
regarding transaction in weblogic 5.1
Simple explanation to deploye JSP in weblogic 5.1 server
developer file tools