hi
how can i invoke a method of a java class inside javascript. is there
any direct or round about way of doing this????
regds
shekhar

SHEKHAR  AGARWAL(B.TECH)
TATA CONSULTANCY SERVICES
Email : [EMAIL PROTECTED]
Tel:  268-548-2592 (work)
    262-798-1052 (home)




-----Original Message-----
From: Roy Truelove [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 14, 2001 8:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Session tracking


Hey Mihir,

    I suggest the 2 servlet approach.  I usually end up having a servlet
for
every JSP page, so the servlet can handle the processing and the JSP
page
can handle the presentation.  I find that using 1 servlet for more than
1
JSP can lead to some messy code.

Take it easy,
Roy

----- Original Message -----
From: "Mihir Sahu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 2:12 PM
Subject: Session tracking


> Hi,
>    I have two jsp forms calling the same servlet for different
function.
Is there
> any method that I can use in the servlet to know from which page it is
being
> called, so that I can do the required action..or is it a better idea
to
built two
> servlet...one for each.  Thanks
> Regards
> Mihir
>
>
========================================================================
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to