Thank you Gabriel. Obrigado/FilipeAlvesFerreira#4(1942) 2009/8/25 Gabriel Moreira <gabrielmore...@gmail.com>
> > Im trying this on google appengine: > > public class MyFilter implements javax.servlet.Filter { > > public void doFilter(ServletRequest servletRequest, ServletResponse > response, FilterChain filterChain) throws IOException, > ServletException { > response.getWriter().print("port " + ((HttpServletRequest) > servletRequest).getLocalPort() ); > } > } > > > Testing this local url: http://localhost:8080/test.servlet > > AppEngine is returning 8080 on HttpServletRequest.getLocalPort(). > > > Testing this remote url: http://myapp.appspot.com/test.servlet > > AppEngine is returning 0 on HttpServletRequest.getLocalPort(). > > > Anyone can test this? > > > > -- FilipeAlvesFerreira#4(1942) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---