Binding JSF components and servlets to eachother

Hi, I have some JSF components in my jsp page like this one:
<h:form rendered="true" id="myForm">
               <h:selectOneListbox>
                    <f:selectItem itemdisabled="false" itemlabel="item1" itemvalue="1"></f:selectItem>
                    <f:selectItem itemdisabled="false" itemlabel="item2" itemvalue="2"></f:selectItem>
                    <f:selectItem itemdisabled="false" itemlabel="item3" itemvalue="3"></f:selectItem>
               </h:selectOneListbox>
          </h:form>and I have this servlet:
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class myServlet extends HttpServlet {
     public myServlet() {
          super();
     public void destroy() {
          super.destroy(); // Just puts "destroy" string in log
     public void doGet(HttpServletRequest request, HttpServletResponse response)
               throws ServletException, IOException {
     public void doPost(HttpServletRequest request, HttpServletResponse response)
               throws ServletException, IOException {
     public void init() throws ServletException {
}Could you please help me:
*1.* How to populate my listbox using my servlet?
and also
*2.* How to get the selected item in my servlet every time that user change the selected option of list box?

Please don't crosspost topics over all places. Stick to one topic.
Continue here: [http://forum.java.sun.com/thread.jspa?threadID=5299291]

Similar Messages

  • Communication between JSF components and servlets

    Hi, I have some JSF components in my jsp page like this one:
    <h:form rendered="true" id="myForm">
                   <h:selectOneListbox>
                        <f:selectItem itemdisabled="false" itemlabel="item1" itemvalue="1"></f:selectItem>
                        <f:selectItem itemdisabled="false" itemlabel="item2" itemvalue="2"></f:selectItem>
                        <f:selectItem itemdisabled="false" itemlabel="item3" itemvalue="3"></f:selectItem>
                   </h:selectOneListbox>
              </h:form>and I have this servlet:
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class myServlet extends HttpServlet {
         public myServlet() {
              super();
         public void destroy() {
              super.destroy(); // Just puts "destroy" string in log
         public void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
         public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
         public void init() throws ServletException {
    }Could you please help me:
    *1.* How to populate my listbox using my servlet?
    and also
    *2.* How to get the selected item in my servlet every time that user change the selected option of list box?

    Where did you learn about JSF components? That same book/tutorial/document should also cover backing beans.
    You may find under each the following tutorials useful to get some more insights in JSF:
    Java EE tutorial part II chapter 10: [http://java.sun.com/javaee/5/docs/tutorial/doc/bnaph.html]
    JSF + Eclipse + Tomcat: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
    Follow the JSF lifecycle: [http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html]

  • Toplink xml binding session.xml and servlet

    I made a project with toplink-jaxb mapping
    with simple pojo object it works fine.
    I made another project with servlet
    and the same session.xml and java classes
    but when my process start it throw an exception :
    jaxbexception : Provider oracle.toplink.ox.jaxb.JAXBContextFactory could not be instantiated:
    It is like the process could not read the session.xml files, but this file and two xml file for the mapping are in the classpath (in WEB-INF/classes).
    Have i to put these files in another place ?
    Thanks.

    Hi,
    thank you for your response but
    here is the code :
    javax.xml.bind.JAXBContext jaxbContext = javax.xml.bind.JAXBContext.newInstance(
    "fr.cnav.cramse.pgpe.contactsnationaux"),this.getClass().getClassLoader());
    but i still got the same exception :
    05/03/01 08:24:33 exceptionProvider oracle.toplink.ox.jaxb.JAXBContextFactory could not be instantiated: java.lang.NoSuchMethodError: oracle.toplink.publicinterface.Session oracle.toplink.tools.sessionmanagement.SessionManager.getSession(oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader, java.lang.String, java.lang.ClassLoader, boolean, boolean)
    I have also a stange message in the log window in jdev :
    Cutting log (size: 101767, max: 100000)Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Cutting log (size: 101866, max: 100000)Error cleaning up log: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISeekableStream.seek]
    Thank you for your help.

  • JSP Syntax for binding JSF components

    I am trying to bind to a map with session scope and the key into the map is
    a string value. It seems that this binding does not work as the key is not found
    before rendering.
    <f:selectItems id="listbox1SelectItems" value="#{idGeneratorBean.myIds['key']}"/>
    The key is a hidden field on the page, and if hard-coded in the above, it will find that data.
    I've seen other postings where the binding is done in the component's initialization code.
    If it is done that way, what should the jsp binding look like?

    Please don't crosspost topics over all places. Stick to one topic.
    Continue here: [http://forum.java.sun.com/thread.jspa?threadID=5299291]

  • Mixing Non JSF and JSF components

    Hi All,
    I wanted to mix non jsf and jsf components and I able to do this
      <f:verbatim>
                                    <input type="radio" name="selectBidder" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>But the problem is bean value is not getting binded.
    The rendered output is containing same string i.e.
    value="#{currentRow['BID_ID]}"
    How to bind bean value to non jsf component.
    And No Javascript please
    Thanks
    Sudhakar

    Basically I am trying to implement something like below
    <h:dataTable binding="#{consumer$Select_Provider.dataTable1}" headerClass="list-header" id="dataTable1"
                            rowClasses="list-row-even,list-row-odd" style="left: 48px; top: 48px; position: absolute"
                            value="#{consumer$Select_Provider.dataTable1Model}" var="currentRow">
                            <h:column binding="#{consumer$Select_Provider.column6}" id="column6">
                                <h:outputText binding="#{consumer$Select_Provider.outputText11}" id="outputText11" value="#{currentRow['USER_LNAME']} #{currentRow['USER_FNAME']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText12}" id="outputText12" value="Bidder"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column1}" id="column1">
                                <h:outputText binding="#{consumer$Select_Provider.outputText1}" id="outputText1" value="#{currentRow['BID_PRICE']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText2}" id="outputText2" value="Bid Price"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column3}" id="column3">
                                <f:verbatim>
                                    <input name="selectBidder" type="radio" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText6}" id="outputText6" value="Select Bidder"/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>Thanks
    Sudhakar

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Adding Components And There Value Bindings  Programmatically

    Dear Friends ,
    In One of assignment I have requirement of creating JSF Components
    and There Value Bindings Programmatically
    on valuechange event of a SelectOneListBox I need to create some componenet and add them to a panelGrid...up to this it's okay I have already achieved this goal but my next big challenge is creating value bindings programmatically for those components...
    suppose I have created a textbox component in which user has to insert some text and that text I want to store in a database ..
    how to do that...?

    tht's simplest way ..I know but suppose
    my code is like this....
    public void buildComponenets(int selectedId) {
    ArrayList arrList = new ArrayList();
    arrList = objABC.GetDocumentParameter(selectedId);
    Iterator iterate = arrList.iterator();
    HtmlInputText htmlText;
    HtmlSelectBooleanCheckbox htmlSelect;
    HtmlOutputLabel htmlLabel;
    HtmlMessage htmlMess;
    int i = 1;
    ABC objABC= new ABC();
    while(iterate.hasNext())
    objABC = (ABC)iterate.next();
    String compType = objABC.getControlName();
    if(compType.equals("TextBox"))
    htmlText = new HtmlInputText();
    htmlLabel=new HtmlOutputLabel();
    htmlMess = new HtmlMessage();
    htmlLabel.setValue(objABC.getLabelName());
    htmlLabel.setId("lble"+i);
    htmlText.setId("txt"+i);
    htmlText.setImmediate(true);
    htmlMess.setId("message"+i);
    htmlMess.setFor("txt"+i);
    htmlText.setRequired(objABC.isValidationRequired());
    if(cotrolsPan.getChildren().contains(htmlText))
    cotrolsPan.getChildren().remove(htmlText);
    cotrolsPan.getChildren().add(htmlLabel);
    cotrolsPan.getChildren().add(htmlText);
    cotrolsPan.getChildren().add(htmlMess);
    if(compType.equals("CheckBox"))
    htmlSelect = new HtmlSelectBooleanCheckbox();
    htmlLabel=new HtmlOutputLabel();
    htmlMess = new HtmlMessage();
    htmlLabel.setValue(objABC.getLabelName());
    htmlLabel.setId("lble"+i);
    htmlLabel.setValue(objABC.getLabelName());
    htmlLabel.setId("lble"+i);
    htmlSelect.setId("check"+i);
    htmlSelect.setImmediate(true);
    htmlMess.setId("message"+i);
    htmlMess.setFor("check"+i);
    htmlSelect.setRequired(objABC.isValidationRequired());
    if(cotrolsPan.getChildren().contains(htmlSelect))
    cotrolsPan.getChildren().remove(htmlSelect);
    cotrolsPan.getChildren().add(htmlLabel);
    cotrolsPan.getChildren().add(htmlSelect);
    cotrolsPan.getChildren().add(htmlMess);
    i++;
    now How to create value bindings for these components

  • Flash Components and XML Binding

    I just ran through the XML binding Bike Trails tutorial about
    a hundred times. I can get that to work just fine. But when I try
    to work with my XML file, it keeps falling apart. I just don't get
    it! I've been working on it for 2 days and it's still not working
    right.
    For one, the bindings are not showing up right. I have 2
    combo boxes and then a final one I'd like to use to list the
    stores. Here's a link to basically what I'm trying to do:
    http://www.thinkseed.com/test/stores.html
    My bindings keep falling apart. I get null values all the
    time for the second drop box that's supposed to house the States
    (the one on the site is a fluke...I accidentally had the
    <store> node on a separate line instead of nested in the
    <state> node. No idea why that one sort of worked.)
    Here's an example of the XML code:

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • JSF 2.0: Composite Components and their ID

    I'm using Composite Components with JSF 2.0.
    Template:
    <composite:interface />
    <composite:implementation>
        <h:inputText id="text" />
    </composite:implementation>Template Client:
    <h:form id="form">
        <components:myComponent />
    </h:form>In the rendered result, the h:inputText's id will be "form:j_id1060595728_4b62ee3:text".
    How can I override that default ID?
    I tried to set an id attribute on composite:interface and composite:implementation, however, that doesn't have any effect.
    Using ui:debug, I found that the component with ID "j_id1060595728_4b62ee3" is a UINamingContainer.
    When using my own UINamingContainer implementation, i.e., ...
    <composite:interface componentType="util.jsf.UINamingContainerWithID" />
    @FacesComponent("util.jsf.UINamingContainerWithID")
    public class UINamingContainerWithID extends UINamingContainer {
         private String id = "foo";
         @Override
         public String getId() {
              return id;
         @Override
         public void setId(String id) {
              // this.id = id;
         public void setFooID(String id) {
              this.id = id;
    }... I can prevent the id from being set in setId(String), and h:inputText's id will be "form:foo:text".
    (I have tried to debug but the source code is slightly out of sync.)
    I also tried to add an attribute fooID to composite:interface and composite:implementation, with no effect.
    How do you work with Composite Components and their IDs?
    Thanks

    All composite components are NamingContainers. This is necessary to prevent ID collisions.
    In order to avoid a generated ID on a particulare composite component, specify an ID in the component
    within the using page:
    <h:form id="form">
        <components:myComponent id="c" />
    </h:form>So the client ID of the text component would be: form:c:text.

  • Jsf VS wcm servlet- combine JSF & WCM tags in the same page

    Hey all,
    I wanted to get to you a problem I've encountered and see if you can direct me.
    Note: I found a way to work around the problem, we will see later -
    but this will not bring me to full integration.
    The problem arises when I create a region\page template file in the ucm system and make use
    of - (Jsf component (for example: h: outputpanel.
    In this situation, there are two servlets in the web.xml file that mapping of
    url which comes.
    1. wcm site template servlet that maps tree placement (that is when I
    went in url to the servlet
    http://localhost/application-name/context-root/section1/index.html
    know to map the url to the template defined tree under the same
    section.
    2. jsf servlet - when i used jsf components.
    When I turn to the page for wood and is defined in the UCM, the jsf
    servlet does not handle the request and therefore I get an error: Can
    not find facesContext.
    The problem: Can we find a way to make 2 the servlets work together
    and perform this mapping for us? Is there a way or example of a jsf
    page which can be combined with the ucm system defined tree (this
    detail is important, because if I just set up a page in application
    and came back to it, not through the tree can I combine Jsf -It's
    important for me to do it in the form submitted by the link mentioned
    above).
    Note: I found a roundabout solution like I mentioned, working with the
    iframe as separate jsf pages and read them from a page in the system.
    While this solution meets the requirements but still ran into some
    combinations between the two issues resolved was not trivial.
    I'd appreciate it if somebody could help \ guide me to resolve the problem.

    Thanks a lot for your answers.
    I just want to clear my point, the real problem is when i want to define in my site's tree(at jdeveloper) page X for Section SX
    but page X should include jsf tags.
    When we defined page(region template) in section properties placeholder, meaning at the site's tree, the explorer will show the page as http://machinehost:7001/context-root-site/sectionX/index.html.
    Each page in the site tree will had this pattern, therefor when we add a jsf tags to our page there is a conflict between the servlets (Faces VS WCM)
    because that jsf servlet could'nt map this url to faces url and i got faces context Error.
    I am just trying to clean my point, so it's not relevant to contributor mode...
    i just want to know for sure that there is no way to define region template at site tree for section X with jsf tags.
    I will very glad to know yours opinion about my solution- working with iframe, meaning that the page at site tree will include iframe to jsf page which exsit in the application. this solution solved the conflict problem because i have now two pages.
    thanks you again,
    Regards
    Eran zizler

  • JSF components within jsf components programatic

    I am using the java sun pane_tabbed component on a jsf page and I want another jsf page to be the tab body. I tried to include another jsp page but that doesn't work. The include in the example something like
    <h:panelGroup>
    <h:outputText value="here is some info to display on tab "/>
    </h:panelGroup>
    It seems I just can't say
    <h:panelGroup>
    here is some info to display on tab
    </h:panelGroup>
    This remind me of servlet days where everything was out.println and why we came up with jsp in the first place and I figure there's got to be a better way.
    So what's the way? I understand I could make the inner html another jsf tag but thats overkill for what I am trying to do. Also I need the inner html to be treated itself like an entirely different page (like a component) so just to put outputText around everything just wouldn't work.
    So what's the way

    In addition.... I understand that part of the JSF concept is that the client can be many different devices and depending on which client different widgets get displayed. A way that that could still be true is that I register a components in faces-config.xml by specifying that it is a jsp page (with jsf components). Then a jsf tree is built with the widgets I have included on the jsp page. Then I specify that the renderer is a jsp page renderer which would mean for my application it would display the jsf page like I wanted with the components where I wanted them. Then if I want to render on for instance a swing application I then need to program a renderer which says how to display these widgets there.
    I'm pretty new to JSF but I'm hoping that I am on the right track here. There should be some way for non java developers to help with the creation of components I would think.

  • Dinamic JavaServerFaces components and navigation

    Hi all
    I'm planning the development of a portal based on JSF (Richfaces), and one of the problems that i'm facing is the dynamics.
    Portal is suposed to use facelets + richfaces, and what i want to do is according to a request access database and according add components to faces tree to be rendered.
    At first i was thinking to do this with a request bean, but since the bean is never called on jsf page directly I'm wondering if a PhaseListenner, Servlet filver or a Servlet could do the job (never understand the difference between them), on this case i should be able to access database and faces tree to add and components.
    Can u guys give some feedback on this issues please?
    Thanks in advance.

    Is there a way [to] bypass the validation but still save
    the state of the text components?After posting this I realized that this is a pretty stupid question, and not what I want to do.
    I do not want validation to be done for 'required' fields left empty during 'back' navigation. I want the navigation to go through without error messages.
    However, when they are not empty, I do want to save the component state for valid data (so I do want validation and more than just 'required' validation). I also want the 'back' navigation to go through and not be interupted by error messages for any invalid data. I do not care if the invalid data 'disappears' during 'back' navigation.
    Maybe another way to saying all this is:
    I never want 'back' navigation to be interupted by invalid or missing data. I always want 'forward' navigation to interrupted by invalid or missing data. And I only want valid data to be stored in the state of the page components.
    Is this possible (and not extreemly difficult) in Creator/JSF?

  • NotSerializable exception from JSF components

    Hi All
    I have a JSF application deployed in WAS in a clustered environment,
    The problem is , in clustered environment the session manager tries to write the session object , so that if one machine goes down the other can pick it up, now i get an Exception that the JSF components are not serializable. i dont know why is this happening.
    below is the Stack trace
    6/7/07 11:07:10:721 EDT] 000000ee SessionContex E Exception is: java.io.NotSerializableException: javax.faces.component.html.HtmlSelectManyListbox
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled Code))
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
    at com.ibm.ws.webcontainer.httpsession.BackedHashtableMR.handlePropertyHits(BackedHashtableMR.java(Compiled Code))
    at com.ibm.ws.webcontainer.httpsession.BackedHashtable.persistSession(BackedHashtable.java:2307)
    at com.ibm.ws.webcontainer.httpsession.BackedHashtable.ejbStore(BackedHashtable.java:2501)
    at com.ibm.ws.webcontainer.httpsession.BackedHashtable.storeSession(BackedHashtable.java:2143)
    at com.ibm.ws.webcontainer.httpsession.BackedHashtable.put(BackedHashtable.java:2776)
    at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.sync(DatabaseSessionContext.java:164)
    at com.ibm.ws.webcontainer.httpsession.SessionData.releaseSession(SessionData.java:289)
    at com.ibm.ws.webcontainer.httpsession.SessionContext.sessionPostInvoke(SessionContext.java:2860)
    at com.ibm.ws.webcontainer.srt.SRTRequestContext.finish(SRTRequestContext.java(Compiled Code))
    at com.ibm.ws.webcontainer.srt.SRTServletRequest.finish(SRTServletRequest.java:1359)
    at com.ibm.ws.webcontainer.srt.SRTConnectionContext.finishConnection(SRTConnectionContext.java:75)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:2041)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Any help is appreciated a lot...
    Thanks in advance

    I'm guessing that you have a session level backing bean that has a property that is bound to an HtmlSelectManyListbox instance via the binding attribute.
    You can address this in the following ways: 1) make the bean request scope; 2) make the property transient in the bean or 3) remove the binding. My first instinct would be 1), while 2) sounds quick and easy I suspect it will cause problems. 3) obviously requires some rewriting.

  • JSF Components are not being rendered - Websphere

    First, I don't mean rendered as in rendered="true'' What I mean is that a page I've created doesn't show any of the components rendered. Even while looking at the source, the HTML is not generated.
    Example: test.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib prefix="af" uri="http://xmlns.oracle.com/adf/faces" %>
    <%@ taglib prefix="afh" uri="http://xmlns.oracle.com/adf/faces/html" %>
    <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
    <f:view>     
         <afh:html>
         <afh:head title="CIAS Case Management"/>
         <afh:body >
         <h:form id="createRfiForm">      
         <h:commandButton id="button" action="#{summaryRfiAction.promptCreateNewRfi}" value="Create New RFI"/>     
    </h:form>
         </afh:body>
         </afh:html>
    </f:view>
    When viewed the page is blank. The url I goto is :9080/cias/secure/test.do
    However if I put "Hello World" anywhere (I put it under the af:outputText) it will show up, so I know that the faces-config-nav is working correctly (it maps the .do to .jsp in terms of the file). What I don't think is working correctly is the invocation of the FacesServlet. In web.xml I have this defined.
    <servlet>
              <description>JSF controller</description>
         <servlet-name>FacesServlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Requests handled by JSF -->     
         <servlet-mapping>
              <servlet-name>FacesServlet</servlet-name>
         <url-pattern>*.do</url-pattern>
         </servlet-mapping>
    Anyone with any thoughts? This works in tomcat (yay apache), but doesn't work when I use Websphere.

    Hi,
    I've the same problem using WepSphere AppServer V6.1.0.5 on Linux.
    Are there some solutions/ideas solving this problem?
    The Application runs on Tomcat, JBoss, Glassfish but not on WAS.
    SystemOut.log shows only this:
    [16.02.07 15:31:02:185 CET] 00000028 ServletWrappe I SRVE0242I: [application] [application] [index.jsp]: Initialisierung erfolgreich.
    [16.02.07 15:31:02:998 CET] 00000028 ServletWrappe I SRVE0242I: [application] [application] [login.jsp]: Initialisierung erfolgreich.
    index.jsp redirects to login.jsp.
    tia,
    Andreas

  • How to standardize the look & feel of different vendor JSF components?

    Hi,
    There are various JSF components created by different parties. For example, Tomahawk from Myfaces, ADF faces from Oracle, SUN components that provided in Java Studio creator. They look different.
    Can we standard the look and feel for these various components when we use them in a same project? so that it wouldn't look that different when the page is displayed to the end user.
    Please advise.
    Thank you.

    Hi,
    Can you be more specific how to achieve that using css? You mean the look and fee that we see is not an image?
    Have you seen how Oracle ADF face look & feel is like?
    How to change its look to what we have SUN offered in its Java studio creator 2?
    Please advise.
    Thank you.

Maybe you are looking for

  • PHP question related to preg_match_all since PHP 5.4 [SOLVED]

    Please let me know if a PHP syntax related question is not appropiate here. I am debugging an abandoned PHP 5.2.3 script from: http://outbreakmonkey.org/mythtv/csr0.3.php This is the part of the code with the problem. I believe preg_match_all has an

  • Eclipse hangs and the JVM terminates in a Swing app incorporating JavaFX

    Hi everyone, I have a situation that is driving me nuts. I am developing a Swing based application which is incorporating some JavaFX components,mainly the TableView and a few layouts. I have wrapped all the javafx components into a common control fo

  • Wrong overall result population in the query output

    Hi All, I have few issues with my query.. we have a query which gives  report about the brand name, brand element, brand group, netsales, cumulative sales and royality percentage. 1. the over all result for the Royality percentage is not getting calu

  • Quartz Scheduler in Oracle SOA 10g clustered environment

    Hi, I was able to successfully test the usage of Quartz scheduler in our Oracle SOA 10g dev environment. Our dev is single instance where as our Test and Prod are clustered. I would like to know if the scheduler works in clustered environment. I wasn

  • Setting up Service desk Management

    Hi, We have EP 6.0 SP14. We want to set up Service Desk Management with  solution Manager. Could any one guide the set up steps. Thanks in advance Pradnya