Saturday, October 3, 2009

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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate