my dog learned polymorphism
The moose likes Servlets and the fly likes running a servlet thru a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "running a servlet thru a jsp" Watch "running a servlet thru a jsp" New topic

running a servlet thru a jsp

Donna Reschke

Joined: Jun 20, 2001
Posts: 17
in my jsp file, I am trying to run a servlet. Instead of executing the servlet class, a
window pops up for saving the class file.
What am I doing wrong?
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
You can run servlet through JSP by the include directive or include action. Not sure what you did...

Joined: Jun 20, 2001
Posts: 6
If you have put .class in the servlet path, remove it...
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: running a servlet thru a jsp
It's not a secret anymore!