matteo depasquali

Greenhorn
+ Follow
since Dec 14, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by matteo depasquali

Thank you, now it works.
The correct url is http://localhost:8080/projectFolder/url-pattern and not http://localhost:8080/servlet/projectFolder/url-pattern

Reading guides and articles i often saw the folder called "servlet", and i thought it was necessary to tell tomcat that i was calling a servlet.

Actually, in the example i read on the internet, the folder called "servlet", was the name of the web project:D
11 years ago
Hello everybody,
I hope all of you understand my poor english; after solving many problems by reading this forum, i've just signed up, and this is my first question

I'd like to know how to call a servlet by using a URL.
Now i'm able to call the servlet this way beacuse i set my web.xml this way

Is there a way to call my servlet by using its name, for instance http://localhost:8080/servlet/provaservlet/ServletName?

I set the <url-pattern> element with everythings come to me, but i didn't get my goal yet!
11 years ago