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...
> 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