What version of JBoss? I personally deploy an EAR file instead of just WAR. I heard something about a problem with WAR deployment a long time ago, but I am not sure if that is still the case. I would advise you to check with the Forums on the JBoss.org site - I find them very efficient and helpful.
Erez -----Original Message----- From: Younis, Shahzaib [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 10:59 PM To: 'Struts Users Mailing List' Subject: RE: JBoss configuration problem with struts Oops! validation.xml code is this one: <field property="username" depends="required"> <arg0 key="prompt.username" resource="true" /> </field> and in the case of validation failure,on the xml end, I get error "???en_US.prompt.username??? is required", instead of "User Name is required" ApplicationResources.properties snapshot is this: prompt.username = User Name Now the war file is working fine in all directory, but not in default directory, it seems like its not extracting prompts from properties file. > -----Original Message----- > From: Younis, Shahzaib [SMTP:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 3:55 PM > To: 'Struts Users Mailing List' > Subject: RE: JBoss configuration problem with struts > > > Ok here's what I'm trying to do. > > validation.xml: > > <field property="username" > depends="required"> > <arg0 key="logon.username.error" resource="true" /> > </field> > > and in the case of validation failure,on the xml end, > > I get error "???en_US.prompt.username??? is required", instead of "User > Name > is required" > > ApplicationResources.properties snapshot is this: > > prompt.username = User Name > > Now the war file is working fine in all directory, but not in default > directory, > it seems like its not extracting prompts from properties file. > > > > > -----Original Message----- > > From: Erez Efrati [SMTP:[EMAIL PROTECTED] > > Sent: Monday, July 21, 2003 4:48 PM > > To: 'Struts Users Mailing List' > > Subject: RE: JBoss configuration problem with struts > > > > If you just put more information and specify more about what and how did > > you do. Just for of it, I am working with JBoss and Struts and it all > > works just fine under the JBoss "default". > > > > Erez > > > > -----Original Message----- > > From: Younis, Shahzaib [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 21, 2003 10:45 PM > > To: 'Struts Users Mailing List' > > Subject: JBoss configuration problem with struts > > > > > > > > After I put my war file into JBOSS "all" direcotry, it works, > > but before that it was in "default" directory and it was not extracting > > prompts from properties file. > > > > Any idea???? > > > > wats the difference between JBOSS sub directory "defualt" and "all" > > > > According to JBoss documentation, the only difference, that all > > directory > > configuration includes services of RMI/IIOP and clustering. > > > > but that should not affect the extraction of prompts from Properties > > file. > > > > Any help will be appreciated, Thanks. > > > > > > > > --------------------------------------------------------------------- > > 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]