Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Daryl Butler   on Jun 20 In Java Category.

  
Question Answered By: Jonathan Harrison   on Jun 20

use a bean in application scope

i.e. <jsp:useBean id="global" class="com.mybeans.Global" scope="application"
/>
then any variables inside that bean can be seen in any jsp.
i.e. String str = global.getEmployeeName();

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Servlet/JSP Or get search suggestion and latest updates.


Tagged: