the URL you land on needs to map to a servlet or jsp
<servlet> <servlet-name>Servlet</servlet-name> <servlet-class>package.Servlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Servlet</servlet-name> <url-pattern>/home/*</url-pattern> </servlet-mapping> in this case anyone who lands on WebappName/home/* will invoke package.Servlet (other than political)..is there any reason you want to use a JDBC driver on a Microsoft Database? Martin Gainty ______________________________________________ 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: yucca...@live.co.za > To: users@tomcat.apache.org > Subject: Re: sneaky JDBC connection (was: THANK YOU ALL for help) > Date: Fri, 28 May 2010 17:34:18 +0200 > > Hello and thank you... > > > >> As a matter of interest there > >> remains a bug that I was unable to get on top pf during development. > >> This minor bug involves loggung out of my application where I need to > >> refresh the page to show that the user has been logged out. > >> > >> The following were tried but failed.... redirectng from the logout > >> action it (never redirects) > > > > So, what does happen if it doesn't redirect? > > > It stays on the same page. > > I tried returning "home" from logout method to get controller to redirect > but it never rendered the home page and just stayed in the current url. > > I also attempted to try various methods of logging out where I either used a > backing method that also returned String after invalidating the session or a > hardcoded redirect myself inside the backing bean > > with the JDBC driver, the message does not appear in tomcat logs but I > googled anf found something similar .... > > A web application registered the JBDC driver > [com.microsoft.sqlserver.jdbc.SQLServerDriver] > but failed to unregister it when the web application was stopped. To prevent > a memory leak, > the JDBC Driver has been forcibly unregistered. > I found one place I was not closing connection :p > > > > > > > > > } > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5