Bookmark Topic Watch Topic
  • New Topic

Error reading non servlet data from a jsp  RSS feed

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

I have a non servlet class which reads data from custom.xml file and returns a data list through one of its methods.

I tried accessing this data from a normal class.., it worked perfectly.

But when i try to access the same method from a JSP, i am not getting any data.It is throwing an error saying "custom.xml not found in the class path"
The custom.xml file is in the same location as the java class..
Where should i put this xml file and how to access it from a non servlet class?
Its urgent for me to deliver the code., any help highly appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!