Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

a jsp question (a specific one and general learning technique/direction)

Thread view: 
NickName - 06 Nov 2006 22:27 GMT
http://groups.google.com/group/JavaServerPages/browse_thread/thread/db7ea9b40bc3
7a02/a75c48dd03c2988b?hl=en#a75c48dd03c2988b


I don't want to cross post, however, the question was not answered.
Would appreciate your answer/thoughts etc.
Manish Pandit - 07 Nov 2006 00:08 GMT
> http://groups.google.com/group/JavaServerPages/browse_thread/thread/db7ea9b40bc3
7a02/a75c48dd03c2988b?hl=en#a75c48dd03c2988b

>
> I don't want to cross post, however, the question was not answered.
> Would appreciate your answer/thoughts etc.

Best way would be to use Struts, or a simple controller servlet to
which the JSP submits. The servlet (or action servlet in case of
struts) can process data if request.getMethod() is "post", or it can
redirect to the form if the method is "get". While processing, you can
choose to put the logic in the servlet (not a good idea) or have the
servlet call some other class to handle the logic, once the servlet has
extracted and validated the form data coming in.

-cheers,
Manish
NickName - 07 Nov 2006 20:42 GMT
> ...
> Best way would be to use Struts, or a simple controller servlet to
[quoted text clipped - 7 lines]
> -cheers,
> Manish

Many thanks.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.