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 / August 2007

Tip: Looking for answers? Try searching our database.

Forms inside portlets

Thread view: 
Da Silencer - 25 Aug 2007 12:08 GMT
helo all, i desperatly need a help in portlets.....
i wan t to make a portlet that contains a form.... i want to direct
all the form parameters to a servlet, and then the servlet would
redirect me to another jsp inside the portlet.....

please i need a code example of :
1. the jsp containing the form,
2. the code inside the portlet class (and in which method?!?!)
3. the code inside the servlet (this servlet have only operational
functionnality ==> not needed to print...etc...)

thx a lot...
Manish Pandit - 25 Aug 2007 18:19 GMT
> helo all, i desperatly need a help in portlets.....
> i wan t to make a portlet that contains a form.... i want to direct
[quoted text clipped - 8 lines]
>
> thx a lot...

If you are using BEA Weblogic Workshop, creating portlets is as easy
as drag and drop. However, if you are using any other barebones
container with JSR 168 support (tomcat+pluto, jbossportal), you might
want to read up on portlets (refer to Pluto http://portals.apache.org/pluto/).
I am not sure what you mean by the code with a form inside a JSP -
that should be very straightforward.

The method you will write your code in will be processAction( ), and
since there is nothing to print back, the render( ) method will be
empty (call super in it). Your class will implement
javax.portlet.Portlet.

Hope this helps.

-cheers,
Manish


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.