• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic 5.1 can't locate bean

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic