Luc
Depends on the context and overall design.  I'm assuming that the "itself"
is a dynamic resource (eg servlet or jsp etc) rather than static html page.
What idea do you have in mind that the form would point back to itself?

A few general thoughts:
For example: a search engine page has a query box at the top and the results
(if any) at the middle and bottom of the page.  New queries (or page
forwards) make the request back to the same resource. - this makes sense.

A bad example could be a jsp page that tries to act as a login, then present
the web pages all in the one single jsp would not be a good design.

However a single servlet that receives requests (e.g. the form) and
depending on the type, forwards the request to the appropriate handler -
hence outputting a form query page (if requested) or a set of results (or
whatever) is standard practice for many applications.

What is important is the design behind resource processing the request.
It's ok to point the form back to its source.

So to answer your question: in principle no, but it depends on your
application design?

Hope this helps,
Andrew
Professional Java Servlets 2.3
http://www.amazon.com/exec/obidos/ASIN/186100561X
http://www.amazon.co.uk/exec/obidos/ASIN/186100561X

-----Original Message-----
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: 25 June 2002 19:28
To: JDJList
Subject: [jdjlist] JSP question


Is it bad to have the Action of a form to point back at itself

Luc Foisy


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to