t;Ray" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, December 04, 2007 9:00 PM
Subject: How my own Interceptor get the parameters from JSP
> I tried to use getInvocationContext.getparameters this method return a
> Map. when I use Map's get method b
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
--
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
--
Ray Chen(陈磊)
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com
7 matches
Mail list logo