Save a XML file on a server

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Save a XML file on a server

Postby anderson » Wed Aug 27, 2008 5:51 am


I have tried to save a xml file in the server-side but when i execute in a real server (not hosted mode), the file is not saved. I have used the following excerpt of code:

Code: Select all
FileWriter fw=new FileWriter(getServletContext().getRealPath ("/")
BufferedWriter bw=new BufferedWriter(fw);

I have found in all directories from the real server but i have not found the file test.xm.

Dou you have any ideia?

Thanks a lot
Posts: 2
Joined: Mon May 12, 2008 9:35 am

Re: Save a XML file on a server

Postby Eric Clayberg » Wed Aug 27, 2008 5:56 am

No idea.

General question about GWT should be directed to Google's GWT forum.

This forum is specifically for GWT Designer related questions.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests