how do I pass input values from a html page to a jsf page

hi,

In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0

how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.

pls,help me,very urgent

thanx in advance

[367 byte] By [javamnr948a] at [2007-11-27 10:39:19]
# 1

Simplest way is to rewrite html page into jsf page.

You can use session bean in your managed bean like this:

import javax.naming.Context;

import javax.naming.InitialContext;

public class ManagedBean {

private Context ctx;

private Object res;

// session bean interface

private Service service;

public ManagedBean() {

try{

ctx = new InitialContext();

res = ctx.lookup("Service");

service = (Service) res;

}

catch(Exeption e){

}

}

}

Message was edited by:

m00dy

m00dya at 2007-7-28 19:00:28 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...