??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美影视一区二区三区,激情av在线,国产美女av一区二区三区http://www.aygfsteel.com/xxl36/zh-cnFri, 30 May 2025 01:27:24 GMTFri, 30 May 2025 01:27:24 GMT60但愿Chrome不要让我们失?http://www.aygfsteel.com/xxl36/archive/2008/09/04/227054.htmlxxl36xxl36Thu, 04 Sep 2008 12:45:00 GMThttp://www.aygfsteel.com/xxl36/archive/2008/09/04/227054.htmlhttp://www.aygfsteel.com/xxl36/comments/227054.htmlhttp://www.aygfsteel.com/xxl36/archive/2008/09/04/227054.html#Feedback0http://www.aygfsteel.com/xxl36/comments/commentRss/227054.htmlhttp://www.aygfsteel.com/xxl36/services/trackbacks/227054.html
很多Z以ؓ(f)?/div>
我却对它寄予?jin)和大的希?/div>
主要希望它能解决两个最q切的问题:(x)
1、Web加密Q坚x(chng)制ActiveXQ?/div>
2、RIAQ目前的RIA技?Net、Java、Flex、Ajax都是扶不L(fng)阿斗。ؓ(f)什么就不能通过览器端解决呢?


xxl36 2008-09-04 20:45 发表评论
]]>在Spring MVC中用JasperReportshttp://www.aygfsteel.com/xxl36/archive/2006/10/16/75488.htmlxxl36xxl36Mon, 16 Oct 2006 13:35:00 GMThttp://www.aygfsteel.com/xxl36/archive/2006/10/16/75488.htmlhttp://www.aygfsteel.com/xxl36/comments/75488.htmlhttp://www.aygfsteel.com/xxl36/archive/2006/10/16/75488.html#Feedback7http://www.aygfsteel.com/xxl36/comments/commentRss/75488.htmlhttp://www.aygfsteel.com/xxl36/services/trackbacks/75488.html 1?span style="FONT: 7pt 'Times New Roman'"> (tng) ?/span> mywebapp-servlet.xml 中定义报表视图解析器Q?/span>

 (tng) (tng) (tng) <!-- 报表视图解析?-->

 (tng) (tng) (tng) <bean id="anyname_rptViewResolver" class="org.springframework.web.servlet.view.ResourceBundleViewResolver">

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <property name="order" value="1"/>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <property name="basename" value="views"/>

 (tng) (tng) (tng) </bean>

 (tng)

2?span style="FONT: 7pt 'Times New Roman'"> (tng) 新徏报表视图资源文g views.properties

mysamplerpt.class=org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView

mysamplerpt.url=/WEB-INF/reports/mysample_rpt.jasper

注意Q?span lang="EN-US">views”就是上面的“basename”?o:p>

 (tng)

3?span style="FONT: 7pt 'Times New Roman'"> (tng) web.xml中定义请求URLqo(h)

<servlet>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <servlet-name>mywebapp</servlet-name>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <servlet-class>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) org.springframework.web.servlet.DispatcherServlet

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) </servlet-class>

</servlet>

<!-- 报表URLQPDF格式 -->

<servlet-mapping>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <servlet-name>mywebapp</servlet-name>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <url-pattern>*.pdf</url-pattern> (tng) (tng) (tng) (tng) (tng) (tng) (tng)

 (tng) (tng) (tng) </servlet-mapping>

 (tng) (tng) (tng) <!-- 报表hURLQExcel格式 -->

 (tng) (tng) (tng) <servlet-mapping>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <servlet-name>mywebapp</servlet-name>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) <url-pattern>*.xls</url-pattern> (tng) (tng) (tng) (tng) (tng) (tng) (tng)

 (tng) (tng) (tng) </servlet-mapping>

 (tng) (tng) (tng) 注意Q此两处定义所?pdf?xls后缀的URLU_Spring MVC?o:p>

 (tng)

4?span style="FONT: 7pt 'Times New Roman'"> (tng) ?/span> mywebapp-servlet.xml 中定义请?/span> URL 映射

<bean id="scureUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">

得?span lang="EN-US">PDF格式的报? à 得?span lang="EN-US">Excel格式的报? à  (tng)

</bean>

 (tng)

5?span style="FONT: 7pt 'Times New Roman'"> (tng)  (tng) (tng) (tng) @Override

 (tng) (tng) (tng)  (tng) (tng) (tng) protected ModelAndView handleRequestInternal(HttpServletRequest request, (tng) (tng) HttpServletResponse response) throws Exception {

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)  (tng) (tng) (tng) String uri = request.getRequestURI();

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)  (tng) (tng) (tng) String format = uri.substring(uri.indexOf(".") + 1); //取得URL后缀

 (tng)

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)  (tng) (tng) (tng) Map model = new HashMap();

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) model.put("datasource", getApplicationContext().getBean("myDataSource")); (tng) //数据?o:p>

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)  (tng) (tng) (tng) model.put("format", format); //Ҏ(gu)URL后缀定格式

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)

 (tng) (tng) (tng) (tng) (tng) (tng) (tng)  (tng) (tng) (tng) return new ModelAndView("mysamplerpt", model); (tng) //视图名称请参考第二步中的定义

 (tng) (tng) (tng)  (tng) (tng) (tng) }

以上是个人实际编E中的一点儿l验Q望各位大侠指教?/font>



