This whole application works fine with tomcat 4.x version but didnot work with tomcat 5.x and above. i got an error, when i run the jsp given below , cannot resolve some symbol in jsp pages ,yet these variable are decalred in AdvCommonVars.jsp . Since i use <%@ include file ="AdvCommonVars.jsp" %> to use varibla in all pages but it gives error while running pages.
please tell me if their is any problem in syntax or code which is not recognized by tomcat 5.x and above.. <%@ page contentType="text/html;charset=WINDOWS-1252"%> <%@ page import = "Cfa.*" %> <%@ page import = "Cfa.AccessMethods" %> <%@ page import = "Hc.OpdReg" %> <%@ page import = "Cfa.AttributeProperty" %> <%@ page import = "Ident.*" %> <%@ page import ="Hc.OnlineReg_Cls" %> <%@ page import ="Hc.HcCommon"%> <%@ page import = "java.util.*" %> <%@ page import = "java.sql.*" %> <%@ page import="java.text.*" %> <%! java.util.Date Dtt; boolean yOpdBl=false; String formName = "OnlineOpdReg" ; Cfa.MedicalAdvance medAd; boolean ybl_insert; java.util.Date todays_date=new java.util.Date(); SimpleDateFormat formatter = new SimpleDateFormat ("dd-MMM-yyyy"); String yEmrMsg ="Select Shift"; // Varibale to get Emergency Time Check Message %> <% medAd=new Cfa.MedicalAdvance(); session.setAttribute("userid","SMJ"); session.setAttribute("roleid","8"); session.setAttribute("reqcode","0"); session.setAttribute("sysid","CFA"); ap = new AttributeProperty( true ) ; %> <link rel="stylesheet" type="text/css" href="hcback.css"> <LINK href="cfaback.css" rel=stylesheet type=text/css> <HTML> <BODY onLoad="setPatientInto()" bgcolor="lightsteelblue"> <TABLE border=1 class=table width="99%"> <FORM name="OnlineOpdReg" class=form method=post > <% String yPf_Roll=""; %> <%@ include file ="AdvCommonVars.jsp" %> <%@ include file = "idBlock.jsp" %> <%@ include file = "patientInfo.jsp" %> <[EMAIL PROTECTED] file = "opdTemp_Reg.jsp"%> </TABLE> </FORM> </BODY> </HTML> -- View this message in context: http://www.nabble.com/cannot-resolve-symbol-in-included-jsp-page.-tp17594729p17594729.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]