How about your path?? Is that available in the relative path of ur app? try something like this...
<%@ include file="/WEB-INF/pages/abc.jsp" %> - Sathish ----- Original Message ----- From: "vasudevrao gupta" <[EMAIL PROTECTED]> To: "'Gurpreet Dhanoa'" <[EMAIL PROTECTED]>; "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, January 19, 2004 2:05 PM Subject: RE: Including one JSP in another > > I tries that also..but, even then its not recognising the String > > -----Original Message----- > From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] > Sent: 19 January 2004 14:03 > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Including one JSP in another > > > try to using <jsp:include> instead of <%@ include> > > > Gary > ----- Original Message ----- > From: "vasudevrao gupta" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Monday, January 19, 2004 1:56 PM > Subject: Including one JSP in another > > > > > > > > > > Hi All, > > > > I have jsp1 which contains the below code as the scriplet: > > > ************************************************************************ > > ********** > > <BODY> > > <%! > > //Enquiry module images > > private static final String ENQUIRY_IMG_PATH="<html:rewrite > > src='/screens/enquiry/images'/>"; > > > > %> > > </BODY> > > > ************************************************************************ > > *********** > > > > Jsp2 includes jsp1 using > > <[EMAIL PROTECTED] page="jsp1.jsp" %> > > But, when I try to access any of the constants of jsp1 from jsp2 in > the > > below way, its not getting the value of the constant.. > > <html:link href="javascript:click('customer');" ><html:img src="<%= > > ENQUIRY_IMG_PATH%>/Customer-DB.gif/>" imageName="custImage" > > /></html:link> > > > > Can anyone help me in this regard..??? > > > > Regards > > VasudevRaoGupta > > > > > > Confidentiality Notice > > > > The information contained in this electronic message and any > attachments > > to this message are intended > > for the exclusive use of the addressee(s) and may contain confidential > > or privileged information. If > > you are not the intended recipient, please notify the sender at Wipro > or > > [EMAIL PROTECTED] immediately > > and destroy all copies of this message and any attachments. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Confidentiality Notice > > > > The information contained in this electronic message and any > attachments > to this message are intended > > for the exclusive use of the addressee(s) and may contain confidential > or > privileged information. If > > you are not the intended recipient, please notify the sender at Wipro > or > [EMAIL PROTECTED] immediately > > and destroy all copies of this message and any attachments. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > Confidentiality Notice > > The information contained in this electronic message and any attachments to this message are intended > for the exclusive use of the addressee(s) and may contain confidential or privileged information. If > you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately > and destroy all copies of this message and any attachments. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

