- 浏览: 105402 次
- 性别:
- 来自: 深圳
最新评论
-
LinApex:
没用啊你的代码
Java调BeyondCompare -
zhang_takeiteasily:
"org.jnp.interfaces.NamingContextFactory"Not Found -
zhang_takeiteasily:
没有用
"org.jnp.interfaces.NamingContextFactory"Not Found -
--Gyh--:
IPartTypeManager是什么东西呢,能不能发下代码? ...
Richfaces構建節點樹 -
--Gyh--:
密码是多少?
TreeNode
文章列表
JSF Converter in JBoss Seam
Yangtze JBoss Seam, Java 2008-09-04
- 2009-05-18 11:41
- 浏览 940
- 评论(0)
public void exportData() {
FacesContext ctx = FacesContext.getCurrentInstance();
ctx.responseComplete();
HttpServletResponse response = (HttpServletResponse) ctx
.getExternalContext().getResponse();
response.reset();
response.setContentType("application/vnd.ms-excel");
...
- 2009-04-30 09:21
- 浏览 1864
- 评论(0)
1.打开ECLIPSE的安装目录根目录下,能看到一个eclipse.ini文件,这是ECLIPSE的内存使用控制的配置文件,需要进行合理的修改。默认的改为下面的值:-vmargs-Xms128m-Xmx512m-XX:MaxPermSize=128m-Dcom.sun.management.jmxremote如果你的内存还要大的话可以适合调整"-Xmx512m"的值,注意,上面每一行后面不能有空格等字符,请注意一下,不然启动不了Eclipse可不要怪我啦。这一步的设置是至关重要的,可以让你的ECLIPSE不在死掉
http://hi.baidu.com/seejava/bl ...
- 2009-04-13 21:23
- 浏览 1481
- 评论(0)
http://www.blogjava.net/sealyu/archive/2009/03/10/258904.html
here are 3 possible examples how to initialize component:
1. Using @Unwrap with method returning object - method doesn't have to be getter:
@Name("search")
public class SearchAction {
// can't be used with @Out
@Unwrap
public Ma ...
- 2009-03-28 23:11
- 浏览 1199
- 评论(0)
http://www.blogjava.net/sealyu/archive/2009/03/02/257359.html
Seam用于声明上下文的注解(转)
这些注解提供声明式对话分界(declarative conversation demarcation)。它们在Seam组件方法中使用,通常是动作监听器方法(Action Listener Method)。
每个Web ...
- 2009-03-28 22:58
- 浏览 790
- 评论(0)
報如下錯誤:
Property 'xxxx' not found on type org.javassist.tmp.java.lang.Object
需要將變量的setter和getter方法在local Interface 中定義。
- 2009-03-25 16:10
- 浏览 2730
- 评论(0)
EJB+JSF+SEAM 使用Richfaces中的Tree和TreeNode組件
Entity部分關鍵代碼:
public class PartType {
//屬性...
private PartType parent;
private Set<PartType> children = new HashSet<PartType>();
//屬性對應的getter、setter......
@ManyToOne
public PartType ...
- 2009-03-19 16:53
- 浏览 1649
- 评论(1)
10:08:59,185 WARN [SeamPhaseListener] uncaught exception, passing to exception handler
java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
貌似應該是JBOSS4.2.3的BUG
- 2009-03-17 10:29
- 浏览 1412
- 评论(0)
http://book.csdn.net/bookfiles/263/index.html
- 2009-03-17 10:22
- 浏览 636
- 评论(0)
WARN [JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@a50549(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@e7f9b3 destination=jms/myQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessag ...
- 2009-03-04 12:13
- 浏览 1994
- 评论(1)
Properties props = new Properties();
props.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.provider.url", "localhost:1097");
try {
InitialContext context = new InitialContex ...
- 2009-03-04 12:09
- 浏览 3509
- 评论(3)
WebService Server端設置了用戶名密碼,client端不能通過驗證的問題,只要設置Username和paasword就行了
org.apache.axis.client.Call _call = createCall();
_call.getMessageContext().setUsername("admin");
_call.getMessageContext().setPassword("admin123");
- 2009-03-03 10:48
- 浏览 1847
- 评论(0)
調試EJB實例的時候報異常,提示"$Proxy XX cannot be cast to XXXX.class"通過網上查找資料,發現是JAR包衝突的問題。原來是我在project里導入了一個JAR包后lib目錄里還有一個相同的JAR包,但是文件路徑卻不同,把lib目錄里的JAR包刪掉就ok了。
- 2009-03-03 10:46
- 浏览 2577
- 评论(0)