It should be fixed now in trunk. Let me now if it works or not.

Nils-H

On Wed, Jun 24, 2009 at 6:01 PM, phillips1021<bphill...@ku.edu> wrote:
>
> I added to the Jira bug report another example application that demonstrates
> the problem.  The example application is a simple Struts 2 (using 2.1.6)
> application that has both normal actions and Portlet actions.
>
> You can also download this example application (an archive of an Eclipse
> Dynamic Web Project that uses Maven) at
> http://www.brucephillips.name/struts/StrutsExample.zip.
>
> Unzip the example application and the open a command window.  Navigate to
> where you unzipped the application.
>
> Run "mvn clean" at the command prompt
>
> Run "mvn jetty:run" at the command prompt
>
> When you see the message [INFO] Started Jetty Server open your web browser
> and navigate to
>
> http://localhost:8080/StrutsExample/index.jsp
>
> Click on link for normal Struts 2 action and you should see "Hello from
> Struts 2"
>
> Click on link for Hello from portlet action and you should see "Hello from
> Struts 2"
>
> Click on link for Run Run a normal Struts 2 action that loads a JSP with a
> search form built using s:form tag and you'll get the exception discussed
> earlier.
>
> Type control C in the command prompt window to stop Jetty server
>
> Edit the pom.xml file:
>   Change the Struts 2 to version 2.0.11
>   Comment out the dependency on struts2-portlet-plugin
>
> Save the pom.xml file
>
> In command window run "mvn clean" and then "mvn jetty:run"
>
> When you see the message [INFO] Started Jetty Server open your web browser
> and navigate to
>
> http://localhost:8080/StrutsExample/index.jsp
>
> Click on link for normal Struts 2 action and you should see "Hello from
> Struts 2"
>
> Click on link for Hello from portlet action and you should see "Hello from
> Struts 2"
>
> Click on link for Run Run a normal Struts 2 action that loads a JSP with a
> search form built using s:form tag and you'll see the simple search form
> built using the s:form tag
>
> Click on the link Click here to start the search form example as a portlet
> and you'll also see the simple search form
>
> It seems that the s:form tag is causing a problem when using the
> struts2-portlet-plugin version 2.1.6 with struts 2 core version 2.1.6.
>
> We hope this is fixed in the upcoming release of version 2.1.7 as we would
> like to use the current release of Struts 2 to build web applications that
> can be used as standalone applications and as portlet within a portlet
> container.
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/Error-when-deploying-portlets-beside-a-normal-Struts2-web-app--tp23981728p24187641.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to