Jsp 2.0 and jdev 10g production (custom tags)

there are some examples at
http://otn.oracle.com/sample_code/tech/java/jsps/index.html
I have certian questions it would be great if some one would clear these for me..
In JSP 1.2 if we wanted to write the custom tag's we had tag classes that extend TagSupport or TagBodySupport and the doStart() and doEnd() tag with the evaluate body. I could spit out the complete html text on an encounter of a tag! but in the JSP 2.0 a doTag() seems to take care of the intracies! how??
Now with jsp 2.0 I want to do the same... say some thing like this ....
<tg:myTag list="${somelist}"></tg:myTag> and say in my tag handler class I know what to do with this list. May be I will create complete html code and will use jspWriter to write out the html inbetween these tags!!
I have downloaded the eStore example but this class
javax.servlet.jsp.tagext.SimpleTagSupport; is not imported. So I am not able to look at the SimpleTagSupport class.
If I am trying to run the example in jdev 10g production should I have to specify that I am using jsp 2.0 so that jdev knows not to use jsp 1.2? if so how can I do this.
Does all the examples provided use the OC4J standalone? Can I use the embedded oc4J instead?
regards.

After reading a bit more now I know how the tags work.
However from the example I see (eStore) an array called by name "products" is created and set on the jspContext. If I already have the list and want to pass on the list which is in a bean or a session or a request can I provide it this way.
<tag:myTag var=${bean.list}>
or
<tag:myTag var=${session.list}>
or
<tag:myTag var=${request.list}>in the .tld file I should specify the attribute var and whether it should be runtime evaluable.
and in the TagClass
private Collection var;
private String listName;
public void setVar(Colloection aList) {
  this.var = aList;
public Collection getVar() {
  return var;
public void doTag( ) throws JspException{
  // do i always need to this next line ------
  getJspContext( ).setAttribute(listName, getVar());
}so that in my .tag file I can use some thing like this
<c:forEach var="list" items="${item}">
  <td>${item.subObject.name}</td>
  <td>${item.subObject.value}</td>
</c:forEach>And finally... as and when a tag is encountered the .tag file contents corresponding to that tag is called to get the html text and all that text is printed out in the jsp page right (without the jspWriter "out"). How does the browser know when to stop? like doEndTag() function? are these functions implicitly called?
regards.

Similar Messages

  • UIX table tag's attribute VALUE is missing in jdev 10g production

    In JDeveloper 10g preview, I handled my table's navigation manually and need to set the table's tag attribute VALUE in order to keep the record range.
    However, when i convert my project to JDeveloper 10g Production, eventhought the page is still working fine, but in the design windows will show that the uix page is in invalid state and I found that the attribute VALUE is no more supported.
    Could anyone please help me and let me know how do i set back my record range? Thanks!

    It turns out that you're running into a bug that will be fixed in the soon to be released version of JDev 10g. The good news is that it's a design time bug, so your pages will still work at runtime. You can even fix the bug yourself if you want. In JDEV_HOME\jlib there is uix2-schemas.zip. Inside of that is ui/table.xsd.
    Add the below attribute definition inside of the complex type for the table, and you should be all set.
    <attribute name="value" type="ui:unsignedIntExpressionType" default="1"/>
    Hope this helps,
    Ryan Pollock
    UIX Team

  • JSP 2.0 with JDev 10g (9.0.5.0.0) preview

    Hi everybody,
    Is it possible to compile JSP 2.0 files with JDev 10g. If so, how ?
    I added a new library named JSP20 Runtime which points to the JSP jars from OC4J 10G (10.0.3). I added this library to my project in replacement of the default JSP Runtime library. It seems that something else must also be done to compile my JSP.
    Got any idea ?
    After this, to run my JSP, I must also figure how I can bypass the default embedded OC4J and use the preview version of OC4J 10.0.3. Will it be mandatory to deploy my project to the standalone OC4J ?
    Thank you

    tagdir is not a taglib attribute. Replace the tagdir attribute with the uri that points to the file something like this:
    <%@ taglib prefix="tags" uri="uri-where-file-is"/>
    Richard

  • JALOPY and JDev 10g 9.0.5.1

    How can I incorporate jalogy in to Jdev 9.0.5.1?
    I followed the instructions on jalopy website and it worked perfectly for Jdev 10g Preview but not 9.0.5.1. All I did before was just copy the jar files into &lt;JDEV&gt;\jdev\lib\ext directory and restart JDev. Now it doesn't work. Thank you in advance.

    Thank you Rob for your fast response. However, it still doesn't work. However, I noticed that in the <JDEV9051>\jdev\lib\ext folder there is README.txt and it has some XML to define external plugins. I have not noticed it in the older release. Do I have to configure the plugins using XML config file now?
    Again thank you in advance.

  • BPA suite 11g and Jdev 10g

    hello,
    BPA11G is also compatible with JDEV10 ? I can use Jdev 10g with BPA suite 11g or not ? or we must install Jdev 11g ? (send a document about this)
    BR,

    Hi,
    please install the JDeveloper 11g and apply the newest "BPA Extension for JDeveloper". Install the BPA Extension using the JDeveloper Update Center. From the JDeveloper menu choose Help > Check for Updates. Browse and pick the pcbpel_bundle.zip found in the Oracle BPA Suite 11g Addons.
    It is necessary to keep the JDeveloper and BPA Suite version consistent, especially for the major releases 10 or 11. This is because in 11g a BPEL process is part of a SOA Composite, which means the technical concept has been changed as well.
    Best regards,
    Danilo

  • Param binding with Struts and JDev 10G

    This comes from a post in UIX forum. I transcribe the complete text. Can someone help me? Thanks in advance.
    Params in queries with Jdev 10g Sep 22, 2003 11:50 PM
    Reply
    I had a working UIX App and used the null event to setting parameters for my query but using 10g doesn't work. I tried setWhereClause in my application module class, calling it from the data action, but i get an error (index out of bounds). If I try "setWhereClause", it works fine but it's veeeeery slow (I think the query first fechs all rows). I need something that before getting rows, initialize the query (my view object is defined with an empty where clause, because the queries will be defined in runtime via a Emp_ID). Of course, there is and index on emp_id. Help me, please...
    Re: Params in queries with Jdev 10g ( In Reply To : Params in queries with Jdev 10g ) Sep 24, 2003 12:37 AM
    Reply
    Hi, this is my code using BC4J and the null event in the uix page. This worked fin with Jdev 9.0.3.
    public static EventResult EstableceParametros(BajaContext bc,
    Page page, PageEvent event)
    String exp;
    DatosUsuario dat = DatosUsuario.getDatosUsuario(bc);
    exp=dat.sId_Expediente;
    ApplicationModule am=ServletBindingUtils.getApplicationModule(bc);
    ViewObject vo=ServletBindingUtils.getViewObject(bc);
    vo.setWhereClauseParam(0,exp);
    return new EventResult(page);
    Now, I have removed the where clause from the viewobject and using dataAction I do this:
    protected void initializeRequestParameters(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.initializeRequestParameters(actionContext);
    HttpServletRequest req=actionContext.getHttpServletRequest();
    String evento=req.getParameter("event");
    DatosUsuario dat = DatosUsuario.getDatosUsuario(req);
    String exp=dat.sId_Expediente;
    BindingContext bc=actionContext.getBindingContext();
    DCDataControl dc= bc.getContext(req).getDefaultDataControl();
    Object misdatos=dc.getDataProvider();
    Elendil am=(Elendil)misdatos;
    am.ParamAnotacionExp(exp);
    In my application module class:
    public void ParamAnotacionExp(String idexpediente)
    AnotacionExpViewImpl vo=getAnotacionExpView1();
    * if (idexpediente.equals(""))
    vo.setWhereClause("centro = centro and id_expediente like " + "'%'");
    else
    vo.setWhereClause("centro = centro and id_expediente = " + idexpediente);
    vo.executeQuery();
    //(1) vo.setWhereClauseParam(1,idexpediente);
    vo.setWhereClause("id_expediente = " + idexpediente);
    vo.executeQuery();
    If I use I get a null pointer, so I removed the where clause from the view object.
    Than you very much.
    Re: Params in queries with Jdev 10g ( In Reply To : Re: Params in queries with Jdev 10g ) Sep 26, 2003 3:52 PM
    Reply
    Juanma -
    I finally found time to put together a test case, but unfortunately I wasn't able to reproduce the problem. Here is what I tried:
    - In JDev 9.0.3, I created a simple BC4J data model based on the Scott schema - with a single ViewObject for the Emp table.
    - I modified the EmpView query to include the following bind variable in the where clause:
    WHERE Emp.SAL < :1
    - I used the uiXML Browse & Edit Form wizard to create some simple uiXML/BC4J pages.
    - I added the following event handler to View1.uix:
    <event name="null">
    <bc4j:findRootAppModule name="EmpView1AppModule">
    <bc4j:findViewObject name="EmpView1">
    <method class="events.TestEvents" method="doNull"/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    TestEvents.doNull() looks like this:
    public static EventResult doNull(
    BajaContext context,
    Page page,
    PageEvent event)
    ViewObject vo = ServletBindingUtils.getViewObject(context);
    vo.setWhereClauseParam(0, "5000");
    return new EventResult(page);
    - When I run View1.uix in the embedded OC4J server, I can see that the EmpView VO is restricted based on the criteria specified in the call to ViewObject.setWhereClauseParam() in my null event handler. Only employees with salaries less than 5000 are displayed.
    - Next, I made a copy of my entire workspace and copied it into my jdev10g/jdev/mywork directory.
    - I then imported the workspace into 10g, allowing the UIX files to be converted to EL, and also allowing the BC4J model definition to be updated.
    - Finally, I try running again in 10g - everything works as expected.
    So, the good news is that this stuff should still work in 10g. The bad news is that it is going to take some more work for us to nail down exactly why this isn't working for your application. The best place to start would probably be for us to take a look at the null pointer exception that you are seeing - so please post the stack trace when you can.
    Thanks,
    Andy
    Re: Params in queries with Jdev 10g ( In Reply To : Params in queries with Jdev 10g ) Sep 28, 2003 11:05 PM
    Reply
    Andy, excuse me for the repost.
    If I try the way you explain, it worked fine, but the problem is that I'm also convertint to struts. In the data action, I have overriden this:
    protected void initializeRequestParameters(DataActionContext actionContext)
    There I try to set the params:
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    //super.initializeRequestParameters(actionContext);
    HttpServletRequest
    // If I uncomment the line super..., the result is the same.
    req=actionContext.getHttpServletRequest();
    String evento=req.getParameter("event");
    DatosUsuario dat = DatosUsuario.getDatosUsuario(req);
    String exp=dat.sId_Expediente;
    BindingContext bc=actionContext.getBindingContext();
    DCDataControl dc= bc.getContext(req).getDefaultDataControl();
    Object misdatos=dc.getDataProvider();
    Elendil am=(Elendil)misdatos;
    am.ParamAnotacionExp(exp);
    In my viewobject, I have this where clause:
    anotacionexp.id_expediente = :1
    Then, in my ApplicationModule class:
    public void ParamAnotacionExp(String idexpediente)
    AnotacionExpViewImpl vo=getAnotacionExpView1();
    vo.setWhereClauseParam(1,idexpediente);
    //vo.setWhereClauseParam(0,idexpediente); With 0, the result is the same.
    vo.executeQuery();
    And when I run, I get this:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ArrayIndexOutOfBoundsException, msg=0
    at oracle.jbo.JboException.<init>(JboException.java:343)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(Abs tractRemoteApplicationModuleImpl.java:4658)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(Abst ractRemoteApplicationModuleImpl.java:4854)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgReque st(AbstractRemoteApplicationModuleImpl.java:3449)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntri es(AbstractRemoteApplicationModuleImpl.java:3630)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage (AbstractRemoteApplicationModuleImpl.java:2975)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(Abs tractRemoteApplicationModuleImpl.java:1639)
    at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:59 86)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemot eApplicationModuleImpl.java:1608)
    at oracle.jbo.server.remote.colo.ServerApplicationModuleImpl.doMessage(ServerAppli cationModuleImpl.java:245)
    at oracle.jbo.common.colo.ColoApplicationModuleImpl.doMessage(ColoApplicationModul eImpl.java:102)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.ja va:70)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:998)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:1012)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(Applicati onModuleImpl.java:3049)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendRequest(ApplicationModuleImp l.java:1041)
    at oracle.jbo.client.remote.ApplicationModuleImpl.riInvokeExportedMethod(Applicati onModuleImpl.java:5255)
    at galadriel.client.ElendilClient.ParamAnotacionExp(ElendilClient.java:21)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.common.ws.WSProxy.invokeMethod(WSProxy.java:120)
    at oracle.jbo.common.ws.WSProxy.invoke(WSProxy.java:90)
    at $Proxy3.ParamAnotacionExp(Unknown Source)
    at controller.AnotacionesDataAction.initializeRequestParameters(AnotacionesDataAct ion.java:63)
    at oracle.adf.controller.struts.actions.DataAction.executeImpl(DataAction.java:104 )
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:69)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor .java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java: 65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 20)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch er.java:610)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReques tDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j ava:784)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResou rcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:536)
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.jdbc.dbaccess.DBDataSetImpl._getDBItem(DBDataSetImpl.java:323)
    at oracle.jdbc.dbaccess.DBDataSetImpl._createOrGetDBItem(DBDataSetImpl.java:566)
    at oracle.jdbc.dbaccess.DBDataSetImpl.setNullBindItem(DBDataSetImpl.java:1878)
    at oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java :1190)
    at oracle.jbo.server.ViewRowSetImpl.bindParameters(ViewRowSetImpl.java:1436)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:576)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java: 2946)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:553)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:612 )
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:594)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:2890)
    at galadriel.ElendilImpl.ParamAnotacionExp(ElendilImpl.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(Abs tractRemoteApplicationModuleImpl.java:4636)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(Abst ractRemoteApplicationModuleImpl.java:4854)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgReque st(AbstractRemoteApplicationModuleImpl.java:3449)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntri es(AbstractRemoteApplicationModuleImpl.java:3630)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage (AbstractRemoteApplicationModuleImpl.java:2975)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(Abs tractRemoteApplicationModuleImpl.java:1639)
    at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:59 86)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemot eApplicationModuleImpl.java:1608)
    at oracle.jbo.server.remote.colo.ServerApplicationModuleImpl.doMessage(ServerAppli cationModuleImpl.java:245)
    at oracle.jbo.common.colo.ColoApplicationModuleImpl.doMessage(ColoApplicationModul eImpl.java:102)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.ja va:70)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:998)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:1012)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(Applicati onModuleImpl.java:3049)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendRequest(ApplicationModuleImp l.java:1041)
    at oracle.jbo.client.remote.ApplicationModuleImpl.riInvokeExportedMethod(Applicati onModuleImpl.java:5255)
    at galadriel.client.ElendilClient.ParamAnotacionExp(ElendilClient.java:21)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.common.ws.WSProxy.invokeMethod(WSProxy.java:120)
    at oracle.jbo.common.ws.WSProxy.invoke(WSProxy.java:90)
    at $Proxy3.ParamAnotacionExp(Unknown Source)
    at controller.AnotacionesDataAction.initializeRequestParameters(AnotacionesDataAct ion.java:63)
    at oracle.adf.controller.struts.actions.DataAction.executeImpl(DataAction.java:104 )
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:69)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor .java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java: 65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 20)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch er.java:610)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReques tDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j ava:784)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResou rcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:536)
    I'm sure I'm doing somthing wrong, but don't know what. Thank you for your help.
    Re: Params in queries with Jdev 10g ( In Reply To : Re: Params in queries with Jdev 10g ) Sep 29, 2003 5:24 PM
    Reply
    Juanma -
    Not sure what would cause this JboException... Could you try posting to the JDev forum - I'm guessing the BC4J folks might be more familiar with this error...
    Andy

    Check out:
    Setting the view's where clause at runtime

  • JDev 10g production planned date?

    Hi,
    do we know the data when JDev 10g will be released?
    TIA,
    Tamas Szecsy

    see some "frozen" comments on this at :
    http://radio.weblogs.com/0128037/2003/12/16.html#a46
    -Jan

  • Jdev 9i and Jdev 10g

    Hello All,
    I recently downloaded Jdev10.3.3.0 (RUP4) and already had Jdev 9i. I created a new JDEV_USER_HOME for R12 as JDEVR12_USER_HOME and gave the path as follows :- C:\Jdev10g\jdevhome\jdev
    For Jdev9i, i have the following path -->JDEV_USER_HOME -- C:\Jdev\jdevhome\jdev
    I am not able to test the tutorials in Jdev10g because of the env. variables. WHat should be my approach.
    Please let me know

    Hi,
    there is no use in keeping the environment variable JDEVR12_USER_HOME.
    Set your 10g path at the env variable JDEV_USER_HOME .
    So every time you switch between different jdevs you need to change the env variable first.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Jsp 2.0 with jdev 10 g production

    hi,
    envi: jdev 10g production.
    I have downloaded some jsp examples which tell about the custom tag implementation from otn site. In the page this
    <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> throws the error
    Error(15): Invalid attribute: tagdiris jdev 10g prod: compatible with jsp 2.0. I mean do i have to install any other jsp runtime jars. When I create a new jsp does the ide automatically create a jsp with version 2.0 ??
    regards.

    tagdir is not a taglib attribute. Replace the tagdir attribute with the uri that points to the file something like this:
    <%@ taglib prefix="tags" uri="uri-where-file-is"/>
    Richard

  • Bug: Jdev 10g - templateDefinition won't allow expressionLanguage setting

    I've been migrating a set of pages from Jdev 10g Preview to Jdev 10g Production. I've got a UIX template (.uit) file with a templateDefinition like this:
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.paslists.com/pas/templates"
    localName="pasPageLayout"
    expressionLanguage="el">
    I get the following in the structure window:
    Errors(1)
    --- Attribute expressionLanguage not defined on element templateDefinition
    Can anyone help with this?

    I've managed to fix this myself, after reading about all the migration issues. It seems that the migration process copied some settings that caused Jdev 10g Production to map to some of the prior Jdev XML schemas and/or libraries. The solution was:
    1) Make sure Jdev is closed.
    2) Rename the <jdev_home>\jdev\system9.0.5.1.1605 to something else (just in case).
    3) Open JDev. Say no to any Migration questions.
    4) Open your workspaces (jws files) using the File->Open dialog
    I'm assuming, of course, that these projects are already JDev 10g Production projects. If they are not, then I think the procedure would be:
    1) Install Jdev 10g Production
    2) Run Jdev 10g Production. Say Yes and migrate settings and projects.
    3) Follow the steps above to fix the migrated settings.
    This should get your projects migrated to the new formats without contaminating them with old libraries/schemas.
    I'll repost if I find something that breaks due to this procedure. I do know that it resolved my error messages.

  • JDev 9.0.3 - Working with Custom Tags Hangs JDev Repeatedly!

    All,
    I recently upgraded from JDev 9.0.2 to 9.0.3 because of the new support for JSP 1.2 and Servlets 2.3. As you probably know, JSP 1.2 includes additional support for custom tag development. Unfortunately, JDev 9.0.3 keeps hanging repeatedly when trying to work with a custom tag library. I have seen a couple other postings on this forum that indicate the fact that I'm not alone in this experience.
    It seems that I am able to open a taglib and make a modification, and then save the taglib without a problem. However, if I attempt to make any further changes to that taglib again without restarting JDev, it just hangs JDev and I have to kill the JDev process and restart JDev. This has made JDev extremely frustrating and unusable developing custom tags. I do not have this problem with JDev 9.0.2, but that version does not support the additionally tag library functionality of JSP 1.2, which is supported by 9.0.3.
    Is this a bug with 9.0.3? Does anyone know of a workaround I can try?
    Thanks in advance,
    Kyle Corley

    Hi,
    Logged as bug 2725712.
    Thanks,
    Brian
    JDev Team

  • Query about tag extensions and custom tags

    Hello,
    Can u please clarify me where are these tag extensions and custom tags are actually used. (in which conditions)
    What are the advantages in using them...
    thanks in advance..
    Jaagy.

    You have to remember that .tag are, in a way, jsp pages, so you can use other custom tags, etc.
    We use them when we need template that are mostly html, with a little bit of logic in them that we want to reuse.
    For example, we made one for or header and footer. In header.tag, we set all of our http info, from doctype to body, including default css, title, etc if they are not supplied as parameter, and in our footer we put the /body and /html tags. Now, our typical pages look like
    <%@ taglib tagdir="/WEB-INF/tags" prefix="custom" %>
    <custom:header title="Page title" />
    ... page content
    <custom:footer />Now, if we want to change some attribute for the whole page, or to put a signature in each page, we just have to change the corresponding .tag file and the whole site is update.
    Also, .tag file can be used to display selectively page fragment.
    Take a look at Sun's tutorial for more info:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/JSPTags5.html#wp89664
    Hope this helps!
    Patrick

  • Urgent-how to access custom tag from jsp tag

    I have a problem accessing a custom tag from a jsp expression.
    Details: I have a custom tag that returns a string variable. I need to access that variable from jsp expression <%%>.
    Can any body help me?

    Tags don't "return" values as in the normal sense.
    They can only support TEI (Tag Extra Information) that just stuffs a declared variable into the page's state.
    For example, if the tag class had a public method called getValue(), you could do the following:
    <xmp:mytag id="foo"/>
    <%
    out.println("value is " + foo.getValue());
    %>

  • Javax.servlet.ServletException: runtime failure in custom tag 'content'

    Hi When iam trying to click on a link which takes to an another JSP.
              iam getting this error after few minutes and that page doesnt display at
              all.
              can anybody help me out????
              ==vasan++;
              <Jan 9, 2001 11:50:10 AM PST> <Error> <HTTP>
              <[WebAppServletContext(627219,console)] exception raised on
              '/console/panels/mbean/Server.jsp'
              javax.servlet.ServletException: runtime failure in custom tag 'content'
              at
              weblogic.management.console.pages._panels._mbean._server._jspService(_server
              .java:9798)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 9, 2001 11:50:10 AM PST> <Error> <HTTP>
              <[WebAppServletContext(627219,console)] Root cause of ServletException
              java.net.SocketException: Connection reset by peer: socket write error
              at java.net.SocketOutputStream.socketWrite(Native Method)
              at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
              at
              weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:127)
              at
              weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:
              345)
              at
              weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseIm
              pl.java:683)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
              mpl.java:124)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.flushWithCheck(ServletOutp
              utStreamImpl.java:451)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutputStreamI
              mpl.java:243)
              at
              javax.servlet.ServletOutputStream.println(ServletOutputStream.java:286)
              at
              weblogic.servlet.jsp.JspWriterImpl.println(JspWriterImpl.java:204)
              at
              weblogic.management.console.pages._common._requestinfo.print(_requestinfo.ja
              va:68)
              at
              weblogic.management.console.pages._common._requestinfo._jspService(_requesti
              nfo.java:224)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:249)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:167)
              at
              weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:104)
              at
              weblogic.management.console.pages._common._error._jspService(_error.java:162
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:149)
              at
              weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:100)
              at
              weblogic.management.console.pages._panels._mbean._server._jspService(_server
              .java:9830)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              

    I just started getting this error after a year in production environment without any problems. Did you every find out what caused this or better yet how to prevent this?
              Dan.
              

  • Runtime failure in custom tag

              I was curious if you knew what specifically you did to remove the runtime error.
              I am also getting the runtime failure. The try/catch that another discussion thread
              suggested does not catch the error since the exception is thrown prior to the
              doStart and doEnd Tag methods. I know that the exception is thrown immediately
              after the constructor is called for the tag and before the setParent method is
              called.
              Anyway, thank you in advance for any suggestions you might have.
              try { // begin instantiate/release try/catch/finally block... //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
                   westerncommon_jsptag_HeaderTag_0 = (western.common.jsptag.HeaderTag)java.beans.Beans.instantiate(getClass().getClassLoader(),
              "western.common.jsptag.HeaderTag"); //[ /wattage/wtgMainMenu.jsp; Line: 36]
              westerncommon_jsptag_HeaderTag_0.setPageContext(pageContext); //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
              westerncommon_jsptag_HeaderTag_0.setParent(null); //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
                   westerncommon_jsptag_HeaderTag_0.setNavMenuHREF(weblogic.utils.StringUtils.valueOf("wtgLogout.jsp"));
              //[ /wattage/wtgMainMenu.jsp; Line: 36]
              westerncommon_jsptag_HeaderTag_0.setNavMenu(weblogic.utils.StringUtils.valueOf("Logout"));
              //[ /wattage/wtgMainMenu.jsp; Line: 36]
              westerncommon_jsptag_HeaderTag_0.setTitle(weblogic.utils.StringUtils.valueOf("Main
              Menu")); //[ /wattage/wtgMainMenu.jsp; Line: 36]
              int int0 = westerncommon_jsptag_HeaderTag_0.doStartTag(); //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
                   if (_int_0 == BodyTag.EVAL_BODY_TAG) { //[ /wattage/wtgMainMenu.jsp; Line: 36]
                        throw new JspTagException("Since tag class western.common.jsptag.HeaderTag does
              not implements BodyTag, it cannot return BodyTag.EVAL_BODY_TAG"); //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
              } //[ /wattage/wtgMainMenu.jsp; Line: 36]
              /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
              if (_int_0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /wattage/wtgMainMenu.jsp;
              Line: 36]
                        //[ /wattage/wtgMainMenu.jsp; Line: 36]
                        out.print("\r\n");
                             //[ /wattage/wtgMainMenu.jsp; Line: 37]
                   } // end !SKIP_BODY //[ /wattage/wtgMainMenu.jsp; Line: 37]
              if (_western_common_jsptag_HeaderTag_0.doEndTag() == Tag.SKIP_PAGE) return;
              //[ /wattage/wtgMainMenu.jsp; Line: 37]
              } catch (java.lang.Exception javalang_Exception_0) { // instantiate/release
              try/catch/finally //[ /wattage/wtgMainMenu.jsp; Line: 37]
                   throw new ServletException("runtime failure in custom tag 'HeaderTag'", javalang_Exception_0);
              //[ /wattage/wtgMainMenu.jsp; Line: 37]
              } finally { // instantiate/release try/catch/finally block... //[ /wattage/wtgMainMenu.jsp;
              Line: 37]
                   if (_western_common_jsptag_HeaderTag_0 != null) westerncommon_jsptag_HeaderTag_0.release();
              //[ /wattage/wtgMainMenu.jsp; Line: 37]
              } //[ /wattage/wtgMainMenu.jsp; Line: 37]
              ----------CONSOLE OUTPUT-------------
              Getting Page permissions for page: wtgMainMenu.jsp user: 0
              Page Permissions: Insert-1 View-1 Update-1 Delete-1
              HeaderTag -- Constructing
              Thu Apr 05 11:19:00 CDT 2001:<E> <ServletContext-General> exception raised on
              wattage/wtgMainMenu.jsp'
              javax.servlet.ServletException: runtime failure in custom tag 'HeaderTag'
              at jsp_servlet.wattage.wtgmainmenu._jspService(wtgmainmenu.java:398)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:124)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:744)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:692)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:251)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:363)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    I just started getting this error after a year in production environment without any problems. Did you every find out what caused this or better yet how to prevent this?
              Dan.
              

