Jakarta 'Input' taglib?

Is anyone familiar with the Jakarta "Input" JSP tag library (http://jakarta.apache.org/taglibs/doc/input-doc/intro.html) ? I could really use some example code as their documentation is a bit lacking and I'm stumped.
An example is that they indicate an optional 'bean' attribute for the <input:form> tag which allows one to provide a bean with default values for all of the nested form elements, but they don't give any info on how that bean should be structured. So for instance, if I have a form tag with a nested select tag, which in turn has several nested option tags, how do I structure that heirarchy?
This and other similar ambiguities could be easily figured out with some real code examples beyond the one ultra-simple .jsp file they provide. Any pointers on where to look? I've googled it extensively and come up empty.
Thanks in advance,
-Rich

I have to use an older jdk version since jdk1.4 is still beta. Any solutions?
By the way, when is the final release of jdk1.4? Perhaps I can convince my boss...
Greets
Puce

Similar Messages

  • Jakarta-xsl-taglib

    Hi
              i'm trying to convert a xml-file into html using a xsl-file. to do this
              i'm using the jakarta-xsl-taglib. it's working fine with tomcat. now i
              want to run it on weblogic 5.1 but the only thing i achieve is this
              error message:
              Input XSL; Line 1; Column 1;
              XSL Error: Could not parse Imput XML document!
              XSL Error: SAX Exception
              ...<ServletContext-General> Root cause of ServletException
              javax.servlet.jsp.JspException:
              org.apache.xalan.xslt.XSLProcessorException: The root element is
              required in a well-formed document.
              can somebody help me please?
              Philipp
              

    the files i'm using are in the attachment.
              it would be great if someone could find somehing.
              bye
              philipp
              [test.zip]
              

  • Using variable names in the jakarta img taglib

    I am using the jakarta image taglib for manipulating images, it is working fine with static names like this
    <img:image src="xyz.jpg"..etc
    but once I replaced the image name with this scriplet
    <img:image src="<%= book.img %>
    I got noting although I am sure that my scriplet has value but the image didn't show up, any idea
    thank you

    the problem was solved I've used the EL notation instead of scriplet and it worked
    <img:image src="${book.img}..etc
    thank you

  • Jakarta Datagrid Taglibs and Servlet 2.4

    Dear All,
    Please help me with this situation
    we would require to have this Jakarta Datagrid taglib (with the servlet 2.2 support) in my web application, but my web-applications uses servlet 2.4 version.
    If we change my servlet version to 2.2 for the benefit of Datagrid, we lose JSTL, Expression Language support.
    we got struck here and we are not familiar with struts and jsf, where we came to know the availability of datagrid using these.
    Kindly requesting you to help us to solve this issue or guide us to a datagrid control works servlet 2.4 version.
    I am not a programmer, i am writing this message on behalf of my programmers (freshers). Please do guide us.
    thanking you,
    S. Sithi Vinayagam

    dear all,
    why i am not getting any response from you all,
    Is this a common question, that will not be anwered any more
    or
    is there is a better way to ask this type of help from all the developers over there.
    Kindly i am requesting you once again to suggest me a better solution (not any commercial soultions) with this type of Data Grid solution for my web application

  • Javax.servlet.ServletException: 55.0 when using Jakarta Request taglib in WL7.0 SP2

              Hi,
              We are converting our application from iPlanet (SunOne) to WL7.0.
              I get the following error when tag library is used in our jsp file.
              The tag library is jakarta Request library.
              Any suggestions on how to debug this ?
              Thank you,
              Robert
              Use of the tag lib:
              ==============
              <%@ taglib prefix="req" uri="/WEB-INF/tlds/taglibs-request.tld" %>
              <req:existsParameter name="nextPage">
              <req:setAttribute name="currentPage"><req:parameter name="nextPage"/></req:setAttribute>
              The error message.
              ==============
              javax.servlet.ServletException: 55.0
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:450)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:543)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
              at com.standardandpoors.framework.presentation.XslJspView.generateView(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during invocation
              from home: com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_HomeImpl@3e49a8
              threw exception: com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during invocation
              from home: com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_HomeImpl@3e49a8
              threw exception: com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:43:373] debug: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|4|Dispatcher.include is executed.
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|Entered transform()
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.====. 1
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.---. 2
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.. 3
              [11/Jul/2003 12:31:43:433] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.. 4
              [11/Jul/2003 12:31:44:84] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|returning from transform()
              [11/Jul/2003 12:31:44:94] debug: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|4|>>> Before including /loans/loansPostBody.jsp
              [11/Jul/2003 12:31:46:808] info: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|3|javax.servlet.ServletException: 55.0
              [11/Jul/2003 12:31:46:838] info: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|3|----exception handled due to Response Fail
              [11/Jul/2003 12:31:46:838] info: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|3|----------Using error page =SevereError.jsp
              [11/Jul/2003 12:31:46:848] error: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|1|java.lang.IllegalStateException: Cannot forward a
              response that is already committed
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:136)
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:46:848] info: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|------------3
              [11/Jul/2003 12:31:46:848] info: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|@@@@Notice: Exception was handled by displaying errorPagejava.rmi.RemoteException:
              EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              [11/Jul/2003 12:31:46:858] error: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|1|java.rmi.RemoteException: EJB Exception: ; nested
              exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:46:858] info: |com.standardandpoors.ccrermf.controller.CcrermfControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|mRequestNameString=ListAllLoans
              <Jul 11, 2003 12:32:21 PM EDT> <Info> <Management> <140009> <Configuration changes
              for domain saved to the repository.>
              

    Can you provide a little more detail about this exception? Can you post the
              jsp here so we could find the reason for the exception
              --Nagesh
              "Robert Zanzerkia" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > We are converting our application from iPlanet (SunOne) to WL7.0.
              > I get the following error when tag library is used in our jsp file.
              > The tag library is jakarta Request library.
              >
              > Any suggestions on how to debug this ?
              >
              > Thank you,
              > Robert
              > Use of the tag lib:
              > ==============
              >
              > <%@ taglib prefix="req" uri="/WEB-INF/tlds/taglibs-request.tld" %>
              >
              > <req:existsParameter name="nextPage">
              > <req:setAttribute name="currentPage"><req:parameter
              name="nextPage"/></req:setAttribute>
              >
              >
              > The error message.
              > ==============
              > javax.servlet.ServletException: 55.0
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :450)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :445)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:543)
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:369)
              > at
              com.standardandpoors.framework.presentation.XslJspView.generateView(Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during
              invocation
              > from home:
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              HomeImpl@3e49a8
              > threw exception: com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > >
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during
              invocation
              > from home:
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              HomeImpl@3e49a8
              > threw exception: com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > >
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > [11/Jul/2003 12:31:43:373] debug: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|4|Dispatcher.include is executed.
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|Entered transform()
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.====. 1
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.---. 2
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.. 3
              > [11/Jul/2003 12:31:43:433] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.. 4
              > [11/Jul/2003 12:31:44:84] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|returning from transform()
              > [11/Jul/2003 12:31:44:94] debug: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|4|>>> Before including /loans/loansPostBody.jsp
              > [11/Jul/2003 12:31:46:808] info: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|3|javax.servlet.ServletException: 55.0
              > [11/Jul/2003 12:31:46:838] info:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|3|----exception handled due to Response Fail
              > [11/Jul/2003 12:31:46:838] info:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|3|----------Using error page =SevereError.jsp
              > [11/Jul/2003 12:31:46:848] error:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|1|java.lang.IllegalStateException: Cannot
              forward a
              > response that is already committed
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:136)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              > [11/Jul/2003 12:31:46:848] info:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|3|------------3
              > [11/Jul/2003 12:31:46:848] info:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|3|@@@@Notice: Exception was handled by
              displaying errorPagejava.rmi.RemoteException:
              > EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > [11/Jul/2003 12:31:46:858] error:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|1|java.rmi.RemoteException: EJB Exception: ;
              nested
              > exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              > [11/Jul/2003 12:31:46:858] info:
              |com.standardandpoors.ccrermf.controller.CcrermfControllerServlet|doPost|Exe
              cuteThread:
              > '12' for queue: 'default'|3|mRequestNameString=ListAllLoans
              > <Jul 11, 2003 12:32:21 PM EDT> <Info> <Management> <140009> <Configuration
              changes
              > for domain saved to the repository.>
              

  • Jakarta taglibs

    hi all,
    Is it true that by using the jakarta i18n taglibs, the properties files are preloded into the memory. How exactly do they work.
    Is the working different from using
    ResourceBundle.getBundle().
    please help
    thanka in advance

    Yes, it is perloaded in memory, That is why when you make some changes in property file then you have to restart the application

  • Error using IO taglib in BEA 8.1

              Hello,
              I am integrating a web application into BEA 8.1 and everything seems to be getting
              worked out except for 1 thing. In one of my JSP pages I use the Jakarta io taglib
              to send a SOAP message. When I try to run this JSP page I get the following error:
              WARNING: ERROR: Caughtjava.io.FileNotFoundException: Response: '500: Internal
              Se
              rver Error' for url: 'http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:
              http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
              java:394)
              at org.apache.taglibs.io.URLTag.getURLInputStream(URLTag.java:274)
              at org.apache.taglibs.io.URLTag.getURLReader(URLTag.java:259)
              at org.apache.taglibs.io.URLTag.readURL(URLTag.java:327)
              at org.apache.taglibs.io.URLTag.doEndTag(URLTag.java:181)
              at jsp_servlet._jsp.__registerproduct._jspService(registerProduct.jsp:31
              The problem is not with the URL being a bad one but there is some internal conflict
              between BEA and the taglib itself. I don't have problems when my web application
              runs outside of BEA (just in Tomcat).
              Thoughts??
              Thanks - Peter
              6)
              

              "Peter Len" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hello,
              >
              > I am integrating a web application into BEA 8.1 and everything seems to be
              getting
              > worked out except for 1 thing. In one of my JSP pages I use the Jakarta
              io taglib
              > to send a SOAP message. When I try to run this JSP page I get the
              following error:
              >
              > WARNING: ERROR: Caughtjava.io.FileNotFoundException: Response: '500:
              Internal
              > Se
              > rver Error' for url: 'http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              > java.io.FileNotFoundException: Response: '500: Internal Server Error' for
              url:
              > '
              > http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              > at
              weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
              > java:394)
              > at org.apache.taglibs.io.URLTag.getURLInputStream(URLTag.java:274)
              > at org.apache.taglibs.io.URLTag.getURLReader(URLTag.java:259)
              > at org.apache.taglibs.io.URLTag.readURL(URLTag.java:327)
              > at org.apache.taglibs.io.URLTag.doEndTag(URLTag.java:181)
              > at
              jsp_servlet._jsp.__registerproduct._jspService(registerProduct.jsp:31
              > ...................................................
              >
              > The problem is not with the URL being a bad one but there is some internal
              conflict
              > between BEA and the taglib itself. I don't have problems when my web
              application
              > runs outside of BEA (just in Tomcat).
              >
              > Thoughts??
              >
              > Thanks - Peter
              > 6)
              Looks like the URL is returning a 500 Internal Server Error which implies an
              exception on the server side. Does the other URL also reside on WebLogic? If
              so you might want to look at the server log and see if there is something
              going on
              

  • Recursive custom tag: different behaviour in WinXP and Linux

    Hi all,
    I've a strange behaviour on a web application for which I developed a custom tag to render a tree structure.
    This tag take in input an object representing the tree with all its nodes, and render every node, calling hitself recursively for every child of every node.
    This tag is used inside a jsp.
    I deployed my webapp on JBoss in a WinXP Pro environment, and everything is ok. Then I deployed the same webapp on JBoss in a Linux Env, and the call to the custom tag... doesn't write anything (with the same input).
    Used jdk are 1.6.0_10 on WinXP and 1.6.0_7 on Linux (an OpenSuse professional distribution). JBoss is 4.2 (I did tests with JBoss 4.2.2 and 4.2.3).
    Here is a sample code of my tag (file outree.tag):
    <%@ tag language="java" pageEncoding="UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0" prefix="log" %>
    *<%@ taglib prefix="ousel" tagdir="/WEB-INF/tags/ouselector" %>*
    <%@ attribute name="subtree"
              required="true"
              type="my.webapp.TreeObject" %>
    <%@ attribute name="subroot_index" required="true" type="java.lang.Integer"%>
    <log:debug category="my.webapp.ousearch.taglib" message="Tag library called, starting operations..." />
    <c:if test="${not empty subtree.children}">
         <c:set var="next_subtree_index" value="${subroot_index + 1}"/>
         <ul class="subtree" id="subtree-${subroot_index}">
         <log:debug category="${logcategory}" message="We have children, calling recursively tag library on them (next subtree index: ${next_subtree_index})..." />
         <c:forEach var="currentOUChild" items="${subtree.children}">
              *<ousel:outree subtree="${currentOUChild}" subroot_index="${next_subtree_index}"/>*
              <c:set var="next_subtree_index" value="${next_subtree_index + 1}"/>
         </c:forEach>
         </ul>
    </c:if>
    </li>The TreeObject contains a list of children that can contain other children and so on. On every child, I call recursively my custom tag to render with a set of nested <ul> elements the entire tree structure.
    Here the call from the jsp:
    <%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0" prefix="log" %>
    *<%@ taglib prefix="ousel" tagdir="/WEB-INF/tags/ouselector" %>*
    <log:debug category="${logcategory}" message="Building subtree ${ouSubtree} HTML structure..." />
    *<ousel:outree subtree="${ouSubtree}" subroot_index="1"/>*
    <log:debug category="${logcategory}" message="Subtree ${ouSubtree} HTML structure built" />
    ...Jakarta log taglibs is used to log the value of the parameter passed to the custom tag. In the Linux env I see that the passed object is not empty (it couldn't be null because the tag enforce it as a mandatory value).
    Any idea?

    I have found a workaround.
    Simply substitute the recursive invocation, with an import of a jsp that will call the custom tag.
    Note: You have to set your needed variable in request to make it visible to the jsp
    <%@ tag language="java" pageEncoding="UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0" prefix="log" %>
    <%@ attribute name="subtree"
              required="true"
              type="my.webapp.TreeObject" %>
    <%@ attribute name="subroot_index" required="true" type="java.lang.Integer"%>
    <log:debug category="my.webapp.ousearch.taglib" message="Tag library called, starting operations..." />
    <c:if test="${not empty subtree.children}">
         <c:set var="next_subtree_index" value="${subroot_index + 1}"/>
         <ul class="subtree" id="subtree-${subroot_index}">
         <log:debug category="${logcategory}" message="We have children, calling recursively tag library on them (next subtree index: ${next_subtree_index})..." />
         <c:forEach var="currentOUChild" items="${subtree.children}">
                    *<c:set var="_currentOUChild" value="${currentOUChild}" scope="request"/>*
                    *<c:set var="_next_subtree_index" value="${next_subtree_index}" scope="request"/>*
              *<c:import url="/WEB-INF/tags/outtree.jsp"/>*
              <c:set var="next_subtree_index" value="${next_subtree_index + 1}"/>
         </c:forEach>
         </ul>
    </c:if>
    </li>Here is the imported jsp (outtree.jsp):
    <%@ taglib prefix="ousel" tagdir="/WEB-INF/tags/ouselector" %>
    <ousel:outree subtree="${_currentOUChild}" subroot_index="${_next_subtree_index}"/>

  • JSTL - Problem parsing XML file w/ XML schema declarations

    I'm having trouble parsing an xml document that contains XML schema declarations in the root element. I've included 2 snippets, the XML files they're supposed to parse, and their output below. The first one works and the second one doesn't. Could someone please tell me why? I find it hard to believe that no one's run into this before.
    I'm running Tomcat 5.5 and I'm using JSP 2.0, jakarta standard taglibs jars (1.1.2), jdk 1.5.0_04, and the Xalan 2.7.0 jars.
    Here's the first snippet:
    <c:import url="/WEB-INF/config/schools.xml" var="xml" />
    <x:parse doc="${xml}" var="schoolList"/>
    There are <x:out select="count($schoolList//school)"/> schools in the file:<br/>
    <x:forEach select="$schoolList//school">
         <x:out select="name"/><br/>
    </x:forEach>it parses the following xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <schools>
         <school id="34033">
              <name>Tumwater Middle School</name>
              <district>Tumwater</district>
              <type>middle</type>
              <active>false</active>
         </school>
         <school id="17001">
              <name>Garfield High School</name>
              <district>Seattle</district>
              <type>high</type>
              <active>true</active>
         </school>
         <school id="00023">
              <name>Tigard High School</name>
              <district>Tigard-Tualatin</district>
              <type>high</type>
              <active>true</active>
         </school>
    </schools>and it outputs:
    There are 3 schools in the file:
    Tumwater Middle School
    Garfield High School
    Tigard High School-----------------------------------------
    The second snippet:
    <c:import url="/WEB-INF/config/schools2.xml" var="xml2" />
    <x:parse doc="${xml2}" var="schoolList2"/>
    There are <x:out select="count($schoolList2//school)"/> schools in the file:<br/>
    <x:forEach select="$schoolList2//school">
         <x:out select="name"/><br/>
    </x:forEach>parses this xml file (note the xml schema declarations):
    <?xml version="1.0" encoding="UTF-8"?>
    <schools xmlns="http://www.serenus.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.serenus.com schools.xsd">
         <school id="34033">
              <name>Tumwater Middle School</name>
              <district>Tumwater</district>
              <type>middle</type>
              <active>false</active>
         </school>
         <school id="17001">
              <name>Garfield High School</name>
              <district>Seattle</district>
              <type>high</type>
              <active>true</active>
         </school>
         <school id="00023">
              <name>Tigard High School</name>
              <district>Tigard-Tualatin</district>
              <type>high</type>
              <active>true</active>
         </school>
    </schools>and its output is:
    There are 0 schools in the file:That's it! No errors at all! I'm 100% certain the variable names, filenames, etc. are correct. I've looked everywhere for an existing answer to this problem, but I can't find one. Is this a known issue? Please help.
    -Ben

    Hi Ben,
    I got exactly the same problem and also could not find any solution.
    Did you find a way out for this problem meanwhile?
    Any help is welcome!

  • How can I includ a web site in a jsp file?

    Hi all,
    I want to includ a web site, for example www.yahoo.com, in my jsp file. when the jsp file is called, it can return the web page to my own page. How shoud I do for that?
    I placed the code:
    <jsp:include page="http://www.yahoo.com"/> in my jsp page, but it does not work. Please help!
    Thanks.

    try checking out the include tag from the jakarta utility-taglibs.
    it can do this.
    http://jakarta.apache.org/taglibs/doc/utility-doc/index.html (include)
    this one can to
    http://jakarta.apache.org/taglibs/doc/io-doc/intro.html
    (check out "request" tag).
    hope it helps

  • Accessing A DB From A JSP

    Hi,
    I've been using the code at the bottom of this message to access a database. I've been having some trouble though when the user stops the browser session mid way through a page loading. Occasionally it can cause the web server to crash. I'm guessing a connection must be left open somewhere, and that is causing the problem. Has anyone got any advice on ways I can avoid this?
    Cheers,
    Lee
    import java.sql.*;
    import java.util.*;
    public class DBAccess {
      // Username, password & URL for accessing tables
      private String uname = "username";
      private String pword = "password";
      private String url = "Conn URL here";
      // Declare connection and statement that will be used to create recordsets
      private Connection conn = null;
      private Statement stmt = null;
      private ResultSet rs = null;
      private int rowCount = 0;
      private int colCount = 0;
      private Properties props = new Properties();
      private Driver drv = null;
      // Get records from table and return in a 3D array
      public String[][] getTableRecords(String strSQL) {
        // Ensure that the variables used are set to 0 or null.  This will ensure
        // that there are no errors related to the results containing info from a
        // previous procedure call.
        rs = null;
        conn = null;
        stmt = null;
        rowCount = 0;
        colCount = 0;
        props = new Properties();
        drv = null;
        try {
          drv = (Driver) Class.forName("somedriver").newInstance();
        catch (Exception e) {
          System.out.println(e);
          return null;
        // Set properties for making a connection
        props.put("user", uname);
        props.put("password", pword);
        try {
          conn = drv.connect(url, props);
          stmt = conn.createStatement();
        catch (SQLException e) {
          System.out.println("SQL Error : " + e);
          return null;
        String[][] results = new String[0][0];
        // Execute SQL Query
        try {
          rs = stmt.executeQuery(strSQL);
          ResultSetMetaData rsmd = rs.getMetaData();
          // Get amount of columns.
          colCount = rsmd.getColumnCount();
          while (rs.next()) {
            rowCount++;
          // Remember to reset the resultset
          rs.close();
          rs = stmt.executeQuery(strSQL);
          if (rowCount < 1) {
            results = null;
          else {
            results = new String[rowCount][colCount];
            int currentRow = 0;
            while (rs.next()) {
              for (int i = 1; i <= colCount; i++) {
                String currentField = rs.getString(i);
                if (currentField == null) {
                  currentField = "";
                // -1 is used to make sure that the rows/columns with an index of 0 are filled
                results[currentRow][i - 1] = currentField;
              currentRow++;
          // Close everything
          rs.close();
          stmt.close();
          conn.close();
        catch (Exception e) {
          results = null;
          System.out.println("SQL Error : "+ e);
        return results;
      // Execute some SQL that doesn't return a recordset
      public void execSQL(String action) {
        try {
          drv = (Driver) Class.forName("drivername").newInstance();
        catch (Exception e) {
          System.out.println(e);
        // Set properties for making a connection
        props = new Properties();
        props.put("user", uname);
        props.put("password", pword);
        try {
          conn = drv.connect(url, props);
          stmt = conn.createStatement();
          stmt.execute(action);
          // Close connection and statement
          stmt.close();
          conn.close();
        catch (SQLException e) {
          try {
            conn.close();
            stmt.close();
          catch (Exception f) {
          System.out.println("SQL Error : " + e);
      // Return the number of columns that are in the resultset
      public int getNoOfCols() {
        return colCount;
    }

    There are more than one possibilities out there. I want to describe two of it.
    1) For rapid software development, you can use taglibs (Java Standard Tag Libraries or jakarta db taglibs) in your jsps. There are also other taglibs from different vendors, but I know only these two.
    2) You can use JNDI to establish a database connection through a datasource object. This is the more often way in a production environment. There are also possibilities with pooling and so on.
    It depends, on what you want to develop, for a simple page or prototyping, and low traffic, it is possible to use taglibs. For a complete web application, it is better to establish the connection through Datasources, which are handled by the JSP / Servlet container or the application server.
    so long
    ThK

  • Image Tag Library + scriplets

    I installed the jakarta imaging taglib to do some auto resizing of images. It works well aside from the fact that i cannot get my scriptlet to work in the img source.
    <img:image src="/images/<% x_productImage %>"
            dir="generated
            name="<% x_productImage%>-new"
    <img:resize width="900"/>
    </img:image>It doesn't throw an error. And the when i view source it ignores the entire chunk of code and displays nothing at all.
    Does anyone have any idea how i can get scriptlets to work?
    Here is a link to the taglib if anyone is interested
    http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/intro.html
    and here is the doc on it
    http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html

    Well attributes to a custom tag, you need to use scriptlet expressions <%= expr %>, not just plain scriptlet tags <% javaStatement; %>.
    Also, when you want an attribute to be dynamic, make the whole attribute dynamic, rather than half and half, like you have with the src attribute on this tag. It saves problems in the end.
    Something like this I think:
    <img:image src="<%= "/images/" + x_productImage %>"
            dir="generated"
            name="<%=  x_productImage + "-new" %>">
      <img:resize width="900"/>
    </img:image>Cheers,
    evnafets

  • Exception in tomcat for java mail

    pls tell me wat kinds of exception occurs.
    i already set up all jar files in classpath .
    if some one know uri for the jakarta mail talglib.
    show me good idea
    cheers

    First link returned by Google for a search for "Jakarta Mail Taglib":
    http://jakarta.apache.org/taglibs/doc/mailer-doc/intro.html
    And don't waste your time setting a classpath for your application server.

  • Nested (tag library) tags

    hi,
    here is the problem that I am facing. I have downloaded the jakarta-input.tld and placed the concerned jar file in the lib folder of web-inf.
    in my jsp page I have the page directive to the tld and the mapping of the tld with the class is in the web.xml file.
    now I created another (my) tld file and have followed the same process.
    In my jsp I am using a tag called shuttle which is in my tld. In the doStartTag() I am printing out a complete html constructed as a string. In this html string there is another tag which belongs to the jakarta-input.tld.
    When the html is spit put by the JspWriter the browser is not recongizing a tag called <input:select> which corresponds to a tag defined in jakarta-input.tld.
    Other html elements are showing up properly except for this tag and its contents.
    Can there be nested tags?? I believe so because when the browser encounters the start of a specific tag it calls the corresponding class and so no matter what, even in this particular situation, when the browser encounters the <input:select> tag, it should look for the corresponding class with the mappings in the web.xml???
    please guide me if I am understanding it wrong. I would appreciate any kind of help.
    regards.
    f

    here are my doStartTag() and doEndTag()....
    String htmlString = "<table border=\"0\" cellspacing=\"2\" cellpadding=\"0\" height=\"116\" ><tr><td><a href=\"javascript:orderModule(0,'imageId_l');\" ><img src=\"cabo/images/sru.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"Up\" vspace=\"20\"/></a></td><td rowspan=\"2\"><input:select name=\"imageId_l\" attributes=\"<%= att %>\" optionLabels=\"<%= list1 %>\" optionValues=\"<%= vals %>\"></input:select>";
      htmlString+= "</td></tr><tr><td><a href=\"javascript:orderModule(1,'imageId_l');\"><img src=\"cabo/images/srd.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"Down\" vspace=\"20\"/></a></td></tr></table></td><td><table border=\"0\" cellspacing=\"2\" cellpadding=\"0\"><tr><td><a href=\"javascript:moveModule('imageId_l','imageId_r');\"><img src=\"cabo/images/smv.gif\" alt=\"Move Right\" width=\"18\" height=\"18\" border=\"0\" vspace=\"30\" />";
      htmlString+= "</a></td></tr><tr><td><a href=\"javascript:moveModule('imageId_r','imageId_l');\"><img src=\"cabo/images/srmv.gif\" alt=\"Move Left\" width=\"18\" height=\"18\" border=\"0\" vspace=\"20\"/></a></td></tr></table></td><td class=\"table\"><table><tr class=\"shuttle\"><td width=\"3\"></td><td>Selected</td></tr></table><table border=\"0\" cellspacing=\"2\" cellpadding=\"0\" width=\"100%\" height=\"115\"><tr><td rowspan=\"2\">";
      htmlString+= "<input:select name=\"imageId_r\" attributes=\"<%= att %>\" optionLabels=\"<%= list2 %>\"></input:select></td><td><a href=\"javascript:orderModule(0,'imageId_r');\"><img src=\"cabo/images/sru.gif\" width=\"12\" height=\"12\" border=\"0\" alt=\"Up\" vspace=\"20\"/></a></td></tr><tr><td><a href=\"javascript:orderModule(1,'imageId_r');\"><img src=\"cabo/images/srd.gif\" width=\"12\" height=\"12\" border=\"0\" alt=\"Down\" vspace=\"20\"/></a></td></tr>";
      public int doStartTag() throws JspException {
          try {
            JspWriter out = pageContext.getOut();
            out.print(htmlString);
          } catch (Exception ioException) {
          return EVAL_BODY_INCLUDE;
       public int doEndTag() throws JspException {
         try {
           pageContext.getOut().print("</table>");
         } catch (Exception ioException) {
         return EVAL_PAGE;
       }here is the output from the writer in the page
    <table border="0" cellspacing="2" cellpadding="0" height="116">
      <tr>
        <td>
          <a href="javascript:orderModule(0,'imageId_l');">
            <img src="cabo/images/sru.gif" width="11" height="11" border="0"
                 alt="Up" vspace="20"/>
          </a>
        </td>
        <td rowspan="2">
          <input:select name="imageId_l" attributes="<%= att %>"
                        optionLabels="<%= list1 %>" optionValues="<%= vals %>">
          </input:select>
        </td>
      </tr>
      <tr>
        <td>
          <a href="javascript:orderModule(1,'imageId_l');">
            <img src="cabo/images/srd.gif" width="11" height="11" border="0"
                 alt="Down" vspace="20"/>
          </a>
        </td>
      </tr>
    </table>
    </td>
    <td>
      <table border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td>
            <a href="javascript:moveModule('imageId_l','imageId_r');">
              <img src="cabo/images/smv.gif" alt="Move Right" width="18" height="18"
                   border="0" vspace="30"/>
            </a>
          </td>
        </tr>
        <tr>
          <td>
            <a href="javascript:moveModule('imageId_r','imageId_l');">
              <img src="cabo/images/srmv.gif" alt="Move Left" width="18" height="18"
                   border="0" vspace="20"/>
            </a>
          </td>
        </tr>
      </table>
    </td>
    <td class="table">
      <table>
        <tr class="shuttle">
          <td width="3">
          </td>
          <td>Selected</td>
        </tr>
      </table>
      <table border="0" cellspacing="2" cellpadding="0" width="100%" height="115">
        <tr>
          <td rowspan="2">
            <input:select name="imageId_r" attributes="<%= att %>"
                          optionLabels="<%= list2 %>">
            </input:select>
          </td>
          <td>
            <a href="javascript:orderModule(0,'imageId_r');">
              <img src="cabo/images/sru.gif" width="12" height="12" border="0"
                   alt="Up" vspace="20"/>
            </a>
          </td>
        </tr>
        <tr>
          <td>
            <a href="javascript:orderModule(1,'imageId_r');">
              <img src="cabo/images/srd.gif" width="12" height="12" border="0"
                   alt="Down" vspace="20"/>
            </a>
          </td>
        </tr>
      </table>my form name is multForm
    All this code is spit into jsp when I use just <shuttle></shuttle> tag .
    The code above has a <input:select > tag which is not getting recognized! and so in my javascript, when a function calls for "imageId_l" which is one of the names of the <input:select> it is throwing error saying "document.multiForm[..].selectedIndex is null"
    id the code thats spit out not evaluated??
    regards,
    f

  • Integrating Jakarta taglibs in Jdev 9.0.4 (other than JSTL)

    Hello --
    I'm having difficulty getting the magic spell for proper integration of Jakarta taglibs other than the JSTL taglibs to work.
    I've gone into Tools-&gt;Manage Libraries-&gt;Jsp Libraries and created a new Jsp library based on the .tld file / archive file / and uri, and assigned a prefix, but I can't use it.
    If I create a workspace from a WAR for something like 'application-examples.war' from the Jakarta site, when I try and compile the example page, I get a "Attribute 'xmlns:xalan' is used but not declared."
    and Jdev is unable to load the taghandler class.
    Has anyone had any luck getting these taglibs to integrate properly?
    Thanks,
    Donn

    Ok, now I'm going nuts. I can't get JSTL working either -- have tried with the &lt;taglib&gt; directive in web.xml, and without, have tried with registering the libraries in the JSP tab and not registering, and with the .tld files in the lib directory and not.
    Any successes out there?

Maybe you are looking for

  • Not able to Install Webcenter site 11g R1 (11.1.1.6.0)  in my local PC

    1. I downloaded hsqldb 2.2.8 and set up the database, the connection properties are      TYPE      :     HSQL Database Engine In-Memory      Driver     :     org.hsqldb.jdbc.JDBCDriver      URL     :     jdbc:hsqldb:mem:.      USER     :     SA      

  • How do i get my contacts back after updation of the software on iphone 4S

    when i updated my iphone software to ios 6.0 all my contacts got deleted....what do i do?

  • Setting up multiple speakers w/ Airport 802.11g/n

    Hello.. I updated my Airport Express to the 802.11g/n model over the holidays and has set up a pair of wireless speakers via Airtunes. I kept the older (pre 802.11g/n) AE as I was told that I could still hook up speakers to it via Airtunes. So here i

  • Configure Subject Areas

    How do I configure multiple subject areas in OBIEE 11G? Thanks, Akshatha

  • Photos, pictures not loading

    Using Apple's photo app many pictures are not loading, also showing grey in preview. When closing by two finger movement they shortly show up and are visible after second opening. Movies however not. It appears especially with pictures taken by ipad,