How to integrate Struts & JSF ?

Hi all,
How to build an application using Struts 'framework' and JSF ? (Example please)

A good place to start is the Struts-Faces integration library:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
It supports the use of JSF components in a Struts-based application. If you already have a Struts application then this library would be useful.
Justyna

Similar Messages

  • Question about how to integrate struts web application into Weblogic Portal

    hi, I'm using Weblogic8.1 Portal and workshop to integrate my existing struts web applications. I know that the struts web application can be imported and integrated as a portlet. But I'm not sure how to integrate the corresponding EJB module into portal?
    any help appreciated!!

    should be simple...
    copy all the jpfs and other classes appropriately into a new portal app.
    Create a new Java Page Flow portlet.
    That should be it.
    The major thing to watch for is how your navigation etc change.
    Kunal Mittal

  • How to Implement Strut Tiles  Framework in JSF

    Hi
    I am new to JSF tried to implent struts tiles in jsf 1.2 but i am facing some problm.
    is any one have ideas about how to implementing struts tiles framework in jsf??....
    Cheers
    Sekar M

    Hope the below URLs should answer your question
    [http://www.jroller.com/HazemBlog/entry/how_to_use_struts_tiles]
    [http://www.ibm.com/developerworks/library/j-integrate/]
    [http://www.laliluna.de/blog/2007/02/28/struts_tiles_jsf_myfaces_migration_or_integration.html]

  • Need Information about  how to integrate with Struts

    i need information/sample code for how to integrate flex with
    jsp/struts.
    please help me

    Hi Dimitri,
    I am looking for 820,824 for ANSIX12 format.
    And i guess SAP has provided example mappings only for 810,830 and 850.
    I am unable to see the example mappings provided by sap for 820/824 in B2B mapping toolkit.
    Is there any way or place to find the example mappings for these formats?
    Regards,
    DInesh Male

  • How to integrate Value List in to Spring

    Hi All,
    I am new to both Spring Frame work and Value List Framework.I want to know how to integrate the Value List in to Spring Framework.Mainly i want to know from where i can call the DAO from Value List.Can anybody help me by providing the sample examples with the description about the entries we need to make in applicationCopntext.xml etc.Please note that i need the application which should involve JSP as the View and Value List to coonect to DAO with the Spring FrameWork.I don't want to include any other framework like Struts in to that Sample Application.It will be really helpful for me if u send me the sample source code.

    Pardon my ignorance, if I checked something wrong in the BIP documentation but that web services part require some SQL queries to be written right? We are not supposed to make our application so complicated. I guess, if I only add jars, then BIP code would work just like simple POJOs. Not sure
    Will let you know once I will solve this problem.
    Thanks !

  • How to integrate FOP into C# solution

    hello i work with VS2008 C#.
    and i have fop-0.95beta witch make a pdf files from XML and XSL.
    i want to know how to integrate fop into my solution, and how to work with C#.
    thanks a lot

    quangcuong wrote:
    as soon as possibleIn the future, don't say it so. Putting pressure is rude. You will either be ignored, or it will only going to take longer before you get an answer. [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html].
    Back to your question: just put it in your jsp/xhtml page. Read its documentation what parameters it sends along the request and then catch them all in the JSF backing bean. You can either use ExternalContext#getRequestParameterMap() in the backing bean or use managed-property entries in the faces-config.xml to preset the properties of the (request scoped) managed bean after its creation using #{param}.

  • How to set up JSF Development  Platform

    Hi,
    I want to develop jsf web applications, custom components.
    Requirements ?
    1- Eclipse version ?, jsf plugins
    2-Exadel version ?
    3-TomCat version ?
    4- mySql version ?
    5- System requirements ?
    How to integrate these tools ?
    Any idea, document
    thanks

    This is what I use.
    1- Eclipse version ?, 3.1
    2-Exadel version ? 3.6
    3-TomCat version ? 5.0.X
    4- mySql version ? 5.0.X
    5- System requirements ? I use a dell 610 laptop with a GIG or RAM
    30Gig Hd and a 1.8 GHZ Mobile Pentium.

  • How to integrate deployed Web Services and Portlets

    Hi All,
    I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
    Please, provide some useful links or material, if anybody has any idea about this.
    Thanks in advance.
    Praphul

    You can consume a Web service from a JSF page for example using the ADF Web service data control:
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
    http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html

  • Life before struts, jsf

    Hello,
    I wanted to start studying struts but before actually diving into it, I also wanted to know how life was before struts, jsf etc.
    What I learnt:
    1. The registration form is a simple html form with its action as "register.html"
    2. The controller servlet creates a hashmap of all actions as keys and handlers as values. register.html has a corrosponding RegistrationHandler
    3. RegistrationHandler provides with the view.
    4. The view is a jsp page with a useBean that populates the bean. The bean class has a method that stores the data into database which is called from the view.
    So,
    View is the jsp page
    Controller is the Servlet
    Model is the bean
    I just wanted to know whether I am right with MVC or not. If right, where does struts, jsf fit in and where do they provide the flexibility.
    regards,
    vijay.

    The way to go forward is to use JSF both for the view and the controller layer.
    Mixing the two usually doesn't produce good results.
    The JSF controller layer is more advanced than the old Struts framework and is the standard in JEE 5.0 - so you should definetly start looking into developing new applications with this framework.

  • How to structure a JSF application (EAR/WAR/JAR)

    Hi All,
    How do you recommend I should structure a JSF application in terms of EARs, WARs and JARs?
    Let me set the context for you: I have a fairly large project which consists of a number of sub components. Each of these sub components are JSF applications in the sense that they have JSF pages connected to each other. So, for instance, I have a company management sub component and a product management subcomponent. Most of these sub components share some Java libraries and/or entities.
    Because of this I decided to have each sub component contained in its own WAR, with no universal libraries in its lib folder, and to then add these WARs to an EAR with all the library JARs in the EAR's lib folder, as so:
    EAR
       |_ component1.WAR
       |_ component2.WAR
       |_ lib
             |_ sharedlib1.JAR
             |_ sharedlib2.JARUnfortunately I'm having more problems than I hoped I would with JSF with this setup. An alternative I have is to create one gigantic WAR which contains all the library archives and then to only deploy this WAR. Although this would probably work, it destroys the nice seperation I had between sub components, where I could for instance just remove the one WAR from the EAR if it was giving problems. That structure would look something like this:
    WAR
       |_ <WebContent>
       |_ WEB-INF
                 |_ classes
                           |_ <JSF classes>
                 |_ lib
                        |_ sharedlib1.JAR
                        |_ sharedlib2.JARFinally, I have a third option where I add all the libraries required by a WAR to its lib folder and I have no shared libraries in the EAR's lib folder. The disadvantages are of course that the EAR will be huge as JARs get duplicated unnecessarily, and I'm not sure that this won't cause conflicts. The structure would look like this:
    EAR
       |_ component1.WAR
                        |_ WEB-INF
                                  |_ lib
                                        |_ sharedlib1.JAR
                                        |_ sharedlib2.JAR
       |_ component2.WAR
                        |_ WEB-INF
                                  |_ lib
                                        |_ sharedlib1.JAR
                                        |_ sharedlib2.JARI believe the first way to be the best, but I'm struggling getting JSF to work like I expect (see [http://forum.java.sun.com/thread.jspa?threadID=5288069|http://forum.java.sun.com/thread.jspa?threadID=5288069] ). What are your suggestions?
    Thank you,
    Ristretto

    Dear hiwa,
    thank you very much for your response. I have had a look into the book and found out that it provides indeed half of the solution i need. Now I can generate a JSF response to my non-JSF request which has been issued by the main application.
    Unfortunately this is only the first half of the solution, because the JSF framework of the child application will still render URIs into HTML-forms (e.g. for the <f:view>) that point to the faces servlet and not to the non-JSF servlet of the main application.
    I'll try to solve this problem by providing my own ViewHandler that provides other URIs. But I still don't know how to encode the view ID into the generated HTML-form as a hidden field.
    After all, I am really surprised at how difficult it is to integrate the JSF framework into a non-JSF application. I don't think this is a very uncommon scenario. In my case, we integrate into an existing large application of our customer in order to extend his application with our product. I would expect this to work out of the box with JSF (sigh).
    I will post my progress in this matter if I found some interesting solution.
    Bye, Marcus

  • How to integrate web based application to windows based application

    Hi,
    Experts,
    we developed web based application in this when we raising
    invoice document after adding this we need to updated Amount
    in integratee SAP B1 then that Amount we need Update The
    Amount  in OACT Table  how we can Update in Amount Field
    in OACT Particular Account Code. plz Guide  me. and how to
    integrate web absed application to windowbased application
    plz help me.
    Regds,
    Samapth.

    Dear sampathdevunuri kumar,
    You may develop the addon based on SDK DIServer for required function.
    The DI Server is an extension of the DI API and supports all its objects. It is intended for high-volume data integration, where numerous client connections must be managed simultaneously and optimized for speed. It is also suitable where Web-services architecture is preferred.
    Please refer to SDK help and SDK DIServer sample for more information.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • How to integrate BW Hierarchy into Webi?

    Hi Everybody,
    I need to create a report based on 0FIGL_V10_Q0001 in Webi and this query has a hierarchy and i have created the hierarchy from the designer itself. In webi, when i tried to pull 1 of the hierarchy dimension with key figure, it shows no data but if i remove the key figure i can view the information. May i know what went wrong with it or do you have a details on how to integrate BW hierarchy into Webi?
    Your assistance on this is greatly appreciated.
    Thanks
    Best Regards,
    Hizam

    Hi,
    use the following link:
    https://sapmats-us.sap-ag.de/download/download.cgi?id=SOTBBWVP5VS0BRNUJFQWYL5A6L3GXGPDJ59UKUDZMA1UVE1WOQ
    (should work properly in about 10 min)
    - merge the regsitry file to your BusinessObjects Server
    - Restart the Services via a restart of the Server Intelligence Agent
    - re-run the report with keyfigures
    You should see 2 logfiles being created on the C:\ root folder
    attach the logfiles to this message (do not copy past the content).
    I assume the underlying BI query works fine.
    Ingo

  • How to integrate bing map for including or displaying multiple locations at the same time

    how to integrate bing map for including or displaying multiple locations at the same time

    Have you aware of the geolocation field that's been introduced with SharePoint 2013?  You can store location data within a list and then integrate this within Bing.  The second tutorial on this Bing team blog will show it well.
    https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to populate a jsf table with an array?

    I have a JSF project where I'm using a table and I would like to populate that table with some custom information without using a database. I'm trying to write my own data provider. I was wondering if anyone knows how to populate a jsf table using an array. Any help would be appreciated. Thanks.

    Hey thanks for replying. I'm not quite sure what you mean, but I am using a woodstock table in Netbeans. I would love to skip writing the data provider since I've never done that before, but I'm not sure how I would go about populating the table with a regular List or Model. I have populated a JTable with my own model, but never a woodstock table. They don't seem to work the same way. Thanks for the help. I've spent hours trying to figure this out.

  • Problems concerning "How to integrate MS Exchange Server into SAP EP"

    Hi,
    I want to realize the scenario in "How to integrate Microsoft Exchange Server into SAP Enterprise Portal" from the Microsoft-Website.
    We´re using SAP NetWeaver 04, SAP NetWeaver Portal 6.0.14.0.0 and KMC 6.0.14.2.0 and Microsoft Exchange Server 2000 SP3.
    I have created (as described in the document) the HTTP-System and a WebDAV RM. But the repository doesn´t appeaer in the KM-Content-iView.
    I checked the Component Monitor and got this error-message for "servers" (it was marked with a red square)
    last-error-3   2006-05-16T13:12:11Z: PROPFIND /public: 401 Access Denied
    last-error-4   2006-05-16T13:15:04Z: PROPFIND /public: 401 Access Denied
    last-error-6   2006-05-16T13:26:35Z: PROPFIND /public: 401 Access Denied
    errors   8
    last-error-2   2006-05-16T13:12:10Z: PROPFIND /public: 401 Access Denied
    requests   8
    last-error-7   2006-05-16T13:26:35Z: PROPFIND /public: 401 Access Denied
    bytes-per-second   0
    successes   0
    response-average   194
    last-error-1   2006-05-16T13:11:55Z: PROPFIND /public: 401 Access Denied
    last-error-0   2006-05-16T13:11:54Z: PROPFIND /public: 401 Access Denied
    last-error-5   2006-05-16T13:15:05Z: PROPFIND /public: 401 Access Denied
    failures   0
    Any idea, what´s wrong? And how to solve the problem.
    Thanks for help,
    Sven
    Message was edited by: Sven Keller

    Hi James,
    How can I check the KM ACLs/Security Zones?
    I had a look on "System Administration - System Configuration - Knowledge Management - Content Management - Repository Managers - Security Manager - WebDAV ACL Security Manager".
    There was just "WDAclSecurityManager" and the Permission Rendering Class was "com.sapportals.wcm.control.acl.ResourcePermissionControl".
    Or where do I have to look for the ACL?

Maybe you are looking for

  • Geting an error in alv reporting

    HELLO EVERYONE I AM A BEGINNER .  THIS IS THE PROBLEM AM GETTING IN MY PROGRAM.PLZ HELP ME WITH IT. ERROR MSG, "THE DATA OBJECT 'WA_FCAT' DOES NOT HAVE A COMPONENT CALLED 'FIELDNAME ". FOLLOWING STATEMENT HAVING THE PROBLEM FIELD CATLOG   WA_FCAT-FIE

  • Translate Site English and French in ColdFusion

    I am on this project where we need to allow users from French speaking countries to be able to view the webpages and surf the site in French. I am kind of lost on the best appraoch to get this done. Please any one has an idea of where to start? The s

  • Export Reference Movie takes forever!

    XDCAM EX project that is only 17 minutes long is taking 3 hrs to export a reference movie. Why? I've rendered everything in the sequence but it still seems like it needs to re-render everything in order to export a simple reference movie and sometime

  • Need a script to make layers from alpha channels

    Hello, I author interior room scenes with Scene7 Image Authoring Tool. In my S7 image document, I have to make a lot of individual  masks to define transparent regions that will, at a later point, render products, such as flooring, tiles, paint or ca

  • How can I move media files off C drive?

    I have 29 GB of movies and TV shows in my iTunes media files on my C drive.  This is impacting performance of some other programs such as photoshop.  I've changed to location for future downloads to the F drive but still need to free up space on the