---------- Forwarded message ----------
From: <[email protected]>
Date: Tue, Aug 31, 2010 at 8:13 AM
Subject: failure notice
To: [email protected]
Hi. This is the deliver program at bjtu.edu.cn.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
[email protected]
quota exceed
--- Attachment is a copy of the message.
[这是服务器 bjtu.edu.cn 的投递程序返回的提示信息]
到下列地址的信件投递失败,对方服务器无法正常接受或者拒绝接受这封邮件,
这是一个永久性的错误,服务器已经放弃继续投递。
[email protected]
对方服务器返回错误提示:
quota exceed
--
[附件是您所发送信件的原件]
--- Begin Message ---
How is gluing messages together ugly? Wouldn't it be a matter of an
interceptor snarfing session/request data from S1 and massaging it into S2?
What were the sticking points?
Dave
On Tue, Aug 31, 2010 at 8:09 AM, J_e_f_f <[email protected]> wrote:
>
>
>
> Stephen Turner wrote:
> >
> > but I've no idea how big a job it is, what the pitfalls
> > are etc.
> >
> >
> It's not difficult to add struts 2 to an existing struts 1 app. We have two
> apps that have both struts1 and struts 2 actions. You just define your
> struts 2 filter in your application's web.xml like Andrew's example, and
> follow the struts 2 documentation for setting up the rest.
>
> When we made the decision to create any new actions in Struts 2 it seemed
> like a good idea but has proven painful at times. If I had the decision to
> make again in the same situation, we would have done something
> different--staying with Struts1, converting everything to Struts 2, or even
> trying the Struts 1 plugin.
>
> The biggest problem is when you have a struts 1 action configured with a
> struts 2 forward. Reasonably so, you have to set the redirect flag to true.
> Most of the time this isn't a big deal but if your Struts 1 action has to
> propagate error messages to a struts 2 page you have to glue it together,
> which is ugly.
>
> We've had several similar gotchas along the way related to transitioning
> from one to the other as well. If you do mix the frameworks, draw a line in
> the sand that an action defined in one framework can't have a result in the
> other.
> --
> View this message in context:
> http://old.nabble.com/Running-Struts1-and-Struts2-together--tp29514921p29582208.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]