Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6908023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:30:30+00:00 2026-05-27T08:30:30+00:00

I need to put some settings files in the ‘working directory’ in order to

  • 0

I need to put some settings files in the ‘working directory’ in order to configure my app.

I have tried puting it in ./WEB-INF/ but did not work, any idea where is the ‘working directory’?, and, is it a way to get it programatically?

thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:30:30+00:00Added an answer on May 27, 2026 at 8:30 am

    Although I realize you didn’t specifically ask this question maybe this will address your real problem …

    Have you considered putting your config files under WEB-INF/classes ? Many configuration files in a web application are loaded as resources, not as “file” objects. If you put your configuration files under WEB-INF/classes they will be available as resources through the ClassLoader.

    EDIT: As a side note, there’s a slight danger in putting your config files directly under WEB-INF, as they may be exposed to end users by just typing in the correct URL. This depends on other settings in your web container, but it is a real possibility and has happened more than once. Hope you don’t do something like keep DB connection info there …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need some guidance. I have java webstart app and I want it to connect
I have some settings I need in a Javascript file -- servers to connect
I put each type emacs settings into some single files, like load-cygwin.el, load-cedet.el etc.
I need to put some of the entities created via a.dbml Linq-To-Sql file into
I need to put a little project together for myself, and I need some
In my webpage I need to put a horizontal colored strip of some width
I'm writing some terrible, terrible code, and I need a way to put a
i need to put the page no like stackoverflow have at the tags page
I need to have an executable file (.exe) which takes some parameters from a
I need to override some settings for .NET components hosted inside Internet Explorer. I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.