• 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

setting configuration file path in weblogic...

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
As I need to read from the configuration file in my servlet, I had given the path of the configuration file with name in the startweblogic.sh. But still my servelt is not in postion to locate the file and it is throwing IOException.
Can any one help me out to solve this.
Thanks,
Vasu.
 
vasu devan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am trying to solve the file path problem. As I have MyFile.txt and which has all the information needed for my servlet, so in order to process the data, my servlet should take the information from the MyFile.txt, in this case where do I mentioned the path of the MyFile.txt, as mentioned I have already given the path of the file in the Startweblogic.sh in CLASSPATH and as well as in the PATH.
Looking forward for the solution.
Thanks,
Vasu
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..try to include tag for servlet config in web-inf/web.xml
so now ur servlet will work..
thx..
seshu
 
What's that smell? I think this tiny ad may have stepped in something.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic