
WebSphere
文章平均质量分 69
huyouheng
15年程序人生。高级Java软件工程师。
系统分析员水平认证 (1995)。
SUN系统架构师认证 (2002)。
澳大利亚新南威尔士大学博士(2007)。
目前定居澳大利亚悉尼,任职于澳大利亚新南威尔士州道路交通管理部。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用IBM Rational Application Developer 8开发Portlet - 开发环境
本文介绍如何设置IBM Rational Application Developer (RAD) 8以进行Portlet的开发。 第1步 - 确认你得硬件和操作系统满足RAD 8的系统需求 参考官方链接: http://www-01.ibm.com/support/docview.wss?rs=2042&uid=swg27019500 第2步 - 下载 RAD 8 安装包 试用版下原创 2012-02-24 02:17:53 · 2592 阅读 · 2 评论 -
Websphere Portal Server Cross-Site-Scripting保护机制
Websphere Portal Server version 7 提供了一个Cross-Site-Scripting保护机制, 在缺省情况下,该机制会将提交表单中的""字符自动进行html编码, 因此在portlet processAction方法中获得的输入值是编码后的字符串 - " 该机制的开关通过设置Websphere Portal的security.css.protection配置属原创 2012-07-11 14:58:16 · 803 阅读 · 0 评论 -
使用WebSphere Integration Developer 7开发Business Integration Hello World应用程序
本文总结了使用WebSphere Integration Developer 7开发和测试一个Business Integration Hello World应用程序的过程。 该应用程序读取一个本地的CVS文件,将其转换输出为XML格式文件。 第1步 - 安装WebSphere Integration Developer 7.0 安装IID 7.0.0.4和本地Websphere Proc原创 2012-06-14 03:00:35 · 1434 阅读 · 3 评论 -
在Websphere Portal 7 Client Side Aggregation下运行Spring MVC3 Portlets
本文总结了在在Websphere Portal 7 Client Side Aggregation下运行Spring MVC3 Portlets时出现“Action ID missing”错误的原因和解决方法。 以下是一个简单的Spring MVC3 Portlet,当提交表单时, Portlet显示"This portlet is unavailable"错误,ffdc日志报告Action I原创 2012-06-14 02:24:45 · 1525 阅读 · 0 评论 -
IBM WebSphere Portal 7下开发支持AJAX的JSF Portlet
本文列举了几种IBM WebSphere Portal 7下开发支持AJAX的JSF Portlet的方法。 需实现的Portlet界面包括两个元素: 一个列表框和一个文本输出框,列表框包括两个选项。 列表框选项变化会触发AJAX调用以刷新文本输出框. 方法1 - 使用IBM JSF Portlet bridge 1.2和IBM JSF Extension Components IBM Web原创 2012-05-10 03:52:43 · 2176 阅读 · 0 评论 -
RAD Application Server Publishing 设置和基于WTP的Maven项目
RAD提供两种WebSphere Application Server publishing设置选项: 1) Run server with resources within the workspace, 和 2) Run server with resources on Server. 当"Run/Debug on Server"时, 如果使用"within the workspace"选项,原创 2012-05-07 03:10:24 · 1607 阅读 · 1 评论 -
在基于XMLAccess的Portlet发布中使用WAR文件名
当使用XMLAccess进行Portlet发布时, 如果portlet.xml中的标签没有定义id属性时,可以在XMLAccess请求脚本中使用WAR文件名来定义uid, 示例如下: <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Porta原创 2012-05-04 03:18:21 · 804 阅读 · 0 评论 -
IBM WebSphere Application Server下使用URL Rewrting进行Session Tracking的实现
新接手的一个应用程序有两个访问接口, 一个是基本的Web接口供使用浏览器的用户访问, 另一个则是基于servlet的B2B接口供业务伙伴使用应用程序访问。 业务需求要求对两个接口都要进行Session Tracking、 对于Web接口,我们使用cookie进行Session Tracking, 而在B2B接口上, 因为业务伙伴端的应用程序不支持cookie, 我们需要使用URL rewritin原创 2012-04-03 02:51:25 · 2377 阅读 · 0 评论 -
在基于WebSphere JSF 1.2 Portlet Bridge的JSF Portlet中实现文件下载
本文讨论在基于WebSphere JSF 1.2 Portlet Bridge的JSF Portlet中实现文件下载。 JSR 286规范提供了一个基于resource serving的文件下载机制,但由于JSF 1.2 Portlet Bridge并没有提供相应的支持,所以必须在混合使用portlet和JSF来实现这个机制。 具体的实现包含三部分: 一个继承FacesPortlet并原创 2012-03-12 01:49:22 · 1791 阅读 · 1 评论 -
使用WebSphere wsadmin Jython脚本在安装WAR/EAR应用时设置Web模块的context root
本文介绍如何使用WebSphere wsadmin Jython脚本在安装WAR/EAR应用时设置Web模块的context root。 WebSphere应用服务器的wsadmin Jython脚本环境提供了AdminApp.install方法来进行WAR/EAR的安装。AdminApp.install方法需要两个输入参数, 第一个是archivePath,其值为war/ear文件的全路径名,原创 2012-03-06 01:43:29 · 3880 阅读 · 0 评论 -
使用IBM Rational Application Developer 8开发Portlet - Maven集成
本文介绍如何设置在IBM Rational Application Developer (RAD) 8中集成Maven以进行Portlet的开发。 第1步 - 安装IBM Rational Application Developer V8.0.4 参见 - 使用IBM Rational Application Developer 8开发Portlet - 开发环境 第2步 - 安装 m原创 2012-03-05 02:32:47 · 4953 阅读 · 0 评论 -
Websphere Application Server 7下Apache Tiles 2.2的异常处理
在Websphere Application Server 7下运行基于Apache Tiles 2.2的应用程序时, 在缺省配置下, 如果在一个子页中有异常发生, 相应的错误页只是显示在该子页中, 而其它子页则正常显示。 如果需要将整个页面重定向到错误页, 需要以下两个步骤: 1) 设置WAS应用服务器的custom propertycom.ibm.ws.webcontainer.dispat原创 2012-08-30 03:36:36 · 906 阅读 · 0 评论