RE: MVC problem

2000-12-05 Thread Bragg, Casey
m: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 04, 2000 11:35 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: MVC problem I guess, there IS a way to forward the .jsp processing to tomcat's jsp-servlet, even when you have registered your own servlet to proc

Re: MVC problem

2000-12-04 Thread Kedar Choudary
From: Craig R. McClanahan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 30, 2000 11:27 PM Subject: Re: MVC problem > See below. > > "Aiken, David" wrote: > > > > hi all.. > > > > >

RE: MVC problem

2000-12-01 Thread Aiken, David
Re: MVC problem OK, this works (tested in Tomcat 3.1). Extend HttpServlet and implement HttpJspPage. (The easy way is to copy HttpJspBase.java and then edit the service() method.) Then have your JSP's (or your servlets I think, but I haven't tested that yet) extend the new class

Re: MVC problem

2000-11-30 Thread Vik P. Solem
OK, this works (tested in Tomcat 3.1). Extend HttpServlet and implement HttpJspPage. (The easy way is to copy HttpJspBase.java and then edit the service() method.) Then have your JSP's (or your servlets I think, but I haven't tested that yet) extend the new class that you just created. In the s

Re: MVC problem

2000-11-30 Thread Vik P. Solem
OOPS. Sorry about that folks. This won't work in Tomcat the way I described. I just noticed that in the Tomcat source the service method on HttpJspBase is final. We're still waiting for management to decide on Apache-Tomcat vs. WebLogic. It looks like lessons learned previously in WebLogic

Re: MVC problem

2000-11-30 Thread Vik P. Solem
Hello David. I don't know if this will help you, but when we needed to perform some basic functionality prior to each page request we created a super-class for our servlets (actually it was jhtml, not JSP, but it was a while ago). This super class was a servlet that implemented the method servic

Re: MVC problem

2000-11-30 Thread Craig R. McClanahan
See below. "Aiken, David" wrote: > > hi all.. > > > > We're hitting a problem with the MVC approach in tomcat. > > > > Our controller is designed to intercept all requests for URLs within our > > web application so that it can handle internationalization and security > > checks centrally. > > >

Re: MVC problem

2000-11-30 Thread Mike La Budde
> >I believe one solution offerred previously on this list (thank you Craig!) >was to place all of your .jsp pages underneath /WEB-INF (e.g. >/WEB-INF/jsp/...) Since these can never be served up (goes against the >jsp/servlet spec) > >HTH, > >Mike > > >At 11/30/2000 10:20 AM -0600, you wrot