permaculture playing cards*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Java tag library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Java tag library" Watch "Java tag library" New topic
Author

Java tag library

Anasapurapu Lakshmi
Greenhorn

Joined: Oct 01, 2001
Posts: 5
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
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
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


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
 
 
subject: Java tag library