Re: multiple forms and one servlet
From: Tony Morris (not_at_telling.you)
Date: 10/29/04
- Next message: freddiemac: "Re: Setting up a filter based on server name"
- Previous message: Tony Morris: "Re: Does this finally get executed ?"
- In reply to: Yasaswi Pulavarti: "multiple forms and one servlet"
- Next in thread: John Bickers: "Re: multiple forms and one servlet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 21:29:32 GMT
"Yasaswi Pulavarti" <yasaswi@encfor.com> wrote in message
news:aa862233.0410291323.511452a1@posting.google.com...
> I have one servlet which has multiple forms. The action element of the
> forms is pointing on one servlet. I want to process the different form
> requests as different reponses in the same servlet. How can I do that
> based on the form "Name" attribute.
> Thanks,
> Yasaswi
Servlets don't have forms.
Now that your question is completely out of context, let's guess what you
really want.
My guess is that you want the Front Controller Design Pattern (a J2EE blue
print design pattern).
You might want to look at some frameworks such as WebWork and Spring.
Struts is an older, crustier, less well designed option, but it is more
common.
-- Tony Morris http://xdweb.net/~dibblego/
- Next message: freddiemac: "Re: Setting up a filter based on server name"
- Previous message: Tony Morris: "Re: Does this finally get executed ?"
- In reply to: Yasaswi Pulavarti: "multiple forms and one servlet"
- Next in thread: John Bickers: "Re: multiple forms and one servlet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|