Uix:train within a Struts Form v. UIX form

I'm trying to implement the uix:train component within several of my JSP's. All of these JSP's are using Struts forms rather than UIX forms.
Is it possible to use the uix:train tag within a Struts form or must I use a uix:form ?
If I need to use a UIX form, can someone help me understand how to get the tag to actually submit the form to the destination that I am specifying rather than submitting back to itself?
I can get the train tag to work regardless of form type if I don't specify true for the formSubmitted property of the train tag. However, I need to actually submit the form because there are form values other than "goto" and "source" and "id", that I need access to when going to the designated JSP.
Thanks!
-Teri

I'm using 9.0.3, and I do see a marlinCore.js reference in the source.
Here's what's displayed when I view source:
<html>
<head><title>Archipelago's ArcaVision</title>
<link rel="stylesheet" charset="UTF-8" type="text/css" href="/ARCA-ArcaVision-context-root/cabo/styles/cache/blaf-en-ie-6.css">
<body>
<table id="piTrain" cellpadding="0" cellspacing="0" border="0" summary="" align="center"><script>function _navBarSubmit(formName, navBar, vld, val, sze, partialTargets){var i = val.indexOf(',');if (i >= 0){sze = val.substring(i+1);val = val.substring(0, i);}var submitFunc = (partialTargets == (void 0)) ? submitForm : _submitPartialChange;return submitFunc(formName,vld,{event:'goto',source:navBar,value:val,size:sze,partialTargets:partialTargets});}function _navChoiceSubmit(choice, formName, navBar, vld, size, partialTargets){if (!_navBarSubmit(formName, navBar, vld, choice.options[choice.selectedIndex].value, size, partialTargets)){choice.selectedIndex = choice._lastValue;}}</script><tr><td width="20"></td><td align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trasl-1.gif" alt="Account Search: Active step" width="12" height="23"></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trasr-1.gif" alt="Account Search: Active step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>function t(width,height){document.write('<img alt="" src="/ARCA-ArcaVision-context-root/cabo/images/t.gif"');if (width!=void 0)document.write(' width="' + width + '"');if (height!=void 0)document.write(' height="' + height + '"');document.write('>');}t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Basic Account Detail: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Basic Account Detail: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Distribution Detail: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Distribution Detail: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Data Permissions: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Data Permissions: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Report Permissions: Next step" width="12" height="23"></td></tr></table></td><td align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Report Permissions: Next step" width="11" height="23"></td><td width="20"></td></tr><tr><td></td><td colspan="2" class="x2m">Account Search</td><td></td><td colspan="2" class="x2o"><a onclick="_navBarSubmit('PersonalInfoForm','piTrain',1,'2');return false" href="#">Basic Account Detail</a></td><td></td><td colspan="2" class="x2o">Distribution Detail</td><td></td><td colspan="2" class="x2o">Data Permissions</td><td></td><td colspan="2" class="x2o">Report Permissions</td><td></td></tr></table>
<script src="/ARCA-ArcaVision-context-root/cabo/jsLibs/MarlinCore.js"></script><form id="PersonalInfoForm" name="PersonalInfoForm" style="margin:0px" method="POST" action="personalInfoSearch.do">
<input type="hidden" name="event">
<table align="center" cellpadding="1" cellspacing="4" border="0" width="100%">
<tr>
<td align="right" width="25%">First Name:</td>
<td align="left">
<input type="text" name="firstName" size="45">
</td>
</tr>
</table>
<input type="hidden" name="source"><input type="hidden" name="value"><script>var resetPersonalInfoFormNames=["source","value"];</script><script>function PersonalInfoFormValidater(form){return true;}</script></form>
</body>
</html>

