Using Struts with a Database hangs?

2002-02-14 Thread Sam Cheung
Hi, I am using Struts 1.0 with Pointbase Database in Tomcat4.0.2. When I comment out the datasource in my struts-config.xml, I am able to start TomCat. When I add the following lines back in my struts-config.xml, Tomcat hangs during initialization (i.e. I can never see the line "Starting serv

Screen Flow based on UserAgent in Struts

2002-02-10 Thread Sam Cheung
Hi, Is there a way to config Struts to forward a different jsp based on the User Agent of the HTTP Request? I would like to use the User Agent to identify the client type (e.g. where desktop or a mobile phone) and send out either HTML content or WML content. I come up this idea, I am wondering i