struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3039) Can't not get parameter from GET
Date Mon, 16 Mar 2009 20:21:02 GMT

    [ https://issues.apache.org/struts/browse/WW-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45722#action_45722
] 

Dave Newton commented on WW-3039:
---------------------------------

I'm not convinced this is an S2 bug.

Is your link rendering with the information you expect? If it's not even in the request then
it's unlikely to be directly related to S2.

> Can't not get parameter from GET
> --------------------------------
>
>                 Key: WW-3039
>                 URL: https://issues.apache.org/struts/browse/WW-3039
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>         Environment: Windows XP 
>            Reporter: Bin Duan
>
> I was trying to get a parameter from a Http GET. The get from jsp looks like this: 
> <a href=/providerDetail.action?drProviderId=${drProviderId}>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.getRequest().getParameter("drProviderId"),
but still did not get anything. 
> I searched the request.getParameterMap(), but found there was not entry in the map. 
> What can be the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message