invoking servlet?

What is meant by invoking a servlet and How to invoke servlet?
Veena85Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fvictorCommented:
Invoking a servlet is nothing but calling the servlet. Inorder to incoke a servlet one has to include in the html file the reference to the servlet you are calling. eg. the POST operation of a submit button referencing a particular servlet.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GaryJohnsonCommented:
A servlet is the server side equivalent of an applet and can be used in place of a CGI script. Servlets can be invoked via the <SERVLET> HTML tag....Gary
0
heyhey_Commented:
servlet is not exactly 'the server side equivalent of an applet'

servlet is Web server extension (just like CGI). when you make HTTP request to  the servlet URL, your web server will create new servlet object and return the page generated from this (servlet) object.
0
marnicCommented:
invoking a servlet means send a request to it. (usualy http request)

you can invoke a servlet by typing it's URL in the address bar of a browser or by clicking on a link that points to the servlet (href="servletURL"). The servlet runs on a server and the server must be configured to properly redirect some request to the servlet.

a servlet URL may look like :
http://www.dom.com/p1/p2/info-info

all URLs starting with http://www.dom.com/p1/ may call the same servlet. p2/info-info is additional info ignored by the server but usefull for the servlet.


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.