Similar Messages

  • Cannot create a Struts Form bean using jdeveloper 10g

    Hello I'm new to jdeveloper and struts and triying to create a sample login page following this tutorial :http://www.oracle.com/technology/products/jdev/htdocs/handson/struts/strutshandson.html
    But I have a little problem in the 3rd excercice (Building Struts Form Beans and Actions)
    when I follow the instructions "Select File | New > Choose Web-Tier in the Categories, and select Struts > Select ActionForm from the Items > Click OK. "
    there is no ActionForm Item ! the only available item is "Struts Controller page Flow" and I allready used this one to create the struts' project template !
    (same thing : Struts Action in the next tutorial section is not available)
    BTW : I have to use jdeveloper 9.0.5.2 and not a latest version

    1. Take a look at the class diagram for query model http://docs.oracle.com/cd/E17904_01/web.1111/b31973/af_query.htm#BABDGCHI
    2. Also see if this helps you understand http://jobinesh.blogspot.in/2011/03/retrieving-viewcriteria-from-custom.html

  • Anyone Know How To Capture Digital Ink Signatures, Within  a PDF Form?

    Anyone know of software (preferably freeware) that can be used in adobe pro 8, which will allow a user, using a tablet PC, to capture digital ink signatures, within a PDF form?

    http://www.topazsystems.com/
    Topaz has a plugin that can be used for developement purposes for free.  Requires you pay for a license if you are going to use it for production.  Check under the applications section.

  • Default selection in combo box at struts form

    hi friends..i am new person in struts form..this is my prg.. display combo box value in 18. but i want 20...how to write program....plz anybody help me....thank you............
    <%
    for (int index = 18; index < 56; index++)                                                                           %>
    <html:option value="<%=index + ""%>">
    <%=index + ""%>
    </html:option>
    <% } %>

    what you need is field "value" in the select:
    [http://struts.apache.org/1.2.x/userGuide/struts-html.html#select]
    see "value" property
    (found it easily with "struts option selected" on google)

  • Inserting bullet points within Interactive adobe forms

    Hi,
         I would like to know if it would be possible to include "Bullets & Numbering" within Interactive adobe forms similar to MS word. Please kindly let me know.
    thanks
    anantharam

    Hi Anantharam,
    If you want to place bullets that will remain static, say U need to put certain notes on the form using the bullets preceding them,
    Yes this can be done, but a little tricky, just write the stuff in a word document with bullets, just copy and paste it into your Interactive form..this is the thing i had also implemented in my case, solved my problem..
    but in case u need to add this somewhere which is a runtime specific thing, i haven't yet tried such thing.
    Hope this helps.
    Regards
    Amita

  • Submit button within Interactive adobe form

    Hi,
        We have developed an Interactive adobe form and inserted a submit button within it We have installed ACI also.We tried putting the submit button both within the adobe form body and also within the webdynpro java view. In both the cases pressing the submit button does not result in any action. Please advise on what we are missing. We checked the forums for similar issues and found out that we are abiding by most of it.
    thanks
    anantharam

    Hi Anantharam,
    Please create and action in your view and attach it to your Interactive form UI element's onSubmit event. By doing this, whenecver you press the Submit button in the form, this action will be invoked. You can place any methots/code that you want to execute on click of submit button.
    If you are using the button outside the form, then you try printing one of the values that you filled in the form which is binded to context. This way you can test.
    If you are using WDP activex UI element s in the form then you need to have ACF installed on the machine and also ensure that the displayMode property of Interactive form is set to ActiveX.
    Hope this helps!!
    Regards,
    Arafat

  • Setting a Default Value within a Tabular Form

    Hi All,
    Using Apex 2.2.1
    Hoping someone can assist. I have the following two scenarios where I would like to set a default value to a column within a tabular form.
    Scenario One:
    Prior to actually displaying the tabular form on the page, I have a region on this page where I ask the user to select a Application No. first (using a Select List with Submit). Once this item, say P50_APP is set to a value, the Tabular Form region is then presented to the user by where I then allow them to enter certain information required using the 'Add Row' button. One of the columns within this tabular form also represents the Application No.
    My questions are:
    a) I have made the Application No. within the tabular form as a LOV, so when the user hits the 'Add Row' button, how can I set the initial value to P50_APP value using the 'Default Type and Default' items within the column?
    b) Since I am trying to achieve a master-detail type scenario here, if (a) above is not possible, if I hide the Application No. column within the tabular form, how can I set it to P50_APP when the user presses either the 'Add Row' or 'Submit' buttons?
    Scenario Two:
    Is it possible to pass a value from a tabular form, i.e a column within this tabular form on one page, to another tabular form column on a another page (when the user presses the 'Add Row' button) within the same application?
    For example, on page 50 I have the column #APP_NUMBER# passed onto page 60 which is another tabular form that also holds the same column name #APP_NUMBER# , so when the user on page 60 hits the 'Add Row' button, I would like the App Number column default to the one just passed over from page 50.
    Is this possible?
    Apologies if I am asking the same things in both scenarios - just want to make sure I understand MRUs.
    Thanks.
    Tony.

    Hi Andy,
    Thanks for getting back to me but I think you are referencing these default values in the wrong section.
    What I am actually trying to set is the value of a column within a tabular form to P50_APP and it seems to me that the only available options for setting default values on a tabular form column are by using:
    Default Type: which can be one of:
    No Default
    Item (application or page item name) or
    PL/SQL Expression or Function
    and then actual source is set against:
    Default:
    Unsure as to how to actually set the value of P50_APP which is in session to the individual tabular column mentioned above.
    FYI, I have tried selecting for Default Type: Item (application or page item name) and then specifying for Default:&P50_APP. as well as Default Type:PL/SQL Expression or Function and specifying for Default: :P50_APP but to no avail.
    Tony.

  • How to display struts form list values?

    HI,
    How to display struts form list values?
    I am having master and child data.
    I can set list values master and child in action class.
    How to display the master and child data in struts jsp form.
    <logic:iterate id="result" name="listofEmployees" >
    <td ><bean:write name="result" property="id"/></td>
    <td ><bean:write name="result" property="name"/></td>
    <td > <bean:write name="result" property="list"/>  </td>
    </tr>
    </logic:iterate>Here I am displaying master data succesfully.
    How to iterate values of <td ><bean:write name="result" property="list"/></td>in action class i added bean class to this list.
    how to iterate this list with java bean and display my child data
    Thanks
    sai

    Struts 1 or 2?
    I guess 2 'cause you're just talking about Action, without mentioning the Form.
    In STRUTS 1 it goes like this: forward to the page and use logic:iterate tag. Don't know about STRUTS 2, but It shouldn't be too different.
    bye.

  • "How to forward from a struts form to a login page?"or "how to connect form

    Can Any boby please let me know
    "How to forward from a struts form to a login page?"or "how to connect form to login session id"?
    Thanks
    Shailajakrishna

    I believe I can not use a
    request.sendRedirectURL("....") in which I would
    encode all my parameters, because:Righto. This is a bit tricky.
    Basically, you have two options, and both of those are a little nasty.
    1) You could use and intermediate JSP page. Just dispatch you request to that page, use the attributes to construct a form with hidden fields, and use Javascript to POST that form to your intended URL on the document's BODY onload event. Would work, but wouldn't be pretty and requires you to use JSPs and Javascript. Still an idea.
    2) This is something that I wouldn't recommend. Open a socket to the URL you you want to post your data. Manually construct a HTTP POST request, encoding your parameters into the headers. Read and parse the response & modify your HttpServletResponse object accordingly.
    Take a look at i.e. http://javaalmanac.com/egs/java.net/PostSocket.html?l=new for some pointers.
    I'd go with item #1.
    For my own edification, I'd be also interested in
    knowing why such a function does not exist in the
    current httpServletRequest api.I suppose it's a little out of scope. Servlets were ment to interoperate inside one container, not across domains and different implementations.
    I'm guessing I must be missing something fundamentals
    maybe?No, you're not.
    .P.

  • Nesting a BC4J JSP data tag within a Struts tag?

    Has anybody tried nesting a BC4J JSP data tag within a Struts JSP tag? I can't get it to work. For example,
    <logic:equal name="sort" value="<jbo:ShowDefinition datasource='ds' dataitem='CustomerName' definition='ColumnName' />">
    blah blah blah
    </logic:equal>

    Try using single quotes in the value=' ' and double quotes in the jbo tag usage.

  • Printing a Oracle PDF Report from within a Oracle Form on Linux

    Is there a command I can use in Oracle Forms to invoke a shell script to open a PDF output report stored on a physical location on the Linux server and print it to the printer?
    What I'm currently trying to do is send a Report called within Oracle Forms 10g to "DESTYPE=FILE DESFORMAT=PDF DESNAME=directory/filename.pdf". I'm storing all the information about the file and printer information prior to it being run with the RUN_REPORT_OBJECT. What I want to happen is as soon as it finishes generating the file, I want (behind the scenes) is it to locate the file, open, and print it automatically, but never show the output to the user on the screen.
    I know with the "DESTYPE=cache DESNAME=filename DESFORMAT=PDF" that it puts the info in the Reports Server / Cache directory, but also opens it in a separate browser window of which you can select the printer at that point. I don't want to do that in this option.
    I previously tried to use the "DESTYPE=printer" option but, the issue with it has to deal with fonts. I do not want to store fonts on every printer, given the different types of printers our users have. I can print to the printer but the fonts are all messed up so, not an option.
    So, basically I'm trying to replace that option with generating to a PDF, then I don't have to worry about fonts, since I have them all working, then I can just open the PDF file on the server and send to the printer. I was wondering if that is an option available in Oracle Forms when calling reports. I figured that when someone sends the option of "DESTYPE=printer" that it must be calling some shell script on Linux that handles this. I'm just not seeing it.
    Any help is appreciated.
    Chris

    Ok, one final question because I want to see how far this can go.
    Can I issue this command via the HOST inside the form? Basically I'm telling it to open and send the file to the printer. The vFileName is the directory/filename stored on the Linux Server. I can execute this command on the command line of Linux and it works
    HOST( 'lpr -P gt-ybs-ps /u11/app/as10g/tools/web/html/pc_rp00120100210035258.pdf');
    I promise this is my last quesion.
    Chris

  • Assigning java script array to a variable in struts form class

    Hi,
    I am trying to send a javascript array of string from jsp to struts action form.
    I have constructed a javascript array and assigned it to the form variable. But iam not able to access the variable in Action form. :( please let me know as to how i can send a string array in javascript to action form?.
    JavaScript
    var scriptarray = new Array();
    // code for populating the array
    document.MyForm.javaArray = scriptArray;
    document.MyForm.action="MyAction.do?dispatch=handlerMethod";
    document.MyForm.submit();

    var input = document.createElement("input");
    input.setAttribute("type", "hidden");
    input.setAttribute("name", "bla..bla");
    input.setAttribute("value", "bla..bla");And in addition to that.. Google is still alive

  • How to use coherence-web with a struts form bean

    We are trying to switch to Glassfish 3.1 but when we switch the persistence-type from "replicated" to "coherence-web" our struts applications start failing.  The first time we try the application the page loads.  But all calls from then on end in error.  The form bean is called FbCustomer.  Any help is greatly appreciated!!  Here is the error....
    WARNING: StandardWrapperValve[action]: PWC1406: Servlet.service() for servlet action threw exception(Wrapped) java.io.IOException: readObject failed: java.lang.ClassNotFoundException: rav.einvoice.web.forms.FbCustomer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
        at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:66)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)ClassLoader: java.net.URLClassLoader@695f18fe
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)Caused by: java.io.IOException: readObject failed: java.lang.ClassNotFoundException: rav.einvoice.web.forms.FbCustomer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:623)
        at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:66)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
        at com.tangosol.coherence.servlet.OptimizedHolder.deserializeValue(OptimizedHolder.java:233)
        at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
        at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
        at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
        at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.getAttribute(CoherenceWebSession.java:461)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionFacade.getAttribute(CoherenceWebSessionFacade.java:87)
        at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:777)
        at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:864)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:761)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1050)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:724)ClassLoader: java.net.URLClassLoader@695f18fe
        at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2225)
        at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)    ... 38 more

    Could you share with is the entire stacktrace?
    It seems that your domain classes are not being founded by the classloader, and this could be a consequence of a lot of things, but in general, it is a classloader issue. Your classloader is broken by some reason. Check if dependencies are well solved, and check if there are some NoClassDefFoundErrors in the stacktrace. Sometimes when the classpath is wrong, the entire classloader brokes generating strange behaviors like this.
    Also review the steps necessary to deploy Coherence*Web on GlassFish: http://docs.oracle.com/middleware/1212/coherence/COHCW/glassfish.htm#COHCW357
    Remember for example that, different from WebLogic 12.1.2, you need to deploy coherence.jar and coherence-web.jar at your package deployment.
    Cheers,
    Ricardo Ferreira

  • Submit Button in a Struts Form

    Hallo,
    in a fom I have 2 submit buttons the Value of the first is "new" and the secound is "Edit"
    who can one get in the Action class whicht button has klick the user
    <html:form action="/SubmitUserSelection">
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr height="30">
         <td width="95"><html:submit property="submit" value="New"/></td>
         <td width="95"><html:submit property="submit" value="Edit"/></td>
    <tr>
    </table>
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws Exception {
    thanks

    http://struts.apache.org/userGuide/building_controller.html#action_form_classes
    make sure you add a field and setter getter for your submit button

  • Error referencing a Struts-Form element from a JavaScript function.

    As shown below, when referencing the form element named 'custRegion', from the JavaScript function, I get an error msg - document.forms[0].custRegion has no properties.
    It appears that this form-element, which also is present in the logic tag is not visible - is it because I'm referencing it incorrectly...
    <SCRIPT> function setRegion() { var theRegion= 'Western'
    document.forms[0].custRegion.value=theRegion; } </SCRIPT>
    <logic:iterate id="customer" name="customerForm" property="customers" >
    <html:text name="customer" property="custRegion"/>
    <html:select name="customer" property="custState" size="1" onchange="setRegion()">
    <html:option value="1"> California </html:option>
    <html:option value="2"> Arizona </html:option>
    </html:select>
    </logic:iterate>

    Here's a quick example of what may help you. It simply disables the select box and slides in a new text box. Nevertheless, it shows you that you accessed a struts property by name.
    struts code:
    <html:select property="customerRegion">
            <html:option value="-1">Unknown</html:option>
            <html:option value="0">Western</html:option>
    </html:select>
    //quick & dirty textbox for testing.  you'll probably want <html:text ... here instead.
    <input type="checkbox"
           onclick="disableSelectAddTxt(document.YOUR_FORM['customerRegion'], this.checked)" />
    Check box to replace select pull-down  
          <div id="setTBox"></div>javascript:
    function disableSelectAddTxt(selectBoxName, disableIt)
        var setTBoxName = selectBoxName;
        //alert('You passed me ' +setTBoxName+ ' and' +disableIt);
        selectBoxName.disabled = disableIt;
        var setTBox = document.getElementById("setTBox");
        if (disableSelect == true) {
            setTBox.innerHTML = "<input type=\"text\" name="+setTBoxName+ "size=\"10\">";
        if (disableSelect == false) {
            setTBox.innerHTML = "";
      hope this helps.

Maybe you are looking for