Tangential:

Please subscribe to the Strutd User mailing list.

We currently have to approve your messages manually.

On Mon, Feb 26, 2024 at 09:04 SARAVANAN SIVAGURU
<saravanan.sivag...@nielseniq.com.invalid> wrote:

> 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.
> 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.
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to