getparameters gets the map
http://www.opensymphony.com/webwork/api/com/opensymphony/xwork/ActionContext
html
use the get mwthod to obtain the value to which this map maps the specified
key
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html
M-
- Original Message -
From: "Ray" <[EMA
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameterMap()
Ray wrote:
The return value is a String array! It's really supprised me.
May this experience is meaningful for freshman to Struts2 like me.
Thx everyone.
--
The return value is a String array! It's really supprised me.
May this experience is meaningful for freshman to Struts2 like me.
Thx everyone.
--
Ray Chen
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com
-
To unsubscr
Hi,
Some code like this.
public String execute() throws Exception {
String[] name = (String[])parameterMap.get("username");
System.out.println("usernamein the page is:"+name[0]);
String[] datenow = (String[])parameterMap.get("dateNow");
System.out.println("dateno
Nuwan Chandrasoma Wrote:
Hi,
Its returning a string array. :)
Thanks,
Nuwan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
String array?
And How can I get the "username" val
Hi,
Its returning a string array. :)
Thanks,
Nuwan
Ray wrote:
I tried to use getInvocationContext.getparameters this method return a
Map. when I use Map's get method by key"username"
I got a result like "@1c98b2"
what's going on?
Thx
--
6 matches
Mail list logo