Re: OT?:Can't include .js file on jsp page controlled by front controller servlet

2004-01-12 Thread Howard Watson
What does the js in your JSP do and how are you including it? Some text from your JSP might help. [EMAIL PROTECTED] 01/12/04 09:58AM I may be getting in over my head here as I'm really not all that familiar with patterns. And I'm not sure that the pattern has anything to do with problem. But I

RE: Front Controller Servlet

2003-08-14 Thread Angus Mezick
Use a different extension or you aren't getting anywhere. -Original Message- From: Sharon Cohen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:43 AM To: [EMAIL PROTECTED] Subject: Front Controller Servlet I am trying to build FrontController servlet for a web site

Re: Front Controller Servlet

2003-08-14 Thread pete . storey
://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020 7692 9922 Fax 020 7692 9923 Sharon Cohen [EMAIL PROTECTED] 05/08/2003 13:42 Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:Front Controller

Front Controller Servlet

2003-08-14 Thread Sharon Cohen
I am trying to build FrontController servlet for a web site on Tomcat 4 , after long time of changes on the web.xml file , I wasn't able to achieve this pattern, the web.xml portion is : servlet-mapping servlet-nameFCservlet/servlet-name url-pattern*.jsp/url-pattern /servlet-mapping

RE: Front Controller Servlet

2003-08-14 Thread Yansheng Lin
Why do you use Struts Framework? Just a suggestion, don't take me wrong. I have no idea what you want to do... -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 3:09 PM To: Tomcat Users List Subject: RE: Front Controller Servlet Use a different

Fwd: Re: Front Controller Servlet

2003-08-14 Thread Justin Ruthenbeck
Date: Tue, 05 Aug 2003 14:42:05 -0700 To: Tomcat Users List [EMAIL PROTECTED] From: Justin Ruthenbeck [EMAIL PROTECTED] Subject: Re: Front Controller Servlet At 05:42 AM 8/5/2003, you wrote: I am trying to build FrontController servlet for a web site on Tomcat 4 , after long time of changes

Re: Front Controller Servlet

2003-08-09 Thread Dionisio Ruiz de Zarate
PROTECTED] Sent: Wednesday, August 06, 2003 12:59 AM Subject: Re: Front Controller Servlet The reason it is crashing is because you are forwarding to a JSP page, however you have already taken over jsp processing in your servlet by declaring that it should handle *.jsp, thus it forwards

Re: Front Controller Servlet

2003-08-08 Thread Bill Barker
I agree that the design isn't the greatest (but I've seen much worse ;-). To do what you want, in FCServlet try something like: if(request.getServletPath().endsWith(.jsp)) { RequestDispatcher rd = getServletContext().getNamedDispatcher(jsp); rd.forward(request, response);

Re: Front Controller Servlet

2003-08-07 Thread Justin Ruthenbeck
At 05:42 AM 8/5/2003, you wrote: I am trying to build FrontController servlet for a web site on Tomcat 4 , after long time of changes on the web.xml file , I wasn't able to achieve this pattern, the web.xml portion is : servlet-mapping servlet-nameFCservlet/servlet-name

RE: Front Controller Servlet

2003-08-06 Thread Mike Curwen
That's because you're trying to implement as front controller **servlet** as a JSP ? Map your controller servlet to /foo (or anything *other* than *.jsp) then requests could all go to the controller servlet, and your servlet could send it off to any *.jsp page without invoking itself infinitely