You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by vasudevrao gupta <va...@wipro.com> on 2004/01/17 16:46:38 UTC

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 
<%@include 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 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Including one JSP in another

Posted by Gurpreet Dhanoa <gu...@smartdatainc.com>.
Hey I have found the main cause.


Actually when yopu are declaring the variable  you are putting the value of
tag right.

When your 2.jsp file includes 1.jsp file it do use the value of variable
which is coming as a html tag
and it is not showing anyuthing.

Try chaning the value of the cvarialble to something welse than that of html
tag and it will show you the output.


Hope this will help.


Gary



----- Original Message -----
From: "Gurpreet Dhanoa" <gu...@smartdatainc.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
<va...@wipro.com>
Sent: Monday, January 19, 2004 2:16 PM
Subject: Re: Including one JSP in another


> Hey your syntax is inccorect
>
> try this
>
> /**1.jsp */
> <BODY>
> <%!
> //Enquiry module images
> private static final String ENQUIRY_IMG_PATH="<html:rewri2:14 PM
1/19/2004te
> src='/screens/enquiry/images'/>";
>
> %>
>
>
> /*###################*/
>
> /** 2.jsp */
>
>
> <%@include file="1.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');" ><%=
> ENQUIRY_IMG_PATH%>
>
>
> You should use <%@include file="something"% > instead of  %@include
> page="soimethjing%
>
>
> The above code is working on my end
>
> Gary
>
>
>
> ----- Original Message -----
> From: "Gurpreet Dhanoa" <gu...@smartdatainc.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
> <va...@wipro.com>
> Sent: Monday, January 19, 2004 2:03 PM
> Subject: Re: Including one JSP in another
>
>
> > try to using <jsp:include> instead of <%@ include>
> >
> >
> > Gary
> > ----- Original Message -----
> > From: "vasudevrao gupta" <va...@wipro.com>
> > To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
> > <va...@wipro.com>
> > 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
> > > <%@include 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
> > > Mailadmin@wipro.com immediately
> > > and destroy all copies of this message and any attachments.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > > 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
> > Mailadmin@wipro.com immediately
> > > and destroy all copies of this message and any attachments.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Including one JSP in another

Posted by vasudevrao gupta <va...@wipro.com>.
That was a typo mistake..but in the actual program , I used "file"

Regards
VasudevRaoGupta

-----Original Message-----
From: Gurpreet Dhanoa [mailto:gurpreetd@smartdatainc.com] 
Sent: 19 January 2004 14:16
To: Struts Users Mailing List; vasudevrao.gupta@wipro.com
Subject: Re: Including one JSP in another


Hey your syntax is inccorect

try this

/**1.jsp */
<BODY>
<%!
//Enquiry module images
private static final String ENQUIRY_IMG_PATH="<html:rewri2:14 PM
1/19/2004te
src='/screens/enquiry/images'/>";

%>


/*###################*/

/** 2.jsp */


<%@include file="1.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');" ><%=
ENQUIRY_IMG_PATH%>


You should use <%@include file="something"% > instead of  %@include
page="soimethjing%


The above code is working on my end

Gary



----- Original Message -----
From: "Gurpreet Dhanoa" <gu...@smartdatainc.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
<va...@wipro.com>
Sent: Monday, January 19, 2004 2:03 PM
Subject: Re: Including one JSP in another


> try to using <jsp:include> instead of <%@ include>
>
>
> Gary
> ----- Original Message -----
> From: "vasudevrao gupta" <va...@wipro.com>
> To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
> <va...@wipro.com>
> 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
> > <%@include 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
> > Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > 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
> Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Including one JSP in another

Posted by Gurpreet Dhanoa <gu...@smartdatainc.com>.
Hey your syntax is inccorect

try this

/**1.jsp */
<BODY>
<%!
//Enquiry module images
private static final String ENQUIRY_IMG_PATH="<html:rewri2:14 PM 1/19/2004te
src='/screens/enquiry/images'/>";

%>


/*###################*/

/** 2.jsp */


<%@include file="1.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');" ><%=
ENQUIRY_IMG_PATH%>


You should use <%@include file="something"% > instead of  %@include
page="soimethjing%


The above code is working on my end

Gary



----- Original Message -----
From: "Gurpreet Dhanoa" <gu...@smartdatainc.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
<va...@wipro.com>
Sent: Monday, January 19, 2004 2:03 PM
Subject: Re: Including one JSP in another


> try to using <jsp:include> instead of <%@ include>
>
>
> Gary
> ----- Original Message -----
> From: "vasudevrao gupta" <va...@wipro.com>
> To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
> <va...@wipro.com>
> 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
> > <%@include 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
> > Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > 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
> Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Including one JSP in another

Posted by "Sathish Kumar T.K." <sa...@quinnox.com>.
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" <va...@wipro.com>
To: "'Gurpreet Dhanoa'" <gu...@smartdatainc.com>; "'Struts Users Mailing
List'" <st...@jakarta.apache.org>
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:gurpreetd@smartdatainc.com]
> Sent: 19 January 2004 14:03
> To: Struts Users Mailing List; vasudevrao.gupta@wipro.com
> Subject: Re: Including one JSP in another
>
>
> try to using <jsp:include> instead of <%@ include>
>
>
> Gary
> ----- Original Message -----
> From: "vasudevrao gupta" <va...@wipro.com>
> To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
> <va...@wipro.com>
> 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
> > <%@include 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
> > Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > 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
> Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> 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
Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Including one JSP in another

Posted by vasudevrao gupta <va...@wipro.com>.
I tries that also..but, even then its not recognising the String

-----Original Message-----
From: Gurpreet Dhanoa [mailto:gurpreetd@smartdatainc.com] 
Sent: 19 January 2004 14:03
To: Struts Users Mailing List; vasudevrao.gupta@wipro.com
Subject: Re: Including one JSP in another


try to using <jsp:include> instead of <%@ include>


Gary
----- Original Message -----
From: "vasudevrao gupta" <va...@wipro.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
<va...@wipro.com>
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
> <%@include 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
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> 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
Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Including one JSP in another

Posted by Gurpreet Dhanoa <gu...@smartdatainc.com>.
try to using <jsp:include> instead of <%@ include>


Gary
----- Original Message -----
From: "vasudevrao gupta" <va...@wipro.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>;
<va...@wipro.com>
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
> <%@include 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
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> 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
Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Including one JSP in another

Posted by vasudevrao gupta <va...@wipro.com>.


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 
<%@include 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
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


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 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org