2,we can submit a form through Javascript using the following code

document.form.submit()
 but don't have idea about integration with servlet....

3,you can invoke servlet using the servlet tag in shtml file....

4,we can invoke a html file and form submission at a time using the
following code....

function invoke(){

        parent.frames[4].location.href ="contactstable.shtml"

        window.open("abc","");
        document.form.submit()
        return false;
}

call invoke for any action

ex: onClick=return invoke()






On Sat, 11 Dec 1999, Mr. Email wrote:

> Hi all,
>  I hava some simple doubts which are quite general for all people.
>
> 1) Do we have any supplement to ActieX controls in Servlets and if so could
> you suggest me a simple way to implement the calendar control. I have a
> idea that JDK 1.2 has a class named Calendar.class but I would to have a
> control with all the functunality.
> Can you suggest me some of the sites or code snippets that can be used to
> build such a control.
>
> 2) Can Java Script  be integrated with Servlet and if so how do we do it?
>
> 3) Is it necessary to only have FORM ACTION for invoking a servlet and if
> not what could be the ways to invoke a servlet ?
>
> 4) Can we call a simple HTML file when an FORM ACTION is invoked along with
> a servlet. i.e as we do have in JavaScript when we open an HTML file the
> first thing invoked is the OnLoad() in the same manner can we call a
> servlet on the load of an HTML file.
>
> Looking forward for your kind help and thanks to all before hand.
>
> ___________________________________________________________________________
> 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

Reply via email to