File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jsp to servlets connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp to servlets connection" Watch "jsp to servlets connection" New topic

jsp to servlets connection


Joined: Apr 24, 2007
Posts: 2
can we connect from jsp to handlers(servlets) for processing without using xml?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
Assuming I read your question correctly:
No - a web application must be configured with a deployment descriptor - that is to say: web.xml

Be glad that the servlet API settled on web.xml - very early servlet APIs were a confused mess of vendor specific properties files.

If you are going to work with servlets and JSP you should download the API documentation for your version. Here is a starting point for servlet APIs.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63839

"aruna m s",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: jsp to servlets connection
It's not a secret anymore!