aspose file tools*
The moose likes Servlets and the fly likes obtaining the JSP Tag Attributes from a bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "obtaining the JSP Tag Attributes from a bean" Watch "obtaining the JSP Tag Attributes from a bean" New topic
Author

obtaining the JSP Tag Attributes from a bean

krishnan vs
Greenhorn

Joined: Jun 28, 2001
Posts: 2
I am retrieving values from a bean and trying to set those to the
attributes of a custom tag.
<mytag:textfield myFieldValue="abcd" />
Here instead of the string "abcd" ... I would like to populate it from a value obtained by querying a bean.
What is the correct syntax?
I am able to obtain the value from the bean as follows:
<jsp:useBean id="screenBean" class="sg.com.apex.sampleapp.screenbean.DemoScreenBean" scope="session" />
<jsp:getProperty name="screenBean" property="fieldValue" />

However i am unable to get the correct way of setting this value to the custom tag's attribute.
Thanks for any help...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: obtaining the JSP Tag Attributes from a bean