Am Donnerstag, 4. Januar 2007 19:28 schrieb Dimitrios Gianninas: > Note: I am no struts expert. > > 1) Download FDS express and install on your PC. Extract the flex.war and > then take everything in the web.xml and it to your own. Then take > everything in WEB-INF/lib and WEB-INF/flex and add it your app. Create a > simple helloworld.mxml and try to see if it work via your browser. If it > does then everything is working.
You don't need everything when compiling SWFs local. Here are my settings for FDS/Remoting with already compiled SWFs (no AS and MXML files on the server): webx.xml: [...] <context-param> <param-name>flex.class.path</param-name> <param-value>/WEB-INF/lib</param-value> </context-param> <listener> <listener-class>flex.messaging.HttpFlexSession</listener-class> </listener> <servlet> <servlet-name>MessageBrokerServlet</servlet-name> <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class> <init-param> <param-name>services.configuration.file</param-name> <param-value>/WEB-INF/flex/services-config.xml</param-value> </init-param> <init-param> <param-name>flex.write.path</param-name> <param-value>/WEB-INF/flex</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>MessageBrokerServlet</servlet-name> <url-pattern>/messagebroker/*</url-pattern> </servlet-mapping> [...] pom.xml: [...] <!-- flex --> <dependency> <groupId>flex</groupId> <artifactId>flex-messaging</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>flex</groupId> <artifactId>flex-messaging-common</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>flex</groupId> <artifactId>flex-messaging-opt</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>flex</groupId> <artifactId>flex-messaging-req</artifactId> <version>2.0</version> </dependency> <!-- flex commons --> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.3</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.0.1</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> </dependency> <!-- flex concurrent --> <dependency> <groupId>backport-util-concurrent</groupId> <artifactId>backport-util-concurrent</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>concurrent</groupId> <artifactId>concurrent</artifactId> <version>1.3.4</version> </dependency> <!-- flex jta --> <dependency> <groupId>jotm</groupId> <artifactId>jotm</artifactId> <version>2.0.10</version> </dependency> [...] Put the Flex jars in your local Maven2 repository. If you don't use m2 copy the jars to WEB-INF/lib. JOTM is for use with Tomcat (servers without build-in transaction support). O. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/