Hi Rajesh !
u can always include javascript file ( e.g. validate.js ) in a servlet.
Just include following lines in the code
Assuming "out" as a printwriter,
out.println("<script language=javascript
src='http://hostname/path/of/javascript/file/validate.js>' ");
out.println("</script>");
Abhay
----- Original Message -----
From: Rajesh Kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 4:14 PM
Subject: How to call JScript file from servlet?
> Can anyone help me how to include a JScript file in my servlet.
>
> This JScript will have functions for validation and this I have to call in
> my servlet.Sample code(site) will be appreciated.
> thanks,
> Kumar
>
>
>
> Sanjay Vashisht <[EMAIL PROTECTED]> on 21/11/2000 15:21:05
>
> Please respond to "A mailing list for discussion about Sun Microsystem's
> Java Servlet API Technology."
> <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Rajesh K J/India/IBM)
> Subject: Re: How to use scrollable result set
>
>
>
>
> Hi Akhil
> You can use the IDS Driver from the www.idssoftware.com. It's a typeIII
> driver and one of most appreciable drivers, it's JDBC 2.0 compliant
> also. Just You have to create a scrollable resultset while creating a
> statement as
>
> stmt= con.createStatement(int resultSetType, int resultSetConcurrency)
>
> For scrollable Resultset Type is TYPE_SCOLL_SENSITIVE or 1005
> for updatable ResultsetConcurrency is CONCUR_UPDATEABLE or 1008
>
> so it will be
>
> stmt= con.createStatement(TYPE_SCOLL_SENSITIVE, CONCUR_UPDATEABLE)
>
>
> ___________________________________________________________
> Sanjay Vashisht,
> Senior Systems Engineer,
> Electronic Commerce & Financial Solutions,
> Wipro Technologies,
> M.G. Road,
> Bangalore - 560 001
> Tel : +91-080-5588613 Xtn 460, 434
> Tel(Res): +91-080-5212052
> Fax : +91-080-5596731,5587984
>
> http://www.wipro.com
> World's First SEI CMM Level 5 Software Services Company
> ___________________________________________________________
>
>
> ***********************Reply Seperator*********************************
> --
>
> Date: Mon, 19 Jun 2000 15:02:10 +0530
> From: Akhil Gupta <[EMAIL PROTECTED]>
> Subject: How to use scrollable result set
>
> Hi all,
> Please tell me how to use scrollable set, it doesn't run with
> normal drivers, i think we have to use some other drivers for using
> methods
> of moving forward and backward, as it i am not able to run it with
> oracle
> oci drivers.ResultsetMetaData won't help as it does not help in cursor
> moving forward or backward.
>
> Thanks
> AKHIL
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html