problems with servlet based web application

Hi,

I got a problem with my web application, I'm developing a MVC (model view controller) application. I have the model, and I also tried the model with my own tester but when I tried to implement the controller my troubles begin.

I have a login page which has a html form that is pointing to the controller server, I have declared the name and mappings of my servlet, but when I press a submit button it seems like there is no valid URL, actually I got a 404 Http error.

127.0.0.1 - - [08/Jan/2004:01:09:28 -0500] "POST /servlet/controlador/Login/Submit HTTP/1.1" 404 672

as an aditional info I'm using Sun One Studio 4 Update 1 CE

If someone can give me some advise about MVC implementation I will appreciate.

Thanks in advance.

[782 byte] By [GerardoMoran] at [2007-11-25 10:45:43]
# 1

Hi,

I have written an article with some code that you might find quite useful, it is a simple MVC photo album application. It uses Studio 5 but the fundamentals are the same for both versions. There you will find everything you need

http://developer.sun.com/tools/javatools/articles/photoalbum.html

Hope this helps

Regs jP

Jiri Prazak at 2007-7-1 21:40:36 > top of Java-index,Development Tools,Java Tools...
# 2
There is an excellent example of a controller servlet that uses the Collection Switch design pattern available at http://www.johngresh.com/doc/researchInterests/ood/collectionSwitch/paper/colle ctionSwitchPaper.pdfEnjoy
alex06110 at 2007-7-1 21:40:36 > top of Java-index,Development Tools,Java Tools...