Can't use beans and servlet at the same time
Posted on 2003-10-22
Well, first I'm pretty new to JSP so if I make any really stupid mistakes, forgive me.
At the moment, this is the architecture for my website. I've got main page where you can click on a picture which takes you to a jsp page. This jsp page uses a bean to get a bunch of data out of a database and then display it on the screen. Now, this part works.
Next, I added a login.html page which uses a servlet to verify a username and password. I added the servlet and mapping stuff to the web.xml file. The log on page works fine. But since I changed the web.xml file, the jsp page that uses the bean isn't working. I don't get any errors but it seems like the beans don't seem to be working.
Now, the one thing I can think of that I'm doing that it might not like is that fact that none of my classes are in packages. I've just put them all in the WEB-INF/classes directory? Does this matter?
Any help would be great!!!