ow can i get httpServletRequest and response

35 views
Skip to first unread message

兵 李

unread,
Dec 27, 2010, 1:48:17 AM12/27/10
to play-framework
first,thanks for your play. i like it very much.by the way,i am
Chinese.my english is poor.i hope you can understand.

i am using a package named PHPRPC. and it ask me to use
httpServletRequest and httpServletResponse. but play! is not supply
it. So,i change the souce and compile the new jar.but what i changed
is not correct, the variable i added is null always.

i modified the Http.java and ServletWrapper.java to add a new variable
and set it's value.i think this is right.but it is not.

so i want to get help to you.how can i get httpServletRequest and
response.

thanks very much.

Henry

unread,
Dec 27, 2010, 5:17:35 PM12/27/10
to play-fr...@googlegroups.com
hi,李兵:

About your quesstion,maybe the /Server/PlayHandler.java file can
give your information.
在Play中无论是使用Mina还是Netty,他们都是基于NIO的服务器引擎,如果要引出
request and response ,可能要做些改动。
仅供参考。

Henry

Reply all
Reply to author
Forward
0 new messages