• Post Reply Bookmark Topic Watch Topic
  • New Topic

How forward bean from one JSP to another  RSS feed

 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi for all,

I need to develop JSP page that forwarding javabean to another JSP page when when a user click some link. So how can I do that?

I tried this also but i couldn't make it to get attribute from the other jsp its returned null.
Please someone help me about this.
 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found solution by myself.

It's have to use session instead of request.
and in the requested JSP it's have to code-
and
then the returned attribute would not be null.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!