How call the jsf page from the JSP page

i have exisitng struts application and recently it intigrated with jsf .

now i want to call the jsf page /redirect to a jsf page by clicking the link from the existing Jsp Page.

Plz sugest me the possible solution ?
bowebellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

a_bCommented:
You can call the jsf page with the direct url provided you have the correct extension as you specified in the faces-config.xml
0
bowebellAuthor Commented:
i want to pas the parameters to from the jsp page link also how can i do that ?
0
bowebellAuthor Commented:
some request parameter kind
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

a_bCommented:
Can you place the parameter in the request and then fetch it at the jsf/backing bean?
0
bowebellAuthor Commented:
How to fetch in backing bean can you plz provide some smaple code .....i am new to jsf...

thanks a lot.
0
a_bCommented:
Link - "http://localhost:8080/test/a.jsf?id=1


In backing bean -

HttpServletRequest  request =(HttpServeltRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
String value=request.getParameter("id");
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bowebellAuthor Commented:
Thank you very much
0
bowebellAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.