Thanks for your help.
You don't need the GWT library to do this - it happens on the server
and is only limited by the Java Runtime. If you want to run a Perl
script on your server, then run it - GWT's function is to handle
client side javascript along with RPC on the server. If what you mean
is you want to run a CGI script when you click on your Widget or
something, then make a request to that CGI script from the client
(because on the client you can't use Java's Runtime). Did this answer
your question?
-krispy
Laure
http://code.google.com/webtoolkit/documentation/com.google.gwt.http.client.RequestBuilder.html
http://code.google.com/webtoolkit/documentation/com.google.gwt.user.client.HTTPRequest.html
The reason you can't call any Java class in a Widget is because GWT
compiles your Java code to Javascript, and so it limits how much of
the Java API you can use. On the server, though, you can do anything
you want - I don't dabble in the CGI stuff, but if you search this
forum you can probably find more specific instructions on how to do
that. Basically, it seems to me like you should just be able to put
the URL into the RequestBuilder and get the response, then use the
response in your Widget. Glad to help out with what little I can!
-krispy