Hi everybody, Thanks all for great co-operation and support.
I am a bit new to GWT Though i have learnt a lot from this mailing-list in last couple of weeks I am stuck up with How to call GWT component ( mean to say ,give the the control to GWT entry point class for excuting onModuleLoad ) from extrenal HTML document. While working on integartion of GWT with external component, I am bit confused. My requirement is like this : I have a html displayed in the browser which is having mutiple buttons. This HTML is not part of GWT .This is being displayed in browser by some other component(currently .Net). On click of HTML Button in the browser I want to call gwt component that makes a call either to external tomcat server or displayes GWT widgets (widget button click , it also makes a call to external tomcat). One more thing is that can I have mutiple HTML for a single entry point so I can display various widget on requirement.I want to handle mutiple condition in a single own entrypoint class( inside the method onModuleLoad ) . Can anybody please provide ideas to get rid of this. 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 -~----------~----~----~----~------~----~------~--~---