This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 13027
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: 63544

"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]
Consider Paul's rocket mass heater.
subject: jsp to servlets connection
It's not a secret anymore!