of course; - my custom servlet which is extending from GWTShellServlet: CustomShellServlet.java<http://code.google.com/p/apiks/source/browse/trunk/src/edu/hacettepe/bote/server/servlet/CustomShellServlet.java> - my FreeMarker template to generate application entry page (by custom servlet above): ApiksApp.ftl<http://code.google.com/p/apiks/source/browse/trunk/src/edu/hacettepe/bote/server/freemarker/templates/ApiksApp.ftl> - plus; changed the web.xml (from "gwt-dev-windows.jar\com\google\gwt\dev\etc\tomcat\webapps\ROOT\WEB-INF") to point to my custom servlet...
in summary: i'm catching my target request (at servlet), getting necessary request parameters, and generating my main page by using a FreeMarker template. tried it... working as expected... ;) Hasan... On Fri, Jan 2, 2009 at 3:10 PM, Joe Cole <[email protected]>wrote: > > Hasan, > > Can you post how you got it working? > > On Jan 2, 10:50 pm, "Hasan Turksoy" <[email protected]> wrote: > > @Reinier; yes, it's a normal jsp page... but not working on GWT's tomcat > > instance... > > @Joe; Thanks, it worked by your suggested solution... > > > > BTW, does anybody know the reason why GWT's internal tomcat not working > with > > a valid jsp code which is working on normal tomcat instances? I'd be > > appreciated if a GWT tomcat implementor, watching this thread, > explains... > > > > Regards, > > > > Hasan... > > > > On Fri, Jan 2, 2009 at 6:47 AM, Joe Cole <[email protected] > >wrote: > > > > > > > > > See my post: > > > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa. > .. > > > > > It should help. You'll need to override the gwtshellservlet and make > > > sure that you process the html files as the generated servlets. > > > Not sure if anyone has done it, but it would be a great addition to > > > gwt itself. > > > > > On Jan 2, 11:07 am, "Hasan Turksoy" <[email protected]> wrote: > > > > Hi all, > > > > > > i want to change my main html page to a jsp page - to get some > request > > > > parameters to process in gwt code. But its not working... Below is a > > > simple > > > > test code which is working on tomcat but not working on shell... > > > > > > .... > > > > <script language="javascript"> > > > > <% String str = "TEST"; %> > > > > var s="<%=str%>"; > > > > alert(s); > > > > </script> > > > > .... > > > > > > Anybody knows the reason? > > > > > > Thanks and regards, > > > > > > Hasan... > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
