[ 
https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41345
 ] 

Nils-Helge Garli commented on WW-2026:
--------------------------------------

This works nicely in my test-environment. Are you sure that you're accessing 
the portlet correctly through the portal? The URLs you're referring to seems 
like ordinary "servlet URLs". You can only access the portlets by deploying 
them in a portlet container and adding them to a portal page, and not through a 
direct URL.

> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
>                 Key: WW-2026
>                 URL: https://issues.apache.org/struts/browse/WW-2026
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 2.0.8
>         Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
>            Reporter: olivier dupuy
>
> Hi,
> I was just playing with 
> http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following 
> error 
> >>>>The requested resource 
> >>>>(/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page 
> http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as 
> a file
>       <action name="processFormExampleEdit"
>                       class="org.apache.struts2.portlet.example.FormExample">
>                       <result name="input">
>                               /WEB-INF/edit/formExampleInput.jsp
>                       </result>
>                       <result name="success">
>                               
> /edit/processFormExampleForward.action?firstName=${firstName}&amp;lastName=${lastName}
>                       </result>
>               </action>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to