Redirect Causing loss of Prameter and Attribute Values

Hello I am new to JSP and I have a few questions regarding the same .

I am using (JSf-struts) for a web application in which I redirect a page (in the config class) .I am not able to access param/attribute values in the action class after redirection.

Does redirection cause the loss of param values , if so what should be the remidy
micro_learnerAsked:
Who is Participating?
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
one simple thing you can do is to uses sessions set the param/attribute  values in session and use them.
using session.setAttribute() or session.setParameter() and there getters suitably.

Thank You.
0
 
micro_learnerAuthor Commented:
Could you please show me an example where I can set attributes for session variables in the JSF page
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.