0

I have JSP page with this code :

<f:verbatim><%=printPassedParam(request)%></f:verbatim>

printPassedParam returns String type. (it return some html tags)
I wanna to migrate to JSF2, how could I replace <%= in xhtml page ?

Thanks in advance

soheilz92
  • 127
  • 2
  • 19
  • Looks like you need a primer in basic JSF. Read [this](http://stackoverflow.com/tags/jsf/info) first – kolossus Apr 23 '15 at 17:43

1 Answers1

0

I did it just by using "h:outputText" like this. It's working :)

<h:outputText escape="false" value="#{page.beanName.printPassedParam()}"/>
soheilz92
  • 127
  • 2
  • 19