RE: Problem getting request parameters in HTTP GET in Struts 2

2009-03-17 Thread Duan, Bin
t you try the blank application or showcase? if they work, then at least you know it is not some container config, but your app. musachy On Tue, Mar 17, 2009 at 5:06 PM, Duan, Bin wrote: > It doesn't work. I still get null for the parameter. > > Some additional info. The re

RE: Problem getting request parameters in HTTP GET in Struts 2

2009-03-17 Thread Duan, Bin
truts-execute org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter struts-prepare /* struts-execute /* musachy On Tue, Mar 17, 2009 at 4:21 PM, Duan, Bin wrote: > Musachy, > > The web.xml is very simple since w

RE: Problem getting request parameters in HTTP GET in Struts 2

2009-03-17 Thread Duan, Bin
your web.xml? musachy On Tue, Mar 17, 2009 at 3:50 PM, Duan, Bin wrote: > Thanks for the response. > > I did that. The request obtained by implementing RequestAware is the same as > the one obtained from ServletActionRequest.getRequest(). > > None of them worked. Actually,

RE: Problem getting request parameters in HTTP GET in Struts 2

2009-03-17 Thread Duan, Bin
ement RequestAware interface and then get parameter from the request map. --- On Tue, 3/17/09, Duan, Bin wrote: > From: Duan, Bin > Subject: Problem getting request parameters in HTTP GET in Struts 2 > To: user@struts.apache.org > Received: Tuesday, March 17, 2009, 7:01 PM > I was tryin

Problem getting request parameters in HTTP GET in Struts 2

2009-03-17 Thread Duan, Bin
I was trying to get a parameter from a Http GET. The get from jsp looks like this: Provider Name The providerDetail.action maps to ProviderAction class. In the action class, I have a setDrProviderId() method, but found the id was not set. Then I tried to get the id from ServletActionRequest.get