Thanks for ur reply. I have Jason's Calendar code which run calendar.js script. I need to set that in my JSP page i could not da that.
I have done the same thing in html page. I was trying to do like this <%@ page language="java" pageEncoding="UTF-8"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html:html locale="true"> <head> <html:base /> <script type="text/javascript" src="/Calendar/calendarDateInput.js"> </script> </head> <body> <html:form action="/Action"> <p align="center"><font size="5" color="black">Master</font></p> <div align="center"> <center> <table> <tr> <td align="right"> Effective from Date </td> <td align="left"> <script> DateInput('orderdate', true, 'DD-MON-YYYY')</script> <!-- html:text property="effectiveDateFrom" size="30" maxlength="30"/ --> </td> </tr> </table> </center> </div></html:form> </body> </html:html> Except that calendar every thing is seen in that Jsp page. I didnot understand where the problem lies. Naveen. On Jan 23, 2008 2:19 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/23, naveen k <[EMAIL PROTECTED]>: > > I am in a development of struts web application. > > I need to use java script in a jsp page. but i could not do that. > > cant we use java script in jsp pages? > > If possible how would i do that? > > You can put Javascript in your JSP page, what's your problem? > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >