struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shibing.Chen <xinwe...@gmail.com>
Subject Re: URL Parameters not working in Struts 2.0.6
Date Fri, 15 Jun 2007 15:09:36 GMT
I have no idea. but it seams not a struts' bug, because in my
DebugFilter, getQueryString returns null, so struts can't get any
parameter. Is this true?

On 6/15/07, Mike Jennings <george.m.jennings@gmail.com> wrote:
> Well I am glad that it is not just me and that I am not going crazy.  I have
> had to role back to using webwork 2.4 because it has a ServletDispatcher.
>
> <servlet>
>     <servlet-name>JspSupportServlet</servlet-name>
>     <servlet-class>com.opensymphony.webwork.views.JspSupportServlet</servlet-class>
>     <load-on-startup>1</load-on-startup>
> </servlet>
>
> <servlet>
>     <servlet-name>action</servlet-name>
>     <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
> </servlet>
>
> <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.action</url-pattern>
> </servlet-mapping>
>
> The filter dispatcher code in WebWorks has the same issue as Struts 2.0, but
> when I sue the servletdispatcher everything is working just fine.
>
> I have submitted a but to apache.  I wish they would bring back the servlet
> dispatcher code in struts 2.0 so that my apps would work.
>
> On 6/15/07, Shibing. Chen <xinwenzu@gmail.com> wrote:
> >
> > I use <s:url/> tag and have this problem also.
> >
> > I have coded a DebugFilter and applied it before FilterDispatcher. In
> > DebugFilter I output HttpServletRequest.getQueryString(), but it's
> > always null.
> > I'm so confused, is it a oc4j bug?
> >
> > On 6/15/07, tom tom <j_lalith@yahoo.com> wrote:
> > > What exactly the tag you are using,
> > > Better to use the url tag with param which does the
> > > encoding properly
> > >
> > > Thanks
> > > --- Mike Jennings <george.m.jennings@gmail.com> wrote:
> > >
> > > > Can anyone tell me why this is happening to me.  I
> > > > am using jdeveloper 10g
> > > > as my development platform.
> > > >
> > > > I want to call a action with a url parameter.
> > > >
> > > > ex:  someaction.action?id=123
> > > >
> > > > but in my action where i have a getter and setter
> > > > for id it is not being
> > > > picked up.
> > > >
> > > > Could this be a issue with oc4j?
> > > >
> > > > This is driving me crazy any help would be greatly
> > > > appreciated.  I had this
> > > > stuff working without a problem in webwork 2.4 and I
> > > > don't want to roll back
> > > > all of my code to this version.
> > > >
> > > > Thanks,
> > > >
> > > > Mike
> > > >
> > >
> > >
> > >
> > >
> > >
> > ____________________________________________________________________________________
> > > Building a website is a piece of cake. Yahoo! Small Business gives you
> > all the tools to get online.
> > > http://smallbusiness.yahoo.com/webhosting
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> > --
> > Think different.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>


-- 
Think different.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message