struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Sy" <>
Subject RE: html:img is not getting recognised.
Date Wed, 17 Dec 2003 08:54:39 GMT
Struts already appends the context path.

<html:img src="./images/cal.gif"
onClick="popUpCalendar(this, ParameterEditForm.endDate,
'dd-mmm-yyyy',46,735)" />

...should be enough


-----Original Message-----
From: Amit Kumar Sharma [] 
Sent: Wednesday, December 17, 2003 4:33 PM
To: Struts Users Mailing List
Subject: html:img is not getting recognised.

Dear friends,

I am substituting the normal HTML image tag 
		<img src="<%=contextPath%>/images/cal.gif"
onClick="popUpCalendar(this, ParameterEditForm.endDate,
'dd-mmm-yyyy',46,735)" >
with the shown below but is not getting recognised, can somebody guide
out how to use it, I am new to struts.
		<html:img src="<%=contextPath%>/images/cal.gif"
onClick="popUpCalendar(this, ParameterEditForm.endDate,
'dd-mmm-yyyy',46,735)" />

Amit Kumar Sharma
SysArris Software Pvt Ltd
120A, Elephant Rock Road,
3rd Block, Jayanagar, 
Bangalore - 560011
Tel.: 91-80-665 4965 / 665 5052

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message