Sign In!
|
New User?Signup Now!
|
Forgot password?
Source Code 4 you
Home
Create Forum Topic
Check WebSite Rank
Publish Articles
UV Web Booster
Contact
Forum Type
Search Engine
.Net C# VB F# VC++
MonoPoject
Java J2EE
Zand Php Cake Php
Oracle Database Server
Mysql Database Server
DB2 Database Server
MSSql Databse Server
Javascript Ajax
Html Xml Xhtml
C Programming
C++ Programming
D Programming
CGI Programming
Perl Programming
Cobol Programming
Pascal Programming
Ruby Programming
Drupal Programming
Automobile
Software Testing
Linux Unix Mac Sun OS
Embedded Systems
Mainframe
IC Microcircuit Chip
Electronics Electrical
Hardware Netwarking
SAP ERP
Logical Reasoning
Human Resources
Science
Agriculture
Accounting
History
Pharmaceutical
Other Topic
Java J2EE
Posted by :
Nickelnext
Read Xml File from RPC Servlet
Hello everyone,
i got this problem and it seems that noone on the web ever had it, or
at least no one has spoken about it.
That's my problem: I have a Rpc service called LoginService that
validates people on a certain webPage.
Until now, i had only one user (me) and my username and password were
hard-coded into the rpc servlet.
Now i must provide a xml file containing every Administrator.
I created a xml file like this:
<admins>
<admin><username>username</
username><password>password</
password></
admin>
<admin><username>another one</username><password>
another password</
password></admin>
</admins>
Now, what i found out is that in my LoginServiceImpl.java i cannot
call a RequestBuilder to get the xml file in which the admins are
stored and validate the user, and i don't know another way to load
that file, so...i'm in a dead-end. I don't know how to move on, so
please help me!
Thank you
Nickelnext
Posted by :
Nickelnext
Re : Read Xml File from RPC Servlet
It really was a stupid question. I solved the problem, simply using a
java class.
That's why i did not found anything on the web :P
Bye all!
If you have the better reply, then send it to us. We will display your reply after the approval.
Name :
Email Id :
Reply :