My doing a standard query in my jsp is right,just like this (tamino.query(“metadata”);)and I also use tamino.setPageSize(8) to show 8 record in a page,to get Next TaminoResult,I use tr=tr.getNext();the left which the element 's value is got is the same as I had post in “Result codes from TaminoResult” in page 2 in the discussion.It’s all right in tamino.query(“metadata”);but when i use it in
tamino.query(“metadata[TitleProper~=‘a*’]”); then a error appeared.
the error is :
500 Servlet Exception
java.lang.NullPointerException
at _jsp._lilei._test_02._test1__jsp._jspService(/lilei/test_2/test1.jsp:66)
at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
at com.caucho.jsp.Page.service(Page.java:409)
at com.caucho.server.http.Invocation.service(Invocation.java:266)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:123)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:240)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
at com.caucho.server.TcpConnection.run(TcpConnection.java:142)
at java.lang.Thread.run(Thread.java:484)
--------------------------------------------------------------------------------
Resin 1.2.2 – Tue Jan 16 09:53:18 PST 2001
Any body can explain what’s the matter? Any help would be appreciate !
melon