<!-- what you are forwarding/redirecting to must be mapped so in one of my web.xml i have --. <servlet-mapping> <servlet-name>freemarker</servlet-name> <url-pattern>*.ftl</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>layoutServlet</servlet-name> <url-pattern>/servlets/layoutServlet</url-pattern> </servlet-mapping>
if i land on URL that ends in ftl the container will invoke the freemarker servlet if i land on URL that ends with /servlets/layoutServlet then container will invoke layoutServlet are you forwarding or redirecting to mapped url-pattern 's? to verify display /WEB-INF/web.xml and edu.ufl.uflib.hr.web.HRSurveyLogin.java doGet method Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: em...@ufl.edu > To: users@tomcat.apache.org > Date: Tue, 24 May 2011 09:11:15 -0400 > Subject: Static Resources - Runtime Problems > > I'm finding that whether I use a redirect() or a forward() to a static > resource, my server goes crazy. > > at > org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:572) > at > javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229) > at > org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:572) > at > javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229) > > Above is output to the console many times. Then the pattern below repeats > until I stop the application with the Tomcat Manager. > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) > at edu.ufl.uflib.hr.web.HRSurveyLogin.doGet(HRSurveyLogin.java:180) > > I must be overlooking something very basic. > > The catalina log simply says: > > May 24, 2011 8:33:35 AM org.apache.catalina.core.StandardWrapper unload > INFO: Waiting for 461 instance(s) to be deallocated > May 24, 2011 8:33:36 AM org.apache.catalina.core.StandardWrapper unload > INFO: Waiting for 461 instance(s) to be deallocated > May 24, 2011 8:33:37 AM org.apache.catalina.core.StandardWrapper unload > > Can anyone help? > > mj > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >