• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 and JSF integration problem

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At present i am working on a POC (Proof of Concept) in which i am using struts2 as a controller while JSF is being used as a view.
I embedded the Rich Faces components in the JSF. The problem occurs in my case is that whenever JSF page is going to display it does not show the RichFaces components.
Can anyone please provide some application that uses the above concepts?
 
Ishwar Noida
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an application that uses Struts2, Spring and JSF. Spring is responsible for creating Action instances. Struts2 is working as a controller while JSF is used as a view only. In JSF, i have embedded some richfaces components. But when i execute this application, it shows only text and does not show the richfaces components in the UI. and also i got the following errors on the console:




Web.xml



struts-jsf.xml



struts.xml



applicationContext.xml



HomeAction.java



Also the application does not recognize the request and session object used in the HomeAction.java.

I have deployed all the required jars in the build path like richfaces jar, struts2-jsf plugin, struts2-spring plugin, jsf-impl etc.

Can anyone suggest me after going through the above code that where i am wrong?


 
Ishwar Noida
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me out.
What should I do something else to make it works?
Thanks!!!
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic