Posted: Fri Feb 22, 2008 11:46 am Post subject: Passing Parm From JSP to JavaBean?
Acolyte
Joined: 02 May 2006 Posts: 53
Hi All,
I'm trying to pass a parm to my java bean to tell it what environment I'm going after. If the user clicks the view history button for test, I want to pass a parm name of historyEnv with a value of TST. I have it set up in the JSP to do that. In the java bean, I have
private String historyEnv;
public String getHistoryEnv()
{
return historyEnv;
}
public void setHistoryEnv(String historyEnv)
{
this.historyEnv = historyEnv;
}
The I code the following to see if the value is passed and accessable;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum