RE: servlet to portlet

2001-02-16 Thread ingo schuster
Sorry, I mixed up two different things: The EcsServletElement uses the RequestDispatcher - that's absolutely safe. I thought it'd open an URL connection (as it the DiskCach does) and this would result in looping from the servlet container, through the web server back to the servlet container -

Re: servlet to portlet

2001-02-16 Thread Santiago Gala
ingo schuster wrote: Sorry, I mixed up two different things: The EcsServletElement uses the RequestDispatcher - that's absolutely safe. I thought it'd open an URL connection (as it the DiskCach does) and this would result in looping from the servlet container, through the web server

Re: servlet to portlet

2001-02-16 Thread ingo schuster
At 14:04 02/16/01, Santiago Gala wrote: ingo schuster wrote: Sorry, I mixed up two different things: The EcsServletElement uses the RequestDispatcher - that's absolutely safe. I thought it'd open an URL connection (as it the DiskCach does) and this would result in looping from the servlet

RE: servlet to portlet

2001-02-15 Thread David Sean Taylor
xbill wrote: For development- another option is to put your JDBC calls in a basic JSP and run it from: WRT MVC, is this really the kind of advice we want to be giving on the list? :) I remember seeing that you could generate JSP using ECS- but I haven't tested this yet. yes, create a new

Re: servlet to portlet

2001-02-15 Thread ingo schuster
The postings below pointed to the two most promising approaches: - Either take your servlets code and pack it into a portlet or - using the EcsServletElement to include the output of a servlet within a portlet (see earlier postings about this topic). (Note that the latter way is very easy, but

Re: servlet to portlet

2001-02-15 Thread Udo Bussmann
Hi, I think org.apache.jetspeed.util.servlet.EcsServletElement should do the job, but didn't try it yet. It extends the ECS concrete element. Regards Udo On Tue, 13 Feb 2001 20:32:11 +0100, Reddy, Ayndla Srinivas wrote: Hello, I have a simple servlet which connects to mysql database

RE: servlet to portlet

2001-02-15 Thread David Sean Taylor
Ingo, What you wrote here is of interest to me: (Note that the latter way is very easy, but it is generally bad practise to open HTTP connections from within a servlet container to a servlet in the same container. In systems under high load, the EcsServletElement sould only be used with

RE: servlet to portlet

2001-02-15 Thread SCHAECK
David Sean Taylor wrote: Ingo, What you wrote here is of interest to me: (Note that the latter way is very easy, but it is generally bad practise to open HTTP connections from within a servlet container to a servlet in the same container. In systems under high load, the

Re: servlet to portlet

2001-02-14 Thread xbill
David Sean Taylor wrote: try this link, it covers the basic steps to writing a portlet http://www.bluesunrise.com/jetspeed/PortletHowTo.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Reddy, Ayndla Srinivas Sent: Tuesday, February 13,