• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading a non servlet constants and data from a servlet  RSS feed

 
pulijala hari
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a servlet which has to get data from a non servlet java class.
While i try to access the non servlet class from a non servlet class, it all works fine. But when i try to access non servlet constants and its methods from a servlet class.., i am not getting any data.

Is there any work around for this?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hariprasad Pulijala:

Is there any work around for this?


There is no need for a work-around -- what you are trying to do is not tricky, There must be some logic error in your code, which you have yet to show us.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!