struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Sy" <yves...@ssip.com>
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

-Yves-

-----Original Message-----
From: Amit Kumar Sharma [mailto:amit.ks@sysarris.soft.net] 
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
me
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)" />

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





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


Mime
View raw message