xxl36 2006-10-16 21:35 发表评论
]]>
今天解决?jin)迈拓噪音问?/title><link>http://www.aygfsteel.com/xxl36/archive/2006/08/20/64678.html</link><dc:creator>xxl36</dc:creator><author>xxl36</author><pubDate>Sun, 20 Aug 2006 15:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/xxl36/archive/2006/08/20/64678.html</guid><wfw:comment>http://www.aygfsteel.com/xxl36/comments/64678.html</wfw:comment><comments>http://www.aygfsteel.com/xxl36/archive/2006/08/20/64678.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xxl36/comments/commentRss/64678.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xxl36/services/trackbacks/64678.html</trackback:ping><description><![CDATA[上个月,我的盘Q迈拓金d160GQ不知道那一天噪音突然变大了(jin)Q找遍了(jin)q拓|站也没扑ֈ降噪工具Q迈拓的嗓门那个_犷啊!快吵SZ(jin)Q隐U觉得硬盘快要Over?jin),后(zhn)C(jin)q拓Q以前一直买希捷的,希捷的就有的声韛_Q也很清脆,上次本来买STQ买?jin)一块发现有异响Q后换成盒装q拓Q再后来在网上看到有散装ST水货很多Q估计那块就是,早知到换行货盒装的ST?br /><br />今天H然看到MicroComputer上面介绍的工P叫HDDScanQ好像又是Russia的,下蝲?jin)一个试试,q挺好用Q发现原来是盘降噪参数被修Ҏ(gu)?jin),改回了(jin)出厂|^_^Q世界又恢复?jin)宁静(rn)!呵?img src ="http://www.aygfsteel.com/xxl36/aggbug/64678.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xxl36/" target="_blank">xxl36</a> 2006-08-20 23:44 <a href="http://www.aygfsteel.com/xxl36/archive/2006/08/20/64678.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>所有的jasperreports报表内置查询又全部改回SQLM(jin)Q靠Q?/title><link>http://www.aygfsteel.com/xxl36/archive/2006/08/14/63538.html</link><dc:creator>xxl36</dc:creator><author>xxl36</author><pubDate>Mon, 14 Aug 2006 13:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/xxl36/archive/2006/08/14/63538.html</guid><wfw:comment>http://www.aygfsteel.com/xxl36/comments/63538.html</wfw:comment><comments>http://www.aygfsteel.com/xxl36/archive/2006/08/14/63538.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xxl36/comments/commentRss/63538.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xxl36/services/trackbacks/63538.html</trackback:ping><description><![CDATA[ <p>Spring + Hibernate + jasperreportsQ在Jasper中嵌入HQL查询Q用Spring的jasperreports视图解析器预览报表,在Model中应该传递那些参数给视图解析器?׃一个Hibernate Session好像不行Q再传一个JDBC Connectiongp?jin),但总觉得不应该需要JDBC Connection的,而且q回?jin)ModelAndView之后Q就失去控制?jin),那个Hibernate Session也就没法释放?jin),一气之下所有报表统l改为原生SQLQ只要传一个JDBC Connectionp?jin),各位大侠h教,不甚感谢Q?/p> <img src ="http://www.aygfsteel.com/xxl36/aggbug/63538.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xxl36/" target="_blank">xxl36</a> 2006-08-14 21:48 <a href="http://www.aygfsteel.com/xxl36/archive/2006/08/14/63538.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>l于搞好?jin)jasperreports输出PDF中文字体问题QM能全让我用宋(hu)体吧?!http://www.aygfsteel.com/xxl36/archive/2006/08/10/62882.htmlxxl36xxl36Thu, 10 Aug 2006 15:17:00 GMThttp://www.aygfsteel.com/xxl36/archive/2006/08/10/62882.htmlhttp://www.aygfsteel.com/xxl36/comments/62882.htmlhttp://www.aygfsteel.com/xxl36/archive/2006/08/10/62882.html#Feedback7http://www.aygfsteel.com/xxl36/comments/commentRss/62882.htmlhttp://www.aygfsteel.com/xxl36/services/trackbacks/62882.html环境QSpring MVC + Spring + HibernateQjasperreports

上午刚刚解决?jin)jasperreports中用HQL的问题:(x)原来除了(jin)要向Spring 的jasperreports视图解析器传递Hibernate Session之外Q还要向其传递一DataSourceQ难道从Hibernate?x)话中找不到DataSource么,有些qh?jin)?br />
下午忽然又遇C(jin)输出PDF的中文字体问题,本来以ؓ(f)早就不是问题?sh)(jin),却发现除了(jin)?hu)体外其他字体无法使用Q搞到晚?Ҏ(gu)发现Q报表的根目录原来是JavaSource —?好在我突然想到views.properties文gQ报表视图解析器的配|文Ӟ(j)在这儿,才试?jin)一试,几?ttf 文gUd此处Q啊哈!果然奏效?br />
接下来可以大肆画表了(jin)Q?/p>

xxl36 2006-08-10 23:17 发表评论
]]>
վ֩ģ壺 ̳| | | ƽɽ| Ҷ| ױ| | ׯ| ֦| | | ԭ| | ƽ| п| ƽ½| | ؼ| | ګ| | | | | Ȫ| հ| ͩ| | | | ʡ| | ˱| | | | | Ȫ| ٺ| | ɽ|