Hi all!

I'm trying to create an web interface around some scripts which run on
a server. I want to offer the users an website where they can use the
fileUpload widget from GWT, and then follow the output of the file (it
is an source file which get compiled) in the browser.

I'm able to upload the file to the server, and the script which is
compiling is picking is up.
So far so good.

However i want to list the progress which is saved in  a .log file to
the browser.

I'm trying to find a way to get the stdout stream from the script to
appear in the browser. How can I aproach this problem? The return
output of the server is text, so this should be possible. I have a
servlet (non-gwt) on the server side which is processing the file
upload. What should this file return? Should I send all the output of
the server through HttpServletResponse.getWriter().print? And how can
I catch this on the client? at this moment I have in my fileupload
widget the following code:

public void onSubmitComplete(FormSubmitCompleteEvent event) {
    Window.alert(event.getResults());
}

This gives me a popup, but I need the output in a textarea, since it
can be a lot of text.. Can anyone give me some directions?

thx!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to