Hi all, I would like to know, what are the prerequisites to pass a java variable to a tag as a variable. The tag is not accepting the java variable in <%= %> tags. The tag variable accepts the hardcoded value in "" String strUserid="lakshmi"; eg userid="lakshmi" but not as userid="<%=strUserid%>" java variable. thanx lakshmi
Hi Anasapurapu, Are you trying to pass a variable value to another application? Not sure why you are trying to use a 'tag' otherwise I'm going to move this over to Java in General - Beginning as it's not directly related to SCJP Study. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform
Right you are. It sounds like you haven't defined the tag in question to work with variable substitution. It's an option in the Tag Library Description (tld) file, which is the XML file that describes the tag properties and what Java classes implement them.
An IDE is no substitute for an Intelligent Developer.