<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>~SingleForum~无废话记录~ Topic: DWR调用的java代码中使用Session,Request,Responsed</title>
<link>http://www.ll19.com/bb/</link>
<description>~19~记录点有用的好吗？少说废话少装b~</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 09:23:42 +0000</pubDate>

<item>
<title>admin on "DWR调用的java代码中使用Session,Request,Responsed"</title>
<link>http://www.ll19.com/bb/topic/115#post-115</link>
<pubDate>Sun, 03 Jan 2010 16:29:56 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">115@http://www.ll19.com/bb/</guid>
<description>&#60;p&#62;在Java的服务方法中定义这些类型的参数,让DWR自动传入相应的对象：&#60;/p&#62;
&#60;p&#62;HttpServletRequest,HttpServletResponse,HttpSession,ServletContext,ServletConfig.&#60;/p&#62;
&#60;p&#62;示例如下:&#60;/p&#62;
&#60;p&#62;Java端定义方法: saveOrder(String id, String name, HttpSession session)&#60;/p&#62;
&#60;p&#62;Javascript调用: OrderService.saveOrder(jsID,jsName,callBack)&#60;/p&#62;
&#60;p&#62;注意,这里不需要传入session这个参数,DWR会自动传入,在Java端可以直接使用.
&#60;/p&#62;</description>
</item>

</channel>
</rss>

