Joe Germuska said:
> >Could stxx's XML processing features be put into Struts 1.x?  Yes, but
> >before that happens, I think some sort of url feature for forwarded paths
> >should be put in first.  This would allow a request to easily be forwarded
> >to a different presentation system without modifying or overriding the
> >request processor.  For example, a forward to a jsp page could look like:
> >"jsp://Foo.jsp", for tiles: "tiles://Foo.jsp", and for stxx:
> >"stxx://Foo.xsl".  This feature would make it easy to have multiple
> >presentation engines, a feature we say Struts supports, but it doesn't
> >really.
>
> I'm still uncomfortable with minting new URL schemes.  Couldn't this
> be solved by deploying an additional servlet mapped to handle other
> extensions?  This is how JSPs work as it is; if your deployment
> descriptor gave *.xsl to the STXX servlet, then
> requestDispatcher.forward() would give control to STXX just to do the
> view rendering.
>
> I thought this was how the Velocity/Struts integration stuff worked already.

that's precisely how we do it, and everything works just fine.
i too think new URL schemes are a redundant complexity.

Nathan Bubna
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to