I managed to resolve the issue on loading the tiles*.xml file which is 
available native to the application(WEB-INF) code but when I try to load the 
tiles*.xml file on the classpath jar file am unable to load the same.

Any suggestions which could help me?

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:df014bb8-bc61-4c53-95a3-e402e605f892]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses
________________________________
From: SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com.INVALID>
Sent: Monday, February 26, 2024 5:05 PM
To: user@struts.apache.org <user@struts.apache.org>
Subject: Re: Requesting support on struts tiles plugin migration

You don't often get email from saravanan.sivag...@nielseniq.com.invalid. Learn 
why this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hi Luk

As I mentioned earlier am using the listener 
(org.apache.struts2.tiles.StrutsTilesListener) which you already suggested. And 
removed all the context param from the XML file.

When I try to load the configuration files automatically the definitions are 
not getting loaded as expected. Please find the attachment for the web.xml file 
and the image for the location of the tiles.xml file on the local application 
and also to the classpath jar file.

Local Path - 
C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\config\tiles
Classpath file - 
C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\lib\kawa-gui-5.5.6-SNAPSHOT.jar\META-INF\

Could you please suggest to me what is wrong over here or is there any bug on 
discovering the files with wildcard.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:10b4297d-45b1-4093-a1f4-b88c4431e871]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses
________________________________
From: SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com>
Sent: Friday, February 23, 2024 5:51 PM
To: user@struts.apache.org <user@struts.apache.org>
Subject: Re: Requesting support on struts tiles plugin migration

Hi Luk

Yes, I am using the Struts Tiles Listener already

<listener>
  <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
</listener>

If I didn't mention below context param,

<context-param>
  
<param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
  
<param-value>classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml</param-value>
</context-param>

Am able to load only the tiles configuration file which is available on the 
WEB-INF folder that too only if I mentioned full path when I tried with the 
wildcard am not able to load the configuration even from the WEB-INF folder.

On whatever case, I am unable to load the configuration files from the 
classpath(META-INF).
The completeAutoLoad which you suggested is not available as a part of 
struts2-tiles plugin - 6.3.0.2 version right. Is there any other alternative 
functionality available to load the configuration files with wildcard?

Currently I am trying to create the complete auto load functionality in my 
common framework code to get used to the application which are consuming.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:3ae1a284-537b-4e0b-be4a-e664342af334]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

Reply via email to