RE: can i have multiple struts-config.xml
Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can i have multiple struts-config.xml
Lionel wrote: http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html Shailender Jain wrote: I went to this link but this document seems to have been removed. Is there is any other link? the given link works fine... try this: http://jakarta.apache.org/struts/userGuide/configuration.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
Check for well formed xml using any xml editor which can validate your document based on the dtd -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:48 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
503 Parsing error -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:09 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml What is extact error you are getting Also can you send me ur strut config files and web.xml? Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:48 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
i dont think we can have multiple strut-config file. But yes we can divide strut-config file into module. later there should be an entry of those module strut config file in strut-config.xml. Asim Viral_Thakkar [EMAIL PROTECTED] wrote: 503 Parsing error -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:09 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml What is extact error you are getting Also can you send me ur strut config files and web.xml? Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:48 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
RE: can i have multiple struts-config.xml
hi, without *blanks* init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml,/WEB-INF/a.xml,/WEB-INF/b.xml/p aram-value /init-param or modules (e.g. supplier, customer...): init-param param-nameconfig/param-name param-value/WEB-INF/conf/struts-default.xml/param-value /init-param init-param param-nameconfig/module1/param-name param-value/WEB-INF/conf/struts-module1.xml/param-value /init-param -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:44 PM To: Satish Kataria; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml 503 Parsing error -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:09 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml What is extact error you are getting Also can you send me ur strut config files and web.xml? Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:48 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
I tried this but still same error 503 Service Unavailable Servlet error: Parsing error processing resource path /WEB-INF/struts-config.xml,/WEB-INF/a-config.xml -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:45 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml Can you try using struts 1.1 dtd instead of 1.0 which is what you have done right now Use this !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; Thanks, Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:21 PM To: Satish Kataria Subject: RE: can i have multiple struts-config.xml pfa -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:04 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml can you send me ur strut config files and web.xml? Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 4:17 PM To: Satish Kataria Subject: RE: can i have multiple struts-config.xml 503 Service Unavailable Servlet error: Parsing error processing resource path /WEB-INF/struts-config.xml,/WEB-INF/a-config.xml -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:09 PM To: Viral_Thakkar Subject: RE: can i have multiple struts-config.xml What is extact error you are getting Also can you send me ur strut config files and web.xml? Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:48 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml I tried this and I am getting parsing error. -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 12:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: can i have multiple struts-config.xml Yes you can have any number of struts-config file. You have to name them differeently though and put allof them in WEB-INF folder. Then declare all the struts-config files in web.xml E.g servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml, /WEB-INF/a.xml, /WEB-INF/b.xml/param-value /init-param Where struts-config.xml,a.xml and b.xml are the struts config files Thanks, Satish -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:29 PM To: Struts Users Mailing List Subject: can i have multiple struts-config.xml Hi All I have one question.Can I have 2 struts-config.xml for one web application. Thanks Sougata -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: security roles Zhang, Larry (L.) wrote: (2)also say a manager logon our sites, I can obtain the info for this user such as managerFlag, and then where should I put the logic to decide whether the user is a manager or an employee, and how to map this user to a security-role defined above? this is a websphere issue. loook for : com.ibm.websphere.security Interface UserRegistry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can i have multiple struts-config.xml
sougata wrote: Hi All I have one question.Can I have 2 struts-config.xml for one web application. yes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: can i have multiple struts-config.xml
then where shall i put the xml files.i mean where to specify the path of struts-config.xml and wat will be the dir structure -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, June 15, 2004 5:39 PM To: [EMAIL PROTECTED] Subject: Re: can i have multiple struts-config.xml sougata wrote: Hi All I have one question.Can I have 2 struts-config.xml for one web application. yes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can i have multiple struts-config.xml
Lionel wrote: sougata wrote: Hi All I have one question.Can I have 2 struts-config.xml for one web application. yes. I forgot to paste this: http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can i have multiple struts-config.xml
Hai, I went to this link but this document seems to have been removed. Is there is any other link? Regards Shailender Jain Lionel wrote: Lionel wrote: sougata wrote: Hi All I have one question.Can I have 2 struts-config.xml for one web application. yes. I forgot to paste this: http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]