Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/suresk/ on line 76

A lot of people (including myself) have run into some minor issues integrating Struts and JSF. The biggest issue is when you mix JSF tags and plain old HTML. Your JSF tags get rendered before everything else, which, needless to say, is not a terribly good thing. The good news is, this is fairly easy to fix - there are 2 options that I know of:

1) Wrap all your non-JSF content in [code lang=”java”][/code] tags. This, however, can get quite tedious and ugly if you have a lot of non-JSF content on your pages.

2) Download the HTML Layout Tag Library by Sergey Smirnov and replace all your non-JSF content with the proper JSF tags. The HTML library includes pretty much any HTML tag you’ll need. You can get it here.