Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Lee Sha

Ranch Hand
+ Follow
since Nov 02, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lee Sha

Got it. It was not because of the JSF tag but because of an IE8 bug. This link might help anyone facing similar issues.

IE-8 bug
11 years ago
JSF
Can anyone throw some light on this?
11 years ago
JSF
Hi,

I have the below piece of code working in IE6. After when I installed IE8, the row is showing up as a link but the action is not triggered when I click on the row. Any suggestions please.

11 years ago
JSF
Hi,

I have defined a BasicDateV1.XSD which will have all the basic dates used across the application. If I have "EffectiveDt" defined in this, how can I extend it and use it as "PolicyEffectiveDt" in another XSD? I don't want all the dates from it to be available in the extended XSD.
Hi,

If anyone has the link for downloading free sftp (secure ftp) api jar, please let me know. Thanks in advance.
13 years ago
I got it. I used getMoreResults() on statement object.
Hi,

My application uses a DB2 Stored proc from an another interfacing system for doing a search. The Stored proc returns two resultsets. Does anybody know how to traverse through both the resultsets and get the data.

Thanks,
Lee...
Thanks to all of your suggestions.
13 years ago
Hi,

Is there any way through which a jsp page can communicate with a remote unix server and display its folder structure like what "ls" command will return?
13 years ago
Thanks for your reply. Is there any link where I can see the sample code and documentation for this?
I am struck here for long. Can anyone please help me.
Hi,

I have to update rows in a table which has composite key consisting of three string columns. I know that the get() method of the session object can only take one primary key. Is there any way through which we can pass the composite key to retrieve a row for updating?
Anybody to my rescue???
Can anybody please reply to this?
Hi,

I am building a simple web application using hibernate in WSAD 5.1.2. I placed hibernate.cfg.xml and the mapping xml file under WEB-INF. I use HibernateUtil.java for returning the sessionFactory. The code for it is as below:



Now, when I use Session session = HibernateUtil.getSessionFactory().getCurrentSession() inside a servlet, it throws me the below exception. Can anyone please comment?

[10/7/08 12:41:16:092 EDT] 760d760d SystemErr R Initial SessionFactory creation failed.java.lang.NoSuchFieldError: org/slf4j/impl/JCLLoggerAdapter.name
[10/7/08 12:41:16:357 EDT] 760d760d WebGroup E SRVE0026E: [Servlet Error]-[AdminAddServlet]: java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java:73)
at java.lang.NullPointerException.<init>(NullPointerException.java:60)
at com.admin.update.AdminAddServlet.doPost(AdminAddServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)