Hi Lothar and all, Thank all of you very much for much needed stuffs and great support. Atlast, I implemented by writing a separate servlet in our web container(external) which accepts the request URL (contains all file information and comment text )and write the file inside the server.
Regards Manish ----- Original Message ----- From: "Lothar Kimmeringer" <[EMAIL PROTECTED]> To: <Google-Web-Toolkit@googlegroups.com> Sent: Monday, September 29, 2008 5:16 PM Subject: Re: * No source code is available for type java.io.BufferedWriter; did you forget to inherit a required module?* > > Manish Kumar schrieb: > >> The main issue is that jsp existed on external webserver accepts only >> file >> path to save the comments content. > > I think you confuse PATH_INFO with file path. The path-info of a URL is > everything in the URL after the actual resource, so given a JSP-page > that is accessed > via http://www.example.com/servletpath/process.jsp/my/path/info/hello.txt > the PATH_INFO in that case would be /my/path/info/hello.txt (I write > PATH_INFO that way because this is the variable being used when using > the CGI-gateway. > > In servlets (i.e. in JSP-pages as well) you can access the path-info- > value with getPathInfo() provided by the HttpServletRequest (that > can be accessed with the variable request inside JSP-pages). > >> So I am force to create file having comments for each clicked item on the >> browser. > > I still don't see a need for the creation of files but it is looking > more like a special URL to be constructed. Again RequestBuilder would > be the class of choice in that case. On the other hand, if your JSP- > page expects a previous file-upload, you're screwed. In that case, > before starting a Signed Applet Project, you should consider extending > your JSP-page/servlet to accept the "file" as content of a POST-request. > >> 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 > > RPC works on production systems as well. gwt-servlet.jar and your server- > classes must be in the classpath of your web-application/server. As well, > your web.xml must contain a servlet-entry for your servlet. If you want > to use the PATH_INFO-functionality, you might need two entries, one > with the URL-pattern /MyServletPattern and /MyServletPattern/* > > > 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 -~----------~----~----~----~------~----~------~--~---