Hi Lothar,

Thank you for providing such great help.
The Actual requirements is to add the comments for each item appeared on the 
browser.
I have created  a richtextArea with the buttons for entering the comments 
for each clicked item shown on the browser.
Now, once click over the buttons, It should be submitted to web server( 
tomcat ) already running for the whole product to save in the  server 
filesystem.This is external webserver
not gwt tomcat web server.

The main issue is that jsp existed on external webserver accepts only file 
path to save the comments content.
So I am force to create file having comments for each clicked item on the 
browser.For avoiding the creating files on client, I had suggested no (1) 
mentioned below.
Is this right fit? .

Sorry to ask Once more about (2) as I am bit confused , does RPC mechanisnm 
work on production environment also.   If yes ,Can I process as mention in 
(2).

Please provide your views for the same.

Regards,
Manish


----- Original Message ----- 
From: "Lothar Kimmeringer" <[EMAIL PROTECTED]>
To: <Google-Web-Toolkit@googlegroups.com>
Sent: Monday, September 29, 2008 3:00 PM
Subject: Re: * No source code is available for type java.io.BufferedWriter; 
did you forget to inherit a required module?*


>
> Manish Kumar schrieb:
>
>> Actually,I wanted to send the request parameters for file information to
>> Tomcat webserver( already implemented for whole application. ). But The 
>> main
>> problem is that
>> I have to use already existing jsp which takes only file path.So,
>
> If you have to call an existing servlet/JSP-page, you can use
> RequestBuilder where you can construct your own HTTP-requests
> and interpret the result as you like.
>
>> 1) Would this be good if I write a servlet on webserver which would write
>> the file and use sendredirect to jsp?
>
> Not really. The only exception I see here is if you have to
> perform WebService-requests or if you have to contact a
> different server than the one your GWT-application has been
> loaded from (by default this is restricted).
>
>> 2)  Can I make a call rpc call to my own servlet in gwt tomcat server 
>> which
>> will write a file and sendredirect to my jsp on application web server.?
>>     But , As per my study , rpc call is only for debugging so, it 
>> wouldn't
>> valid for production server.is this correct.?
>
> No, RPC is the way of choice communicating with the server
> from a GWT-application.
>
>> 3) or, as one of u suggested , write a applet with extended signature and
>> use some magic of JSNI.( for this, can anybody provide some more 
>> detail. )
>
> What exactly do you need the local file-access? If it's for
> a file-upload, there is a HTML-tag for that, i.e. you can
> use that inside GWT as well (using the FileUpload-widget).
> So if it's a file-upload we're talking about, use that,
> otherwise you will have to go the Applet-way or try to think
> over your concept and find a solution that doesn't need a
> local file-system.
>
>
> Regards, Lothar
>
> > 


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to