Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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: 13018
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: 63334

"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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: jsp to servlets connection
jQuery in Action, 3rd edition