Hi, Can any one help me out in defining string variables and assigning the values to them using Jakarta string or bean taglibs. Or I would be glad if below code converted into tag format using string,session,bean(jakarta taglibs).
<html> <body> <% String var1=null; String var2=""; String var3; MyBean mbean = (MyBean) session.getAttribute("MYBEAN"); if(mbean!=null){ var1= mbean.getVariable1(); var2= mbean.getVariable2(); }else{ YourBean ybean=(YourBean) session.getAttribute("YOURBEAN"); var1= ybean.getYourValue1(); var2= ybean.getYourValue2(); } %> <b> Value1is <%=var1%> </b> </body> </html> Many Thanks, RYK -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>