Maybe you are looking for

  • Copy the value of a cell in an other tab.

    Hi, First of all, I'm french. I hope you could understand my poor english. I've a got a form with a tab where u can ad or sup raws. I've gat a second tab. I'd like to copy the value of the cell (textfield) in a cell in the second tab. I've try "this.

  • Using Unicode with MS-SQL-Server 2000

    Hello, i want to migrate my coldfusion application to support unicode. for that i read some articles here in the knowledge bas e and on the web. So i actually tested with: * correct use of cfcontent,cfprocessingdirective * storing source-files with U

  • Using a paramter to fetch data from database

    Hello SAP, Is there a way to use a parameter that takes in the employee ID and have it fetch from the database the employee name.  Just to note, the tables that I am using in this report do not link to the employee table that contains the employee na

  • TVSU 4 Runtime error on Win 7

    dear all, TVSU 4 can not run with messege at Microsoft Visual C++ Runtime Library dialog box : Runtime error! Programs: C:\Program Files\Lenovo\System Update\tvsu.exe This application has requested the Runtime to terminate it in unusual way. please c

  • Mail not displaying embedded attachments correctly

    Hello all, I have a strange problem that I can't seem to find any information on anywhere. Whenever I receive a photo or pdf embedded in an email message, I get this: --0015174c1230fc3ab30499a6fc4d Content-Type: image/jpeg; name="photo.JPG" Content-D