Thanks for your suggestion.. u tried that but getting jquery null or not a object error.
i have project in IDE like ProjectName -------------webpages ------------------------js ----------------------------jquery.js ----------------------------JSloader_1.js and right now i m giving absolute path like <script language="JavaScript" src="http://localhost:8084/ProjectName/js/jquery.js" type="text/javascript"> is that fine? newton.dave wrote: > > --- On Fri, 11/21/08, Casinova wrote: >> <script language="JavaScript" src="../js/jquery.js" [...] > > In general using relative paths like this can produce unexpected results > once you start including the contents of JSP pages from frameworks, doing > things like assuming the path is relative to the URL of the Struts action, > and so on. > > I'd recommend re-writing an absolute URL. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Loading-and-Calling-Java-Script-in-Struts-tp20623678p20626350.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]