Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Frank W. Zammetti
On Fri, September 16, 2005 12:41 pm, Joe Germuska said: > One common use case for this is using the VelocityServlet. If one > doesn't use JSPs, odds are at least decent that your alternative view > technology is packaged as some kind of servlet. This may also come > up once StandAlone Tiles is se

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Craig McClanahan
On 9/16/05, Stas Ostapenko <[EMAIL PROTECTED]> wrote: > > Hi ! > I'm trying to resolve how to use servlet as a view with Struts. It's > very diffcult to find how to do it. I have asked at struts user > mailing list but nobody answered. Under the covers, Struts is just doing a RequestDispatcher.f

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Joe Germuska
I would start by asking *why* you'd want to do this? I'd be willing to bet that whatever the requirement is that there are ways to accomplish it without resorting to this. One common use case for this is using the VelocityServlet. If one doesn't use JSPs, odds are at least decent that your al

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Frank W. Zammetti
I would start by asking *why* you'd want to do this? I'd be willing to bet that whatever the requirement is that there are ways to accomplish it without resorting to this. That being said, if you really want to go down that path, all the objects you are looking for are in the request object as at

How to use simple servlet as a view with Struts ?

2005-09-16 Thread Stas Ostapenko
Hi ! I'm trying to resolve how to use servlet as a view with Struts. It's very diffcult to find how to do it. I have asked at struts user mailing list but nobody answered. How to get ActionMessages and form bean objects when simple sevlet is used as a view ? How to get particular error message stri