[jboss-user] [JBoss Portal] - Re: Got it y'all. Here's a working Struts bridge example (2.
NM-156
do-not-reply at jboss.com
Fri Oct 5 10:27:05 EDT 2007
Can you also set up web.xml as follows? I believe I omitted this from the original config that I posted, so I apologize.
web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
| <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
| "http://java.sun.com/dtd/web-app_2_3.dtd">
| <web-app>
| <display-name>TestStrutsPortalBridge</display-name>
| <servlet>
| <servlet-name>action</servlet-name>
| <!-- The following entry must be changed to have the requests intercepted by the portal -->
| <servlet-class>org.apache.portals.bridges.struts.PortletServlet</servlet-class>
| <init-param>
| <param-name>config</param-name>
| <param-value>/WEB-INF/struts-config.xml</param-value>
| </init-param>
| <load-on-startup>1</load-on-startup>
| </servlet>
| <servlet-mapping>
| <servlet-name>action</servlet-name>
| <url-pattern>*.do</url-pattern>
| </servlet-mapping>
| <welcome-file-list>
| <welcome-file>index.jsp</welcome-file>
| </welcome-file-list>
| <login-config>
| <auth-method>BASIC</auth-method>
| </login-config>
| </web-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092028#4092028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092028
More information about the jboss-user
mailing list