Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in using weblogic

 
rajaraman navaneethan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frieds,
i have a simple doubt in using weblogic.i have created a java class inside the classes folder(the same folder in which i have saved the servlets).i tried the simple MVC eg given in HFS unit 3.
but when i try to instantiate the class inside another servlet i am getting the error that the class is not found(i.e cannot resolve symbol).plz guide me as to how to overcome this prb.
regards,
Raja
 
shiva viswanathan
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you given the import statement for the class in the Servlet file
 
rajaraman navaneethan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi shiva,
do i have to import even if the servlet and the plain java class are in the same package.
still i have tried having the java class in a separate package and importing still it gives the same prb.kindly help.
regards
Raja
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic