Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

read xml file from jsp/servlet

843835Apr 24 2003 — edited Apr 30 2003
Hi all,

I am a new comer to jsp and really appreciate if someone can help me on this:

I will like to use a xml file to control access to my web app instead of using a database. Let say user.xml that will contains user name and password. Questions:

1. where should I put this file? Under WEB-INF?

2. In my jsp or servlet, how do i read the xml file, i mean how to i refer to the file (depend on question 1 as where the file should be placed)?

Thank you very much.


Sim

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 28 2003
Added on Apr 24 2003
7 comments
120 views