Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8 | Rev 10 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | public String hi() { |
7 | public String hi() { |
8 | String msg = input.getString("msg"); |
8 | String msg = input.getString("msg"); |
9 | if (isEmpty(msg)) { |
9 | if (isEmpty(msg)) { |
10 | msg = "Why you did not type anything?"; |
10 | msg = "Why you did not type anything?"; |
11 | }
|
11 | }
|
- | 12 | System.out.println("====> " + msg); |
|
- | 13 | ||
- | 14 | byte[] b = msg.getBytes(); |
|
- | 15 | for(int i : b) { |
|
- | 16 | System.out.println("=> " + i); |
|
- | 17 | }
|
|
- | 18 | ||
- | 19 | b = "ã".getBytes(); |
|
- | 20 | System.out.println("====> ã"); |
|
- | 21 | for(int i : b) { |
|
- | 22 | System.out.println("=> " + i); |
|
- | 23 | }
|
|
- | 24 | ||
12 | output.setValue("msg", msg); |
25 | output.setValue("msg", msg); |
13 | return SUCCESS; |
26 | return SUCCESS; |
14 | }
|
27 | }
|
15 | }
|
28 | }
|