Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-04 Thread panpan
Hi Dave. I found the problem is because this logon page has been configured externally for jboss server. The jboss server dosn't know the S2. Thanks, Yan panpan wrote: > > Hi Dave, > > Thanks for your reply and time. > In the web.xml, I have both S1 and S2 configuration inside. So S1 and S2

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-04 Thread panpan
Hi Dave, Thanks for your reply and time. In the web.xml, I have both S1 and S2 configuration inside. So S1 and S2 tag should function together well. I have other page which has mixed s1 tag nad s2 tag and works very well. The reason is like what WW response mentioned: FilterDispatcher is never b

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-04 Thread Dave Newton
--- panpan <[EMAIL PROTECTED]> wrote: > They're served throught S1 and S2 since I'm in the > middle for migration from S1 to S2. It is not clear to me that an S2 tag would function under an S1 mapping because there won't be a value stack, which is what the stack trace implies. The WW response cla

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-04 Thread panpan
They're served throught S1 and S2 since I'm in the middle of migrating from S1 to S2. I got a replay from WebWork forum: Hi Newuser, >From the stack trace it looks like FilterDispatcher is never being applied to the request resulting ValueStack being null, hence NPE. How does the mapping of w

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-03 Thread Dave Newton
--- panpan <[EMAIL PROTECTED]> wrote: > Don't understand this one. *Please* just say whether or not the page you're serving is being served through S1 or S2. > If you see the below struts JIRA link: > > http://issues.apache.org/struts/browse/WW-1388 > > It has the almost same exception as mine.

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-01 Thread panpan
Hi Dave, I'm doing migration from S1 to S2. S1 and S2 should work together peacefully. I add those required configuration in web.xml and jars in the classpath. I've done other pages sucessfully with mixed S1 tag and S2 tag. Don't understand this one. I found the problem is that org.apache.struts

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-01 Thread Dave Newton
--- panpan <[EMAIL PROTECTED]> wrote: > This page is originally served through struts1. > During the migration to struts 2, I need to add a new > feature to this page using struts 2 tag to > invoke the struts 2 action. Well... if the page isn't being served through the S2 filter I'm not sure which

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-01 Thread panpan
Hi Dave, Thanks for your reply and sorry for the confusion! This page is originally served through struts1. During the migration to struts 2, I need to add a new feature to this page using struts 2 tag to invoke the struts 2 action. Please help me! pp Dave Newton-4 wrote: > > I'm confused.

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-01 Thread Dave Newton
I'm confused. --- panpan <[EMAIL PROTECTED]> wrote: > This logon.jsp page doesn't use sitemesh and I only > add one struts2 tag line . I don't > know what happend. Is the page being served through S2? d. __