Archive

Archive for the ‘JavaEE’ Category

Velocity入门

July 7th, 2011 No comments

官方的wiki这样描述
Velocity:

Velocity is a simple yet powerful Java-based template engine that renders data[……]

Read more

Categories: JavaEE Tags:

Action向JSP 传值 request setAttribute getAttribute

November 26th, 2010 No comments

1.1     Action向JSP 传值

Action: request.setAttribute(“deeplinkid”, deeplinkid);

JSP: <%=request.ge[……]

Read more

Categories: JavaEE Tags:

JS中获取action中对象的属性值,select 下拉列表 默认选中

November 23rd, 2010 No comments

1.1     JS中获取action中对象的属性值

部分参考:http://www.gangzi.org/article/394.htm 这里讲“select 下拉列表 默认选中”我觉得是见过最好的[……]

Read more

Categories: JavaEE Tags: , ,

1.request.getParameter 和 request.getAttribute 区别

November 22nd, 2010 No comments
1.request.getParameter 和 request.getAttribute 区别
request.getParameter
是用来接受来自get方法或post方法的参数
<for[……]

Read more

Categories: JavaEE Tags: ,

JSP显示输出

November 21st, 2010 No comments

1.1     JSP显示输出

<s:property value=”linkedClassCase[0].CLASSCASENAME”/>错误日志

Categories: JavaEE, 杂七杂八(临时) Tags:

Action,Service里无getter和setter方法报错

October 5th, 2010 No comments

1.1     Action,Service里无getter和setter方法报错

解决:在Action,Service里加上getter和setter方法

报错信息:

2010-10-5 9:3[……]

Read more

Categories: JavaEE Tags: ,