• 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

Compilation In bean

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
I have made a Bean known as UserdataBean and Iam calling this bean in jsp page ,since I have saved and compiled this Bean in my directory
c:\tomcat_40\webapps\jass\web-inf\classes\UserDatabean.java
Iam compiling this bean here and when I acll this bean in jsp page Iam getting this error which is following.
Class org.apache.jsp.UserDataBean not found.
UserDataBean User1 = null;

Iam using tomcat4.0 .
Well I tried alot but anyone can suggest me where Iam wrong.
Thanks

jasbir
^
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probably forgot to import the class :
<%@ page import = "UserDatabean" %>

- ortimuS
[ June 09, 2004: Message edited by: ortimus tilap ]
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a recording - put the bean in a package other than default.

(Do a search in this forum... this is a problem that comes up a lot...)
 
Jasmine kaur
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
Thanks for helping me ,well its working perfecctly now .
Thanks for all the help.Thanks alot
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic