Mixing in JSP page

Hi,

I want to pass a JSP value to JSF.

I tried this code, but it does'nt work:

<% String str = "1234" ; %>

<h:commandLink action="#{manager.editMySetup}">

<f:param name="paramname1" value = "<%= str %>" />

<h:outputText value="Submit" />

</h:commandLink>

Anyone has an idea?

[367 byte] By [SwingIta] at [2007-11-27 8:23:31]
# 1
Anybody knows the answer?
SwingIta at 2007-7-12 20:12:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Can you give some more information? What about it doesn't work?Does it generate the page properly?Does it generate the hyperlink with a parameter?Does it throw an error? What error?
evnafetsa at 2007-7-12 20:12:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
it writes:javax.servlet.ServletException: For input string: ""which means it does'nt gets anything...
SwingIta at 2007-7-12 20:12:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Sorry, the exception is:com.sun.faces.taglib.jsf_core.ParameterTag cannot be applied to (java.lang.String)
SwingIta at 2007-7-12 20:12:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...