Hello,
I am still somewhat new to all this so please feel free to ask me to clarify if something I wrote doesn't make sense or isn't understandable.. I'll try to explain it the best I can..
In my portlet, I have a form in my view.jsp file that submits and passes parameters to a
servlet.
I would like this servlet to redirect back to the original portlet while still maintaining the parameters.
I can't use sendRedirect because the objects don't transfer.
I have tried to use a forward with RequestDispatcher but there is a problem.
My portlet is placed on a "page" on the portal site, so for example:
http://www.example.com/example-page/
If I go to that URL my portlet is there
RequestDispatcher forwards to something like this:
http://www.example.com/example-portlet-name/example-parameters/
"example-portlet-name" is what is specified in portlet.xml in my WEB-INF directory.
"example-parameters" is what would be specified with getRequestDispatcher.. like this:
Is it possible to redirect back to the "example-page" and still preserve the parameters? Does this make sense?
Thanks a lot, ~ K