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-name>action</servlet-name>
 
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

    <init-param>
      <param-name>config</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]

Reply via email to