Re: Where can I put a File to be read/write from RPC Servlet ?

2010-08-03 Thread Jose Luis Estrella Campaña
Wow, Thomas... That sounds amazing. But does it work inside another Container's Context like JBoss for example ? But in general terms it does look pretty much amazing. Thanks for your comments and suggestions, Sincerely, Jose. On Aug 2, 2:11 pm, Thomas Dvornik amp...@gmail.com wrote: You are

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-08-02 Thread Jose Luis Estrella Campaña
H, Well that indeed seems to be the problem, however I've solved my problem by embedding SQLite inside my ear file. had to go in a different direction because I was wasting a lot of time. SO, I haven't looked any further as of why I wasn't able to read the file. Thanks anyways, and let me

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-08-02 Thread Thomas Dvornik
You are using appengine? Have your tried using the Blobstore? http://www.google.com/url?sa=Dq=http://code.google.com/appengine/docs/java/blobstore/overview.htmlusg=AFQjCNGCcnwak-j5mdj2dxGi2AmmtX0YUw Tom On Aug 2, 11:20 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: H, Well that

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-08-01 Thread Sripathi Krishnan
Do you have google app engine enabled? It is a setting in Eclipse. Google App Engine doesn't allow you to read from the file system - and perhaps that may be your issue. --Sri 2010/7/28 Jose Luis Estrella Campaña jlecamp...@gmail.com Katharina, Hi, and... No, I have not solved it.

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-31 Thread Luis Daniel Mesa Velasquez
I might be missing something... but, why don't you store it in a database? On Jul 28, 9:31 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Katharina, Hi, and... No, I have not solved it. apparently the file and/or directory restrictions are ok, at least according to what I have

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-28 Thread Katharina Probst
Did you get this solved? It doesn't look to me like it has anything to do with GWT, but it's purely a file permission thing. Have you set the file permissions on your file properly? Is your server-side directory somehow read-restricted? On Tue, Jul 27, 2010 at 4:25 PM, Jose Luis Estrella

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-28 Thread Jose Luis Estrella Campaña
No, I have not solved it Katharina. Apparently there's nothing wrong with the file or directory permissions. I'm working on windows vista, and I don't know If there's some kind of requirement in terms of the user I'm logging in with. Which in this case it's not administrator. Don't know what else

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-28 Thread Jose Luis Estrella Campaña
Katharina, Hi, and... No, I have not solved it. apparently the file and/or directory restrictions are ok, at least according to what I have seen, I wonder If there's a problem with the permissions a non-administrator user has in Windows vista, but otherwise the file seems to be ok. Frankly I

Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread Jose Luis Estrella Campaña
Good day everybody, I have this particular need, where I need to have a file (xml) within my GWT app. I have some data in this xml I must read, change, and then write (update) The file must be delivered or included within the Gwt App. Can anybody please tell me where can I place this file, so I

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread dane.molotok
I guess I'm missing something in the question. Have you tried some things and it's not working like you'd expect? I would think you could put it in src/org/jose/server. On Jul 27, 11:21 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Good day everybody, I have this particular need,

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread Jose Luis Estrella Campaña
Hello dane ! You're right in assuming something it's not working. Here's the thing... I need to read from the xml file so I can perform some operations on it and then save it again, here's the code I'm trying to get to work: import public class GreetingServiceImpl extends

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread skippy
I would put the file in the WEB-INF/XML/ change the path to the file to xml/users.xml or /xml/user.xml On Jul 27, 1:57 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hello dane ! You're right in assuming something it's not working. Here's the thing... I need to read from the xml

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread skippy
If that does not work, ping me again and I will provide a code sample. On Jul 27, 2:09 pm, skippy a...@2lehmans.com wrote: I would put the file in the WEB-INF/XML/ change the path to the file to xml/users.xml or /xml/user.xml On Jul 27, 1:57 pm, Jose Luis Estrella Campaña

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread Jose Luis Estrella Campaña
Hi skippy ! I have tried your suggestion but unfortunately it did not work :( I changed the java APIs I used this time but the result is the same: ... try { File f = new File(xml/users.xml); FileReader reader = new FileReader(f);

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread skippy
I would have tried your last example. It look like a access problem to the file. follow the access denied message. See what that get you. Sorry, I know how it does. On Jul 27, 2:36 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hi skippy ! I have tried your suggestion but

Re: Where can I put a File to be read/write from RPC Servlet ?

2010-07-27 Thread Jose Luis Estrella Campaña
Hello sir ! I have already tried all the ways I mentioned previously, including the ones you suggested, but the problem remains. It is obviously according to the stack trace launched by the Exception some sort of File permission error. I would like to know what can I do about it ? can you help me