Hello,

This may be a basic question, but I've searched the archives on this to 
no avail. So here goes...

I'm working on making a page that uses a form to select whether a graph 
should be displayed as a bar or pie chart. My form looks like this:

<form:form action="InitGraph.do" method="POST">
         Select chart type:
         <form:select property="graphType">
         <form:options property="graphTypes"/>
         </form:select>
         <form:submit property="submit" value="Go"/>
</form:form>

What I want to do is have the form submit to itself, and then pass 
the graph type to an image tag in this manner:

<img border="0" width="500" height="400" src="graph.jsp?type=pie">

My question is, how can I access the graph type (which is a member in 
the graph form class) from the image tag? Would it be exposed as a bean 
property to the JSP page? If so, how to I reference it?

Thanks in advance.
-- 
Jason Wells
Web Architect
Xsilogy, Inc.
http://www.xsilogy.com/


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to