Ok, so I completely scratched that direction. I’m just not familiar enough with servlet doget/doPost/remapping stuff. I have no one who knows about it so I’m flying blind.
I do, however, know how to do java programming. I just wanted to create a class so I could maintain an object oriented approach to the web site. I can easily create a class within a jsp
with the standard
public class foo{
public foo
{
//constructor
}
public String getName()
{
return "some name";
}
}
But, how do I do this in a .java/.class file and import it into a jsp for use? This is essentially the same question, different approach.
You need to map your Servlet. Don’t use import for a Servlet. See
https://stackoverflow.com/tags/servlets/info