Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
thanks; in advance, the workaround exposed here
 fixes the issue:

 
 
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG

/WEB-INF/tiles.xml



El lun, 22 abr 2024 a la(s) 10:31 a.m., Lukasz Lenart (
lukaszlen...@apache.org) escribió:

> pon., 22 kwi 2024 o 15:16 Matias Rodriguez
>  napisał(a):
> >
> > hi! I'm getting an exception when moving from version *6.3.0.2*; should
> we
> > add some annotations or something? thanks!
>
> > Struts has detected an unhandled exception:
> > *Messages*:
> > - Cannot find definition named 'indexServidor'
>
> It's probably related to this issue
> https://issues.apache.org/jira/browse/WW-5419
>
> You can find a fix here and if you can please test it :)
> https://github.com/apache/struts/pull/920
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 15:16 Matias Rodriguez
 napisał(a):
>
> hi! I'm getting an exception when moving from version *6.3.0.2*; should we
> add some annotations or something? thanks!

> Struts has detected an unhandled exception:
> *Messages*:
> - Cannot find definition named 'indexServidor'

It's probably related to this issue
https://issues.apache.org/jira/browse/WW-5419

You can find a fix here and if you can please test it :)
https://github.com/apache/struts/pull/920


Cheers
Lukasz

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
hi! I'm getting an exception when moving from version *6.3.0.2*; should we
add some annotations or something? thanks!

*struts.xml extract:*






indexServidor



*exception:*
Struts Problem Report

Struts has detected an unhandled exception:
*Messages*:
- Cannot find definition named 'indexServidor'
*File*: org/apache/tiles/core/impl/mgmt/CachingTilesContainer.java
*Line number*: 108
--
Stacktraces
*org.apache.tiles.core.definition.NoSuchDefinitionException: Cannot find
definition named 'indexServidor'*


org.apache.tiles.core.impl.mgmt.CachingTilesContainer.render(CachingTilesContainer.java:108)
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:140)

org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:206)

com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:377)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:284)

com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)

org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:143)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:202)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.ActionFileUploadInterceptor.intercept(ActionFileUploadInterceptor.java:142)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:200)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:161)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method

Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-03-06 Thread SARAVANAN SIVAGURU
Yes Luk, things are good now on the The absolute uri context.

Thanks and Regards,
Saravanan.S

From: Lukasz Lenart 
Sent: Wednesday, March 6, 2024 5:10 PM
To: Struts Users Mailing List 
Subject: Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be 
resolved

[You don't often get email from lukaszlen...@apache.org. Learn why this is 
important at 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.


Does it mean everything is ok?

śr., 6 mar 2024 o 09:13 SARAVANAN SIVAGURU
 napisał(a):

> Hi Luk
>
> It was working fine now; I was customizing the code to do add some extra
> logs for debugging . At that time I missed the tld folder which was
> available as a part of the source code which caused the problem.
>
> 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:* Lukasz Lenart 
> *Sent:* Saturday, March 2, 2024 2:55 PM
> *To:* Struts Users Mailing List 
> *Subject:* Re: The absolute uri: 
> [https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftiles.apache.org%2Ftags-tiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C2f14a02db9c74b076f0908dc3dd291ac%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638453221800134877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=ft2aTE085j1wyrKvvlvaZFCJID17eYei7b58Y2kloas%3D&reserved=0<http://tiles.apache.org/tags-tiles>]
> cannot be resolved
>
> [You don't often get email from lukaszlen...@apache.org. Learn why this
> is important at 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.
>
>
> Do you run it from within Eclipse? Is it related to this bug?
>
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D493277&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C2f14a02db9c74b076f0908dc3dd291ac%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638453221800145302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=b2fcXsDuZrvSltxpJxa8SpgAEaoCb3VgpseTYPNl0g8%3D&reserved=0<https://bugs.eclipse.org/bugs/show_bug.cgi?id=493277>
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D493277&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C2f14a02db9c74b076f0908dc3dd291ac%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638453221800151940%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=UyN2B3QR3S5YPVF%2B2FSRJ9ntOtSLE9Oi53fqonVL8NY%3D&reserved=0<https://bugs.eclipse.org/bugs/show_bug.cgi?id=493277>>
>
> I just tested the example tiles app on Jetty and everything was ok
>
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts-examples%2Ftree%2Fmaster%2Ftiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C2f14a02db9c74b076f0908dc3dd291ac%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638453221800156697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=zaikJ2VDeEiX60QdFofWiJ9FxCzBXYL0YlyvBcW%2BGwE%3D&reserved=0<https://github.com/apache/struts-examples/tree/master/tiles>
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts-examples%2Ftree%2Fmaster%2Ftiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C2f14a02db9c74b076f0908dc3dd291ac%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638453221800161308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=L5BAdZ%2B0SC207ugkyK9LjG9uzRb4cJZGF5XqW%2BIbO9U%3D&reserved=0<https://github.com/apache/struts-examples/tree/master/tiles>>
>
> czw., 29 lut 2024 o 10:40 SARAVANAN SIVAGURU
>  napisał(a):
> >
> > Any help on my below query would be really appreciated.
> > Thanks in advance.
> >
> > Regards,
> > Saravanan.S
>


Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-03-06 Thread Lukasz Lenart
Does it mean everything is ok?

śr., 6 mar 2024 o 09:13 SARAVANAN SIVAGURU
 napisał(a):

> Hi Luk
>
> It was working fine now; I was customizing the code to do add some extra
> logs for debugging . At that time I missed the tld folder which was
> available as a part of the source code which caused the problem.
>
> 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:* Lukasz Lenart 
> *Sent:* Saturday, March 2, 2024 2:55 PM
> *To:* Struts Users Mailing List 
> *Subject:* Re: The absolute uri: [http://tiles.apache.org/tags-tiles]
> cannot be resolved
>
> [You don't often get email from lukaszlen...@apache.org. Learn why this
> is important at 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.
>
>
> Do you run it from within Eclipse? Is it related to this bug?
>
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D493277&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Ca5f00fd3a5db4eb6e13608dc3a9b1548%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638449684974577968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WrSCgoDNpbRgUte9ccgOSzzzCjFdyFdga9JZ8%2FGXuqM%3D&reserved=0
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=493277>
>
> I just tested the example tiles app on Jetty and everything was ok
>
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts-examples%2Ftree%2Fmaster%2Ftiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Ca5f00fd3a5db4eb6e13608dc3a9b1548%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638449684974587840%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=95%2Fvboy%2FlrLqV9AY72OddfjEOruH9eUN77LptzUPKzk%3D&reserved=0
> <https://github.com/apache/struts-examples/tree/master/tiles>
>
> czw., 29 lut 2024 o 10:40 SARAVANAN SIVAGURU
>  napisał(a):
> >
> > Any help on my below query would be really appreciated.
> > Thanks in advance.
> >
> > Regards,
> > Saravanan.S
>


Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-03-06 Thread SARAVANAN SIVAGURU
Hi Luk

It was working fine now; I was customizing the code to do add some extra logs 
for debugging . At that time I missed the tld folder which was available as a 
part of the source code which caused the problem.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:be33ff14-baff-42d5-bca1-b8fa5daaf1df]
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: Lukasz Lenart 
Sent: Saturday, March 2, 2024 2:55 PM
To: Struts Users Mailing List 
Subject: Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be 
resolved

[You don't often get email from lukaszlen...@apache.org. Learn why this is 
important at 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.


Do you run it from within Eclipse? Is it related to this bug?
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D493277&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Ca5f00fd3a5db4eb6e13608dc3a9b1548%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638449684974577968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WrSCgoDNpbRgUte9ccgOSzzzCjFdyFdga9JZ8%2FGXuqM%3D&reserved=0<https://bugs.eclipse.org/bugs/show_bug.cgi?id=493277>

I just tested the example tiles app on Jetty and everything was ok
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts-examples%2Ftree%2Fmaster%2Ftiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Ca5f00fd3a5db4eb6e13608dc3a9b1548%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638449684974587840%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=95%2Fvboy%2FlrLqV9AY72OddfjEOruH9eUN77LptzUPKzk%3D&reserved=0<https://github.com/apache/struts-examples/tree/master/tiles>

czw., 29 lut 2024 o 10:40 SARAVANAN SIVAGURU
 napisał(a):
>
> Any help on my below query would be really appreciated.
> Thanks in advance.
>
> Regards,
> Saravanan.S
> 
> From: SARAVANAN SIVAGURU 
> Sent: Tuesday, February 27, 2024 8:39 PM
> To: user@struts.apache.org 
> Subject: Re: The absolute uri: 
> [https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftiles.apache.org%2Ftags-tiles&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Ca5f00fd3a5db4eb6e13608dc3a9b1548%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638449684974593977%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=R3v8FIpjkQqHYrAYY7meQ57qdFdctVL52COcl1QY7rM%3D&reserved=0<http://tiles.apache.org/tags-tiles>]
>  cannot be resolved
>
> 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.
>
>
> As the attachment doesn't pop up am reattaching the files in a zip folder.
>
> Thanks and Regards,
> Saravanan.S

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-03-02 Thread Lukasz Lenart
Please create a new thread instead of mixing in into totally different
discussion

czw., 29 lut 2024 o 01:53 Mahabir Gupta  napisał(a):
>
> Hi I am doing a struts2 upgrade to struts 6.3.0.2. When I am uploading a
> file I am getting java.lang.noclassdeffounderror: could not initialise
> class org.apache.poi.ooxml.poixmltypeloader. I am using poi-5.2.5,
> poi-ooxml-5.2.5 and poi-ooxml-lite-5.2.5 jar files.
> Please advise. Thank you.
>
> Regards
> Mahabir
>
> On Tue, Feb 27, 2024 at 11:13 PM SARAVANAN SIVAGURU
>  wrote:
>
> > As the attachment doesn't pop up am reattaching the files in a zip folder.
> >
> > Thanks and Regards,
> > Saravanan.S
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-03-02 Thread Lukasz Lenart
Do you run it from within Eclipse? Is it related to this bug?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=493277

I just tested the example tiles app on Jetty and everything was ok
https://github.com/apache/struts-examples/tree/master/tiles

czw., 29 lut 2024 o 10:40 SARAVANAN SIVAGURU
 napisał(a):
>
> Any help on my below query would be really appreciated.
> Thanks in advance.
>
> Regards,
> Saravanan.S
> 
> From: SARAVANAN SIVAGURU 
> Sent: Tuesday, February 27, 2024 8:39 PM
> To: user@struts.apache.org 
> Subject: Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be 
> resolved
>
> 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.
>
>
> As the attachment doesn't pop up am reattaching the files in a zip folder.
>
> Thanks and Regards,
> Saravanan.S

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-02-29 Thread SARAVANAN SIVAGURU
Any help on my below query would be really appreciated.
Thanks in advance.

Regards,
Saravanan.S

From: SARAVANAN SIVAGURU 
Sent: Tuesday, February 27, 2024 8:39 PM
To: user@struts.apache.org 
Subject: Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be 
resolved

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.


As the attachment doesn't pop up am reattaching the files in a zip folder.

Thanks and Regards,
Saravanan.S


Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-02-28 Thread Mahabir Gupta
Hi I am doing a struts2 upgrade to struts 6.3.0.2. When I am uploading a
file I am getting java.lang.noclassdeffounderror: could not initialise
class org.apache.poi.ooxml.poixmltypeloader. I am using poi-5.2.5,
poi-ooxml-5.2.5 and poi-ooxml-lite-5.2.5 jar files.
Please advise. Thank you.

Regards
Mahabir

On Tue, Feb 27, 2024 at 11:13 PM SARAVANAN SIVAGURU
 wrote:

> As the attachment doesn't pop up am reattaching the files in a zip folder.
>
> Thanks and Regards,
> Saravanan.S
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>


Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-02-27 Thread SARAVANAN SIVAGURU
As the attachment doesn't pop up am reattaching the files in a zip folder.

Thanks and Regards,
Saravanan.S
<>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-02-27 Thread SARAVANAN SIVAGURU
Hi Team

When I try to run the application with struts2-tiles-plugin 6.3.0.2 on Apache 
tomee 8.0.14 container am getting the following error,
The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved in 
either web.xml or the jar files deployed with this application

Please find the attachment screenshot for the same.
Also am attaching the web.xml file, index.jsp file, includePageSettings.jsp 
file and includeImports.jsp file
Only the import file includeImports.jsp file contains,
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"; %>

I tried to google much to resolve the issue and also tried looking on the 
archive email of Apache community, but nothing helped me.

Could anyone please suggest a possible solution for my above issue.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:9772c854-0c64-402d-9ea7-692abea13aa4]
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

Re: Requesting support on struts tiles plugin migration

2024-02-26 Thread SARAVANAN SIVAGURU
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 
Sent: Monday, February 26, 2024 5:05 PM
To: 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 
Sent: Friday, February 23, 2024 5:51 PM
To: user@struts.apache.org 
Subject: Re: Requesting support on struts tiles plugin migration

Hi Luk

Yes, I am using the Struts Tiles Listener already


  org.apache.struts2.tiles.StrutsTilesListener


If I didn't mention below context param,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


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


Re: Requesting support on struts tiles plugin migration

2024-02-26 Thread Dave Newton
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
 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 
> *Sent:* Friday, February 23, 2024 5:51 PM
> *To:* user@struts.apache.org 
> *Subject:* Re: Requesting support on struts tiles plugin migration
>
> Hi Luk
>
> Yes, I am using the Struts Tiles Listener already
>
> 
>   
> org.apache.struts2.tiles.StrutsTilesListener
> 
>
> If I didn't mention below context param,
>
> 
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
>
> 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


Re: Requesting support on struts tiles plugin migration

2024-02-23 Thread Dave Newton
(Tangential: please consider subscribing to the Struts User mailing list,
currently we have to manually approve your emails 👍🏻)

em: davelnew...@gmail.com
mo: 908-380-8699
gh: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
bl: Maker's End Blog <https://blog.makersend.com>



On Fri, Feb 23, 2024 at 08:14 SARAVANAN SIVAGURU
 wrote:

> Hi Luk
>
> Yes, I am using the Struts Tiles Listener already
>
> 
>   
> org.apache.struts2.tiles.StrutsTilesListener
> 
>
> If I didn't mention below context param,
>
> 
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
>
> 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
>


Re: Requesting support on struts tiles plugin migration

2024-02-23 Thread SARAVANAN SIVAGURU
Hi Luk

Yes, I am using the Struts Tiles Listener already


  org.apache.struts2.tiles.StrutsTilesListener


If I didn't mention below context param,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


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


Re: Requesting support on struts tiles plugin migration

2024-02-22 Thread Łukasz Lenart
czw., 22 lut 2024 o 14:41 SARAVANAN SIVAGURU
 napisał(a):

> 
>
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
> 
>   
> org.apache.tiles.context.AbstractTilesApplicationContextFactory
>   
> org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContextFactory
> 
>
>
AbstractTilesApplicationContextFactory is not supported anymore (I don't
see a reference to it in Tiles 3), what listener do you use in web.xml?

I would suggest setting up


org.apache.struts2.tiles.StrutsTilesListener


and get rid of the whole  section above.

You can try to use one of the Feature-Complete configuration
https://tiles.apache.org/framework/config-reference.html


Cheers
Lukasz


Re: Requesting support on struts tiles plugin migration

2024-02-22 Thread SARAVANAN SIVAGURU
Hi Luk

Yes, it was my custom build. I am going to try migrating to tiles 3.X if 
nothing works for me with the plugin.
We have built a inhouse framework by using struts and tiles to have common GUI 
across our intranet applications.

Also could you please see and let me know whether am doing anything wrong on 
the below,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


  
org.apache.tiles.context.AbstractTilesApplicationContextFactory
  
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContextFactory


The expectation is load the tiles configuration files from the local 
application and also from the dependent application . When I try to load via 
wildcard am facing issue, also am not able to load even the file which 
available native to the application.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:fee7b277-dad6-4f32-9cb9-acfc29929c1f]
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 
Sent: Monday, February 19, 2024 4:19 PM
To: user@struts.apache.org 
Subject: Requesting support on struts tiles plugin migration

Hi Team

I am trying to migrate the Apache Tiles(tiles-core, tiles-jsp and 
tiles-servlet) 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2
As a part of this migration, I have performed necessary changes on the 
tiles.xml files as per the document.

Currently I have been struck on the following issue,
When I tried to load the jsp page I got the following error but am not sure 
what and where I did mistake to proceed further.
Note:- Screen name is the placeholder, it is the name of the screen defined in 
the jsp file
JSP Content:

<%-- Screen Name --%>


Error:
exception=javax.servlet.jsp.JspException: Screen 
com.acnielsen.ftms.common.portal could not be found in any context
javax.servlet.jsp.JspException: Screen com.acnielsen.ftms.common.portal could 
not be found in any context
at 
org.apache.jsp.org.kawa.template.layout.basicLayout_jsp._jspService(basicLayout_jsp.java:330)
 [ftmsconsole/:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466) 
[jasper.jar:9.0.71]
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) 
[jasper.jar:9.0.71]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
 [catalina.jar:9.0.71]

Build.gradle:

api("org.apache.struts:struts2-core:6.3.0.2")
api('org.apache.struts:struts2-tiles-plugin:6.3.0.2')

Possible to give any suggestions on how to resolve the issue.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:015be87a-22ae-4606-a75d-d3854b7c744f]
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


Re: Requesting support on struts tiles plugin migration

2024-02-19 Thread Lukasz Lenart
What is "Screen xxx could not be found in any context"? Is it your custom
code?
I would suggest migrating to standalone Tiles 3 first and then migrate to
the Struts Tiles in Struts 6.x.

pon., 19 lut 2024 o 12:28 SARAVANAN SIVAGURU
 napisał(a):

> Hi Team
>
> I am trying to migrate the Apache Tiles(tiles-core, tiles-jsp and
> tiles-servlet) 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2
> As a part of this migration, I have performed necessary changes on the
> tiles.xml files as per the document.
>
> Currently I have been struck on the following issue,
> When I tried to load the jsp page I got the following error but am not
> sure what and where I did mistake to proceed further.
> Note:- Screen name is the placeholder, it is the name of the screen
> defined in the jsp file
> *JSP Content:*
>
> <%-- Screen Name --%>
>  value="com.acnielsen.ftms.common.portal" />
>
> *Error:*
> exception=javax.servlet.jsp.JspException: Screen
> com.acnielsen.ftms.common.portal could not be found in any context
> javax.servlet.jsp.JspException: Screen com.acnielsen.ftms.common.portal could
> not be found in any context
> at
> org.apache.jsp.org.kawa.template.layout.basicLayout_jsp._jspService(basicLayout_jsp.java:330)
> [ftmsconsole/:?]
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> [jasper.jar:9.0.71]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
> [servlet-api.jar:4.0.FR]
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
> [jasper.jar:9.0.71]
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
> [jasper.jar:9.0.71]
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
> [jasper.jar:9.0.71]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
> [servlet-api.jar:4.0.FR]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
> [catalina.jar:9.0.71]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [catalina.jar:9.0.71]
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
> [catalina.jar:9.0.71]
>
> *Build.gradle:*
>
> api("org.apache.struts:struts2-core:6.3.0.2")
> api('org.apache.struts:struts2-tiles-plugin:6.3.0.2')
>
> Possible to give any suggestions on how to resolve the issue.
>
> 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
>


Requesting support on struts tiles plugin migration

2024-02-19 Thread SARAVANAN SIVAGURU
Hi Team

I am trying to migrate the Apache Tiles(tiles-core, tiles-jsp and 
tiles-servlet) 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2
As a part of this migration, I have performed necessary changes on the 
tiles.xml files as per the document.

Currently I have been struck on the following issue,
When I tried to load the jsp page I got the following error but am not sure 
what and where I did mistake to proceed further.
Note:- Screen name is the placeholder, it is the name of the screen defined in 
the jsp file
JSP Content:

<%-- Screen Name --%>


Error:
exception=javax.servlet.jsp.JspException: Screen 
com.acnielsen.ftms.common.portal could not be found in any context
javax.servlet.jsp.JspException: Screen com.acnielsen.ftms.common.portal could 
not be found in any context
at 
org.apache.jsp.org.kawa.template.layout.basicLayout_jsp._jspService(basicLayout_jsp.java:330)
 [ftmsconsole/:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466) 
[jasper.jar:9.0.71]
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) 
[jasper.jar:9.0.71]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
 [catalina.jar:9.0.71]

Build.gradle:

api("org.apache.struts:struts2-core:6.3.0.2")
api('org.apache.struts:struts2-tiles-plugin:6.3.0.2')

Possible to give any suggestions on how to resolve the issue.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:015be87a-22ae-4606-a75d-d3854b7c744f]
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


NoSuchMethodError org/apache/tiles/template/InsertAttributeModel.execute after migrate from 2.5.25 to struts 6.3.0.2

2024-01-12 Thread ndeleon
hi Lukasz,

I am not able to post on the struts user group.
I am reposting my issue below. thanks.

Hi,

Need help.

We use struts 2.5.25 with Tiles 3.

We migrated struts 2.5.25 to struts 6.3.0.2, we hit error, see below, log from 
websphere app server version 9.0.5.

[1/11/24 12:02:32:792 EST] 00f4 ServletWrappe E 
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught 
service() exception root cause /cris/template/template.jsp: 
com.ibm.websphere.servlet.error.ServletErrorReport: 
java.lang.NoSuchMethodError: 
org/apache/tiles/template/InsertAttributeModel.execute(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/tiles/Attribute;ZLorg/apache/tiles/request/Request;Lorg/apache/tiles/autotag/core/runtime/ModelBody;)V
 (loaded from 
file:/C:/Program%20Files/ibm/WebSphere/AppServer_1/profiles/AppSrv01/installedApps/weds/BBSear.ear/BBS.ear/BBSWeb.war/WEB-INF/lib/struts2-tiles-plugin-6.3.0.2.jar
 by com.ibm.ws.classloader.CompoundClassLoader@d53dbbf4[war:BBS/BBSWeb.war]

Can you please assist us.

Thanks.


Noel Deleon
CRIS/ICRIS, 201-828-8524






-Original Message-
From: Lukasz Lenart  
Sent: Friday, January 12, 2024 8:02 AM
To: Noel Deleon 
Cc: user@struts.apache.org
Subject: Re: [EXTERNAL] Re: Trouble with  tag after upgrading from 
struts v2.5.31 to v6.3.0.2

Hi Noel,

Could you start a new thread? Messing up with different topics won't help :)

Cheers
Lukasz

pt., 12 sty 2024 o 13:59  napisał(a):
>
> Hi,
>
> Need help.
>
> We use struts 2.5.25 with Tiles 3.
>
> We migrated struts 2.5.25 to struts 6.3.0.2, we hit error, see below, log 
> from websphere app server version 9.0.5.
>
> [1/11/24 12:02:32:792 EST] 00f4 ServletWrappe E 
> com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: 
> Uncaught service() exception root cause /cris/template/template.jsp: 
> com.ibm.websphere.servlet.error.ServletErrorReport: 
> java.lang.NoSuchMethodError: 
> org/apache/tiles/template/InsertAttributeModel.execute(ZLjava/lang
> /String;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Str
> ing;Ljava/lang/String;Ljava/lang/String;Lorg/apache/tiles/
> Attribute;ZLorg/apache/tiles/request/Request;Lorg/apache/tiles
> /autotag/core/runtime/ModelBody;)V (loaded from 
> file:/C:/Program%20Files/ibm/WebSphere/AppServer_1/profiles/AppSrv
> 01/installedApps/weds/BBSear.ear/BBS.ear/BBSWeb.war/WEB-INF/lib/struts
> 2-tiles-plugin-6.3.0.2.jar by 
> com.ibm.ws.classloader.CompoundClassLoader@d53dbbf4[war:BBS/BBSWeb.war
> ]
>
> Can you please assist us.
>
> Thanks.
>
>
> Noel Deleon
> CRIS/ICRIS, 201-828-8524
>
>
>
>
>
>
>
>
> -Original Message-
> From: Lukasz Lenart 
> Sent: Friday, January 12, 2024 12:40 AM
> To: Struts Users Mailing List 
> Subject: [EXTERNAL] Re: Trouble with  tag after upgrading 
> from struts v2.5.31 to v6.3.0.2
>
> CAUTION! This email originated outside of the organization. Please do not 
> open attachments or click links from an unknown or suspicious origin.
>
> ==
> czw., 11 sty 2024 o 22:49 Burton Rhodes  napisał(a):
> >
> > If I were to guess they removed the "?no_esc" flag in version 6.x in 
> > the .ftl file.  That said, it's easy to override this.  (Assuming 
> > you are using the Struts "simple" template) Locate the file 
> > [struts2-core-6.3.0.2.jar]\template\simple\radiomap.ftl  and copy it 
> > into your resources directory with the same tree:
> > resource\\template\simple\radiomap.ftl
> >
> > Then towards the end of the ftl file you will see the  tag.
> > Just add "?no_esc" to the ${itemValue}.  Like this...
> >
> >  > "_")}"<#include 
> > "/${parameters.templateDir}/${parameters.expandTheme}/css.ftl"/>><#rt/>
> >  ${itemValue?no_esc}<#t/>
> > 
> >
> > They most likely removed it due to security issues, but feel free to 
> > change if you feel it's "safe".  I tested the above code and it 
> > worked for me.
>
> Thanks Burton for the solution! The issue is rather simple, a new Freemarker 
> version escapes everything automatically, so we had to unescape everything. 
> Yet in this case there was never ?no_esc flag as this worked fine with older 
> versions of Freemarker. Adding ?no_esc shouldn't be a security issue IMHO. 
> Feel free to create a ticket in JIRA to address this problem.
>
> Cheers
> Łukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>


Re: CVE-2023-49735 in Apache Tiles

2024-01-10 Thread Lukasz Lenart
One correction: I missed the word "onwards" which means Tiles 3 is also
affected, yet I assume the report itself is invalid.


Re: CVE-2023-49735 in Apache Tiles

2024-01-10 Thread Sebastian Götz

This is a good idea. I will post to the security group.

Am 10.01.2024 um 12:22 schrieb Lukasz Lenart:

Hi Sebastian,

To be honest I have no idea why this triggers any alert. The 
vulnerability targets Tiles 2.0 [1] while Struts (even before merging 
the codebase) is using Tiles 3 which shouldn't be affected. This could 
be an issue of false positive alert in OWASP. Also the vulnerability 
report looks suspicious as it mentions of manipulating the session 
attribute DefaultLocaleResolver.LOCALE_KEY by a user - based on the 
tiles-test example [2] I can say it's a developer fault not a library 
vulnerability, report is invalid IMO.


We can move this discussion to security@struts.a.o to get support from 
ASF Security gurus.


[1] https://lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p
[2] 
https://github.com/apache/tiles/blob/TILES_2_1_X/tiles-test/src/main/java/org/apache/tiles/test/servlet/SelectLocaleServlet.java#L81-L102



Cheers
Łukasz

śr., 10 sty 2024 o 11:08 Sebastian Götz  
napisał(a):


Hi Lukasz,

happy new year to you and everyone as well!

Unfortunately I had some trouble with the mailing list and thus
did not receive your reply. I have found it browsing the group by
browser and so I post your reply here for reference:

Happy New Year!

    The Tiles codebase has been copied into the Struts Tiles plugin
[1] and it's a part of the Struts 6.3.0 right now. Migrating to
this version should solve the problem. And we (Struts) are going
to maintain the Tiles codebase under the plugin, so no worries :)
[1] https://issues.apache.org/jira/browse/WW-5233 Cheers Łukasz

I am very glad to hear that we do not have to move away from Tiles
as it is a core of our product. We are running the OWASP
dependency checker during the build. As we are on Struts 6.3.0.2
already, which shoul dbe the most recent version, I am not quite
clear what to do now as the checker still marks
    struts-tiles-plugin.jar as vulnerable:

Dependency-Check Failure: One or more dependencies were identified
with vulnerabilities that have a CVSS score greater than or equal
to '7,0': struts2-tiles-plugin.jar: CVE-2023-49735

So my question is: can we treat this as a false positive or is the
vulnerability still there and we need to wait for fix version?

Kind regards

Sebastian


Am 02.01.2024 um 09:57 schrieb Sebastian Götz:

Hello to anybody and an happy new year!

Our dependency check startet to fail last year already marking
struts2-tiles-plugin as the source of a security issue. As the
    plugin uses Apache Tiles 3.0.8 underneath it is affected by
CVE-2023-49735.
Now as we use the struts-tiles-plugin to build our web pages and
the Tiles project is already retired, can somebody of the team
explain how to mitigate the security issue (besides moving away
from Tiles completely)?

Kind regards

Sebastian




-- 


Mit freundlichen Grüßen
iNFORM Technology GmbH

Sebastian Götz

*

iNFORM Technology GmbH
Berliner Straße 24
72458 Albstadt-Ebingen

Tel: +49 7431 9816090
s.go...@inform-technology.de
http://www.inform-technology.de/

*

<https://www.facebook.com/informTechnologyGmbH/>

Geschäftsführer: Christian Wanner | Handelsregister: HRB 773712,
Amtsgericht Stuttgart | USt-ID Nr.: DE312290945

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail. Das unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
gestattet.

This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is
strictly forbidden.



--

Mit freundlichen Grüßen
iNFORM Technology GmbH

Sebastian Götz

*

iNFORM Technology GmbH
Berliner Straße 24
72458 Albstadt-Ebingen

Tel: +49 7431 9816090
s.go...@inform-technology.de
http://www.inform-technology.de/

*

<https://www.facebook.com/informTechnologyGmbH/>

Geschäftsführer: Christian Wanner | Handelsregister: HRB 773712, 
Amtsgericht Stuttgart | USt-ID Nr.: DE312290945


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mai

Re: CVE-2023-49735 in Apache Tiles

2024-01-10 Thread Lukasz Lenart
Hi Sebastian,

To be honest I have no idea why this triggers any alert. The
vulnerability targets Tiles 2.0 [1] while Struts (even before merging the
codebase) is using Tiles 3 which shouldn't be affected. This could be an
issue of false positive alert in OWASP. Also the vulnerability report looks
suspicious as it mentions of manipulating the session
attribute DefaultLocaleResolver.LOCALE_KEY by a user - based on the
tiles-test example [2] I can say it's a developer fault not a library
vulnerability, report is invalid IMO.

We can move this discussion to security@struts.a.o to get support from ASF
Security gurus.

[1] https://lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p
[2]
https://github.com/apache/tiles/blob/TILES_2_1_X/tiles-test/src/main/java/org/apache/tiles/test/servlet/SelectLocaleServlet.java#L81-L102


Cheers
Łukasz

śr., 10 sty 2024 o 11:08 Sebastian Götz 
napisał(a):

> Hi Lukasz,
>
> happy new year to you and everyone as well!
>
> Unfortunately I had some trouble with the mailing list and thus did not
> receive your reply. I have found it browsing the group by browser and so I
> post your reply here for reference:
>
> Happy New Year!
> The Tiles codebase has been copied into the Struts Tiles plugin [1] and
> it's a part of the Struts 6.3.0 right now. Migrating to this version should
> solve the problem. And we (Struts) are going to maintain the Tiles codebase
> under the plugin, so no worries :) [1]
> https://issues.apache.org/jira/browse/WW-5233 Cheers Łukasz
>
> I am very glad to hear that we do not have to move away from Tiles as it
> is a core of our product. We are running the OWASP dependency checker
> during the build. As we are on Struts 6.3.0.2 already, which shoul dbe the
> most recent version, I am not quite clear what to do now as the checker
> still marks struts-tiles-plugin.jar as vulnerable:
>
> Dependency-Check Failure:
> One or more dependencies were identified with vulnerabilities that have a 
> CVSS score greater than or equal to '7,0':
> struts2-tiles-plugin.jar: CVE-2023-49735
>
> So my question is: can we treat this as a false positive or is the
> vulnerability still there and we need to wait for fix version?
>
> Kind regards
>
> Sebastian
>
>
> Am 02.01.2024 um 09:57 schrieb Sebastian Götz:
>
> Hello to anybody and an happy new year!
>
> Our dependency check startet to fail last year already marking
> struts2-tiles-plugin as the source of a security issue. As the plugin uses
> Apache Tiles 3.0.8 underneath it is affected by CVE-2023-49735.
> Now as we use the struts-tiles-plugin to build our web pages and the Tiles
> project is already retired, can somebody of the team explain how to
> mitigate the security issue (besides moving away from Tiles completely)?
>
> Kind regards
>
> Sebastian
>
>
>
>
> --
>
> Mit freundlichen Grüßen
> iNFORM Technology GmbH
>
> Sebastian Götz
>
> *
>
> iNFORM Technology GmbH
> Berliner Straße 24
> 72458 Albstadt-Ebingen
>
> Tel: +49 7431 9816090
> s.go...@inform-technology.de
> http://www.inform-technology.de/
>
> *
>
> <https://www.facebook.com/informTechnologyGmbH/>
>
> Geschäftsführer: Christian Wanner | Handelsregister: HRB 773712,
> Amtsgericht Stuttgart | USt-ID Nr.: DE312290945
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorised copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
>


Re: CVE-2023-49735 in Apache Tiles

2024-01-10 Thread Sebastian Götz

Hi Lukasz,

happy new year to you and everyone as well!

Unfortunately I had some trouble with the mailing list and thus did not 
receive your reply. I have found it browsing the group by browser and so 
I post your reply here for reference:


Happy New Year!

The Tiles codebase has been copied into the Struts Tiles plugin [1] and 
it's a part of the Struts 6.3.0 right now. Migrating to this version 
should solve the problem. And we (Struts) are going to maintain the 
Tiles codebase under the plugin, so no worries :) [1] 
https://issues.apache.org/jira/browse/WW-5233 Cheers Łukasz


I am very glad to hear that we do not have to move away from Tiles as it 
is a core of our product. We are running the OWASP dependency checker 
during the build. As we are on Struts 6.3.0.2 already, which shoul dbe 
the most recent version, I am not quite clear what to do now as the 
checker still marks struts-tiles-plugin.jar as vulnerable:


Dependency-Check Failure: One or more dependencies were identified with 
vulnerabilities that have a CVSS score greater than or equal to '7,0': 
struts2-tiles-plugin.jar: CVE-2023-49735


So my question is: can we treat this as a false positive or is the 
vulnerability still there and we need to wait for fix version?


Kind regards

Sebastian


Am 02.01.2024 um 09:57 schrieb Sebastian Götz:

Hello to anybody and an happy new year!

Our dependency check startet to fail last year already marking 
struts2-tiles-plugin as the source of a security issue. As the plugin 
uses Apache Tiles 3.0.8 underneath it is affected by CVE-2023-49735.
Now as we use the struts-tiles-plugin to build our web pages and the 
Tiles project is already retired, can somebody of the team explain how 
to mitigate the security issue (besides moving away from Tiles 
completely)?


Kind regards

Sebastian





--

Mit freundlichen Grüßen
iNFORM Technology GmbH

Sebastian Götz

*

iNFORM Technology GmbH
Berliner Straße 24
72458 Albstadt-Ebingen

Tel: +49 7431 9816090
s.go...@inform-technology.de
http://www.inform-technology.de/

*

<https://www.facebook.com/informTechnologyGmbH/>

Geschäftsführer: Christian Wanner | Handelsregister: HRB 773712, 
Amtsgericht Stuttgart | USt-ID Nr.: DE312290945


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie 
die unbefugte Weitergabe dieser Mail ist nicht gestattet.


This e-mail may contain confidential and/or privileged information. If 
you are not the intended recipient (or have received this e-mail in 
error) please notify the sender immediately and destroy this e-mail. Any 
unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

Re: CVE-2023-49735 in Apache Tiles

2024-01-02 Thread Lukasz Lenart
wt., 2 sty 2024 o 13:34 Sebastian Götz 
napisał(a):
> Hello to anybody and an happy new year!

Happy New Year!

> Our dependency check startet to fail last year already marking
> struts2-tiles-plugin as the source of a security issue. As the plugin
> uses Apache Tiles 3.0.8 underneath it is affected by CVE-2023-49735.
> Now as we use the struts-tiles-plugin to build our web pages and the
> Tiles project is already retired, can somebody of the team explain how
> to mitigate the security issue (besides moving away from Tiles completely)?

The Tiles codebase has been copied into the Struts Tiles plugin [1]
and it's a part of the Struts 6.3.0 right now. Migrating to this
version should solve the problem. And we (Struts) are going to
maintain the Tiles codebase under the plugin, so no worries :)

[1] https://issues.apache.org/jira/browse/WW-5233


Cheers
Łukasz

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



CVE-2023-49735 in Apache Tiles

2024-01-02 Thread Sebastian Götz

Hello to anybody and an happy new year!

Our dependency check startet to fail last year already marking 
struts2-tiles-plugin as the source of a security issue. As the plugin 
uses Apache Tiles 3.0.8 underneath it is affected by CVE-2023-49735.
Now as we use the struts-tiles-plugin to build our web pages and the 
Tiles project is already retired, can somebody of the team explain how 
to mitigate the security issue (besides moving away from Tiles completely)?


Kind regards

Sebastian





-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles in Struts 6.2.0

2023-08-17 Thread Lukasz Lenart
śr., 16 sie 2023 o 12:44 Yew Hwa Ho  napisał(a):
>
> Hi Lukasz,
>
> Can I check if there is a timeline for the release of Struts 6.2 version
> which contains the integrated Tiles package?

Tiles will be integrated into Struts 6.3.0 - 6.2.0 has been already
released [1]. And all the important issues discovered after releasing
6.2.0 have been addressed [2] so I expect to have a new RC soon - you
can test the previous RC1 [3] if you want to

[1] https://struts.apache.org/announce-2023#a20230710
[2] https://issues.apache.org/jira/projects/WW/versions/12353383
[3] https://lists.apache.org/thread/1x07o23p8wz5863f7jxdg8lfjzdbxg47


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles in Struts 6.2.0

2023-08-16 Thread Yew Hwa Ho
Hi Lukasz,

Can I check if there is a timeline for the release of Struts 6.2 version
which contains the integrated Tiles package?


Thank you.

Regards,
Yew Hwa


On Fri, Jul 14, 2023 at 1:58 PM Lukasz Lenart 
wrote:

> czw., 13 lip 2023 o 04:06 Yew Hwa Ho  napisał(a):
> > With the release of Struts 6.2.0, can I check if Tiles has been directly
> > ported to Struts Tiles plugin and is no longer using the Tiles project?
>
> No, we are going to release a new version soon which will contain the
> integrated Tiles package. I will prepare a RC version first to check
> if everything is ok.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Tiles in Struts 6.2.0

2023-07-13 Thread Lukasz Lenart
czw., 13 lip 2023 o 04:06 Yew Hwa Ho  napisał(a):
> With the release of Struts 6.2.0, can I check if Tiles has been directly
> ported to Struts Tiles plugin and is no longer using the Tiles project?

No, we are going to release a new version soon which will contain the
integrated Tiles package. I will prepare a RC version first to check
if everything is ok.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Tiles in Struts 6.2.0

2023-07-12 Thread Yew Hwa Ho
Hi Lukasz,

With the release of Struts 6.2.0, can I check if Tiles has been directly
ported to Struts Tiles plugin and is no longer using the Tiles project?


Thank you.

Regards,
Yew Hwa


Re: Query regarding Tiles in Struts

2023-03-29 Thread Lukasz Lenart
czw., 30 mar 2023 o 03:12 Yew Hwa Ho  napisał(a):
>
> Hi Lukasz,
>
> May I check when Tiles will be merged into the Struts code base? Is there a
> timeline for that?

There is no exact date but I plan to include this change in incoming
Struts 6.2.0 - yet there is discussion to bring Tiles back to live.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Query regarding Tiles in Struts

2023-03-29 Thread Yew Hwa Ho
Hi Lukasz,

May I check when Tiles will be merged into the Struts code base? Is there a
timeline for that?

Thank you.

Regards,
Yew HWa


Re: Query regarding Tiles in Struts

2022-11-22 Thread Lukasz Lenart
wt., 22 lis 2022 o 11:53 Yew Hwa Ho  napisał(a):
>
> Hi Lukasz,
>
> Thank you for your reply.
>
> In the event that Tiles 3.0.8 in the current versions of Struts has CVE,
> will the Struts team be providing the fixes for the CVE.

Do you refer to that https://devhub.checkmarx.com/cve-details/Cx78f40514-81ff/ ?

If so, this is a vulnerability in a third-party library, which isn't
used by Struts, which means the problem will be automatically
addressed once Tiles gets merged into Struts code base.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Query regarding Tiles in Struts

2022-11-22 Thread Yew Hwa Ho
Hi Lukasz,

Thank you for your reply.

In the event that Tiles 3.0.8 in the current versions of Struts has CVE,
will the Struts team be providing the fixes for the CVE.

Thank you.

Regards,
Yew Hwa


On Tue, Nov 22, 2022 at 4:37 PM Lukasz Lenart 
wrote:

> wt., 22 lis 2022 o 08:30 Yew Hwa Ho  napisał(a):
> > I understand that the Apache Tiles has already retired (
> > https://tiles.apache.org/). However Tiles is still being used in Struts
> > framework (both in version 2 and 6). Can I check if Tiles is currently
> > being maintained by Struts if CVE is found?
>
> We are porting Tiles directly into the Struts Tiles plugin, which
> means we won't be using the Tiles project but our own copy. And if
> CVEs are reported regarding our copy, we will try to address them.
> Yet, this is still work-in-progress and probably will be added in
> Struts 6.2.0 or even in Struts 7.0.0
> https://github.com/apache/struts/pull/608
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Query regarding Tiles in Struts

2022-11-22 Thread Lukasz Lenart
wt., 22 lis 2022 o 08:30 Yew Hwa Ho  napisał(a):
> I understand that the Apache Tiles has already retired (
> https://tiles.apache.org/). However Tiles is still being used in Struts
> framework (both in version 2 and 6). Can I check if Tiles is currently
> being maintained by Struts if CVE is found?

We are porting Tiles directly into the Struts Tiles plugin, which
means we won't be using the Tiles project but our own copy. And if
CVEs are reported regarding our copy, we will try to address them.
Yet, this is still work-in-progress and probably will be added in
Struts 6.2.0 or even in Struts 7.0.0
https://github.com/apache/struts/pull/608


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Query regarding Tiles in Struts

2022-11-21 Thread Yew Hwa Ho
Hi ,

I understand that the Apache Tiles has already retired (
https://tiles.apache.org/). However Tiles is still being used in Struts
framework (both in version 2 and 6). Can I check if Tiles is currently
being maintained by Struts if CVE is found?


Thank you.


Apache Tiles

2022-11-21 Thread Yew Hwa Ho
Hi ,

I understand the apache Tiles has already retired (https://tiles.apache.org/).
However Tiles is still being used in Struts framework


Re: Tiles upgrade Path

2020-03-30 Thread Lukasz Lenart
pon., 30 mar 2020 o 16:16 amit vijayvargee 
napisał(a):
> Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting 
> apache tiles 3.0.8 version jars. As you aware of apache tiles project is out 
> of support now. Is there any future plan to remove these dependency from 
> struts?

Not sure if I understand your question, you want to have the
tiles-plugin without dependency on Tiles itself? Or you meant that we
should throw away the tiles-plugin?

> Due to this apache tiles out of support issue we can't upgrade application to 
> newer version of struts.
> Any help or suggestion would be really appreciated.

Re-write your application to avoid using Tiles, then you don't have to
include the tiles-plugin.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles upgrade Path

2020-03-30 Thread amit vijayvargee
Thanks Lukasz  for your quick response.

Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting apache 
tiles 3.0.8 version jars. As you aware of apache tiles project is out of 
support now. Is there any future plan to remove these dependency from struts?

Due to this apache tiles out of support issue we can't upgrade application to 
newer version of struts.
Any help or suggestion would be really appreciated. 

Regards
Amit V

On 2020/03/23 09:51:27, Lukasz Lenart  wrote: 
> pon., 23 mar 2020 o 10:41 amit vijayvargee 
> napisał(a):
> > We are currently looking to migrate struts 2.3 and tiles 2 to newer 
> > version. As per the security scan, existing tiles (2.0) version is 
> > deprecated and reported some vulnerability in it.
> > Could you please help to answer following queries?
> > •   Possible options to migrate to newer version, we are planning to 
> > upgrade to struts 2.5 with tiles plugin, please confirm
> > •   Any migration documentation or reference link would be helpful
> > •   Any challenges/issues during the upgrade cycle?
> 
> Have you read this
> https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration
> ?
> 
> > •   Support lifecycle & maintainability of struts2-tiles-plugin
> 
> Same as Struts
> 
> > •   As per the maven repository struts2-tiles-plugin has only compile 
> > tile dependency upon tiles-jars (core, api etc..) and doesn’t required to 
> > bundle with the deployable artifact (.war)?
> 
> It will be bundled once you will use a propre Maven package format.
> 
> 
> Regards
> -- 
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles upgrade Path

2020-03-25 Thread Ken McWilliams
Tiles and sitemesh are for traditional (non - single page applications)
development. Tiles has performance advantages over sitemesh. I don't think
the OP should experience any blockers with respect to tiles migration and
will gain version 3 benefits as well.

On Wed., Mar. 25, 2020, 10:40 a.m. M Huzaifah 
wrote:

> Hii
>
> Got the differencea in here
> http://tiles.apache.org/framework/tutorial/pattern.html
>
> I have to try using tiles. When i need a Single Page Application approach,
> currently i use one single jsp page that have iframe in it. So the page
> literally have header, footer, sidebar, and iframe for body content. And
> then, when we hit the menu in sidebar, the iframe body should reload with
> page return from normal struts action. I make all pages in struts (not all
> jsp, except selected jsp e.g login, main page, etc) decorated by sitemesh.
>
> Anyone can give me a efective why to build SPA approach in struts2 ?
>
> Regards.
>
>
> On Wed, Mar 25, 2020, 23:19 M Huzaifah  wrote:
>
> > Hii
> >
> > I am not use tiles before, it seems like site mesh. Currently we use
> > sitemesh to decorate page based on url. I checked the tiles its retired.
> I
> > suggest you to use sitemesh. I dont know what is plus using tiles. With
> > sitemesh you don't even use plugin in struts.
> >
> > Thank you...
> >
> > On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
> > wrote:
> >
> >> Hi,
> >>
> >> We are currently looking to migrate struts 2.3 and tiles 2 to newer
> >> version. As per the security scan, existing tiles (2.0) version is
> >> deprecated and reported some vulnerability in it.
> >> Could you please help to answer following queries?
> >> •   Possible options to migrate to newer version, we are planning to
> >> upgrade to struts 2.5 with tiles plugin, please confirm
> >> •   Any migration documentation or reference link would be helpful
> >> •   Any challenges/issues during the upgrade cycle?
> >> •   Support lifecycle & maintainability of struts2-tiles-plugin
> >> •   As per the maven repository struts2-tiles-plugin has only
> compile
> >> tile dependency upon tiles-jars (core, api etc..) and doesn’t required
> to
> >> bundle with the deployable artifact (.war)?
> >>   Thanks in advance.
> >>
> >> Regards,
> >> Amit V
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>


Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii

Got the differencea in here
http://tiles.apache.org/framework/tutorial/pattern.html

I have to try using tiles. When i need a Single Page Application approach,
currently i use one single jsp page that have iframe in it. So the page
literally have header, footer, sidebar, and iframe for body content. And
then, when we hit the menu in sidebar, the iframe body should reload with
page return from normal struts action. I make all pages in struts (not all
jsp, except selected jsp e.g login, main page, etc) decorated by sitemesh.

Anyone can give me a efective why to build SPA approach in struts2 ?

Regards.


On Wed, Mar 25, 2020, 23:19 M Huzaifah  wrote:

> Hii
>
> I am not use tiles before, it seems like site mesh. Currently we use
> sitemesh to decorate page based on url. I checked the tiles its retired. I
> suggest you to use sitemesh. I dont know what is plus using tiles. With
> sitemesh you don't even use plugin in struts.
>
> Thank you...
>
> On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
> wrote:
>
>> Hi,
>>
>> We are currently looking to migrate struts 2.3 and tiles 2 to newer
>> version. As per the security scan, existing tiles (2.0) version is
>> deprecated and reported some vulnerability in it.
>> Could you please help to answer following queries?
>> •   Possible options to migrate to newer version, we are planning to
>> upgrade to struts 2.5 with tiles plugin, please confirm
>> •   Any migration documentation or reference link would be helpful
>> •   Any challenges/issues during the upgrade cycle?
>> •   Support lifecycle & maintainability of struts2-tiles-plugin
>> •   As per the maven repository struts2-tiles-plugin has only compile
>> tile dependency upon tiles-jars (core, api etc..) and doesn’t required to
>> bundle with the deployable artifact (.war)?
>>   Thanks in advance.
>>
>> Regards,
>> Amit V
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>


Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii

I am not use tiles before, it seems like site mesh. Currently we use
sitemesh to decorate page based on url. I checked the tiles its retired. I
suggest you to use sitemesh. I dont know what is plus using tiles. With
sitemesh you don't even use plugin in struts.

Thank you...

On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
wrote:

> Hi,
>
> We are currently looking to migrate struts 2.3 and tiles 2 to newer
> version. As per the security scan, existing tiles (2.0) version is
> deprecated and reported some vulnerability in it.
> Could you please help to answer following queries?
> •   Possible options to migrate to newer version, we are planning to
> upgrade to struts 2.5 with tiles plugin, please confirm
> •   Any migration documentation or reference link would be helpful
> •   Any challenges/issues during the upgrade cycle?
> •   Support lifecycle & maintainability of struts2-tiles-plugin
> •   As per the maven repository struts2-tiles-plugin has only compile
> tile dependency upon tiles-jars (core, api etc..) and doesn’t required to
> bundle with the deployable artifact (.war)?
>   Thanks in advance.
>
> Regards,
> Amit V
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Tiles upgrade Path

2020-03-23 Thread Lukasz Lenart
pon., 23 mar 2020 o 10:41 amit vijayvargee 
napisał(a):
> We are currently looking to migrate struts 2.3 and tiles 2 to newer version. 
> As per the security scan, existing tiles (2.0) version is deprecated and 
> reported some vulnerability in it.
> Could you please help to answer following queries?
> •   Possible options to migrate to newer version, we are planning to 
> upgrade to struts 2.5 with tiles plugin, please confirm
> •   Any migration documentation or reference link would be helpful
> •   Any challenges/issues during the upgrade cycle?

Have you read this
https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration
?

> •   Support lifecycle & maintainability of struts2-tiles-plugin

Same as Struts

> •   As per the maven repository struts2-tiles-plugin has only compile 
> tile dependency upon tiles-jars (core, api etc..) and doesn’t required to 
> bundle with the deployable artifact (.war)?

It will be bundled once you will use a propre Maven package format.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Tiles upgrade Path

2020-03-23 Thread amit vijayvargee
Hi,

We are currently looking to migrate struts 2.3 and tiles 2 to newer version. As 
per the security scan, existing tiles (2.0) version is deprecated and reported 
some vulnerability in it.
Could you please help to answer following queries?
•   Possible options to migrate to newer version, we are planning to 
upgrade to struts 2.5 with tiles plugin, please confirm
•   Any migration documentation or reference link would be helpful
•   Any challenges/issues during the upgrade cycle?
•   Support lifecycle & maintainability of struts2-tiles-plugin
•   As per the maven repository struts2-tiles-plugin has only compile tile 
dependency upon tiles-jars (core, api etc..) and doesn’t required to bundle 
with the deployable artifact (.war)?
  Thanks in advance.

Regards,
Amit V

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: How to share tiles while using both struts 1 and struts 2 during migration?

2017-10-05 Thread ss2...@cornell.edu


On 2017-10-04 05:04, Lukasz Lenart  wrote: 
> 2017-10-03 20:31 GMT+02:00 ss2...@cornell.edu :
> > Hello,
> >
> > I have a struts app which uses both struts 1 and struts 2. While we are 
> > migrating slowly and trying to remove all struts 1 stuff, we want to share 
> > tiles during the migration process across both s1 and s2. While there is 
> > enough documentation demonstrating how to use various versions of plug-ins 
> > and tiles library with either s1 or s2, I couldn't find an example that 
> > explains how to configure and use various plug-ins simultaneously during 
> > migration.
> >
> >  Currently I have the following tiles related config in the web.xml. I use 
> > both the struts 1 filter and struts 2 listener. I always get 404 errors 
> > when I use the same tile def from struts 2.
> >
> > 
> > http://java.sun.com/xml/ns/javaee";
> >   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> >   http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
> >   version="3.0">
> >
> > 
> >
> >   org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> >
> >
> >   /WEB-INF/tiles-defs-.xml
> >
> >
> >
> >   
> > Tiles Filter
> > org.apache.tiles.web.startup.TilesFilter
> > true
> >   
> >
> >   
> > Tiles Filter
> > /*
> > REQUEST,FORWARD,ASYNC
> >   
> >
> >
> >
> >   org.apache.struts2.tiles.StrutsTilesListener
> >
> >
> >
> > Please let me know how to configure correctly so that I can use both s1 and 
> > s2 during migration so that we can test functionality as we migrate each 
> > module.
> 
> This is not possible as far I know, both Struts versions using
> different Tiles versions - Struts 1 is using an embedded version of
> Tiles 1 whereas Struts 2 standalone version of Tiles 2 or 3. You must
> use different DTDs to support both which is not possible using a one
> XML config. Also Struts 1 tags are not compatible with Struts 2 tags,
> you cannot mix them in a one JSP file.
> 
> 
> Regards
> -- 
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> Thanks for confirming this.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: How to share tiles while using both struts 1 and struts 2 during migration?

2017-10-04 Thread Lukasz Lenart
2017-10-03 20:31 GMT+02:00 ss2...@cornell.edu :
> Hello,
>
> I have a struts app which uses both struts 1 and struts 2. While we are 
> migrating slowly and trying to remove all struts 1 stuff, we want to share 
> tiles during the migration process across both s1 and s2. While there is 
> enough documentation demonstrating how to use various versions of plug-ins 
> and tiles library with either s1 or s2, I couldn't find an example that 
> explains how to configure and use various plug-ins simultaneously during 
> migration.
>
>  Currently I have the following tiles related config in the web.xml. I use 
> both the struts 1 filter and struts 2 listener. I always get 404 errors when 
> I use the same tile def from struts 2.
>
> 
> http://java.sun.com/xml/ns/javaee";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
>   http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
>   version="3.0">
>
> 
>
>   org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
>
>
>   /WEB-INF/tiles-defs-.xml
>
>
>
>   
> Tiles Filter
> org.apache.tiles.web.startup.TilesFilter
> true
>   
>
>   
> Tiles Filter
> /*
> REQUEST,FORWARD,ASYNC
>   
>
>
>
>   org.apache.struts2.tiles.StrutsTilesListener
>
>
>
> Please let me know how to configure correctly so that I can use both s1 and 
> s2 during migration so that we can test functionality as we migrate each 
> module.

This is not possible as far I know, both Struts versions using
different Tiles versions - Struts 1 is using an embedded version of
Tiles 1 whereas Struts 2 standalone version of Tiles 2 or 3. You must
use different DTDs to support both which is not possible using a one
XML config. Also Struts 1 tags are not compatible with Struts 2 tags,
you cannot mix them in a one JSP file.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



How to share tiles while using both struts 1 and struts 2 during migration?

2017-10-03 Thread ss2...@cornell.edu
Hello,

I have a struts app which uses both struts 1 and struts 2. While we are 
migrating slowly and trying to remove all struts 1 stuff, we want to share 
tiles during the migration process across both s1 and s2. While there is enough 
documentation demonstrating how to use various versions of plug-ins and tiles 
library with either s1 or s2, I couldn't find an example that explains how to 
configure and use various plug-ins simultaneously during migration.

 Currently I have the following tiles related config in the web.xml. I use both 
the struts 1 filter and struts 2 listener. I always get 404 errors when I use 
the same tile def from struts 2.


http://java.sun.com/xml/ns/javaee";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
  version="3.0">


   
  org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
   
   
  /WEB-INF/tiles-defs-.xml
   
   
   
  
Tiles Filter
org.apache.tiles.web.startup.TilesFilter
true
  

  
Tiles Filter
/*
REQUEST,FORWARD,ASYNC
  

   
   
  org.apache.struts2.tiles.StrutsTilesListener
   
   

Please let me know how to configure correctly so that I can use both s1 and s2 
during migration so that we can test functionality as we migrate each module.

Thanks,
Sai. 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread Lukasz Lenart
Thanks :)

2017-04-17 14:53 GMT+02:00  :
> I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786
> and attached the Logs with level on Trace for org.apache.struts2.tiles.
>
> Thank you for your help and please let me know if I can support you with
> further testing
>
>
>
>
>
> Am 2017-04-14 09:38, schrieb Lukasz Lenart:
>
> Cool, thanks a lot :)
>
> Looks like we have an issue with resolving wildcarded tiles
> definitions as by default Struts will try to find tiles*.xml [1],
> whereas defining them by hand [2] fallbacks to the old behaviour.
>
> Could you setup a log level to TRACE for the org.apache.struts2.tiles
> package and share the results? And feel free to register a bug in
> JIRA.
>
> [1]
> https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java#L106
> [2]
> https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesInitializer.java#L40
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2017-04-12 20:57 GMT+02:00  :
>
> I tried 3 different Tomcat versions on Windows 10. Version 6.0.47,
> 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of
> struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is
> thrown).
>
> But: It is working fine when I define the config by hand! :)
>
> Running on Windows 10 seems to require the config by hand - on linux
> it's working without.
>
> Regards
>
> Ralph
>
> Am 2017-04-12 08:27, schrieb Lukasz Lenart:
>
> 2017-04-11 16:24 GMT+02:00  :
>
> On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
> fine => same source (same war-file) and same Tomcat-Version
>
>
> Did you try to use a different Tomcat version? Did you try to define
> configs by hand?
>
> 
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> 
> /WEB-INF/tiles-1.xml,
> /WEB-INF/tiles-2.xml,
> /WEB-INF/tiles-3.xml,
> /WEB-INF/tiles-4.xml
> 
> 
>
> Regards
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread programmierer
I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786
 and attached the Logs with level on Trace for org.apache.struts2.tiles.


Thank you for your help and please let me know if I can support you with
further testing

Am 2017-04-14 09:38, schrieb Lukasz Lenart:

> Cool, thanks a lot :)
> 
> Looks like we have an issue with resolving wildcarded tiles
> definitions as by default Struts will try to find tiles*.xml [1 [1]],
> whereas defining them by hand [2 [2]] fallbacks to the old behaviour.
> 
> Could you setup a log level to TRACE for the org.apache.struts2.tiles
> package and share the results? And feel free to register a bug in
> JIRA.
> 
> [1] 
> https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java#L106
> [2] 
> https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesInitializer.java#L40
> 
> Regards
> -- 
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> 2017-04-12 20:57 GMT+02:00  : I tried 3 different 
> Tomcat versions on Windows 10. Version 6.0.47,
> 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of
> struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is
> thrown).
> 
> But: It is working fine when I define the config by hand! :)
> 
> Running on Windows 10 seems to require the config by hand - on linux
> it's working without.
> 
> Regards
> 
> Ralph
> 
> Am 2017-04-12 08:27, schrieb Lukasz Lenart:
> 
> 2017-04-11 16:24 GMT+02:00  :
> 
> On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
> fine => same source (same war-file) and same Tomcat-Version 
> Did you try to use a different Tomcat version? Did you try to define
> configs by hand?
> 
> 
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> 
> /WEB-INF/tiles-1.xml,
> /WEB-INF/tiles-2.xml,
> /WEB-INF/tiles-3.xml,
> /WEB-INF/tiles-4.xml
> 
> 
> 
> Regards

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
 

Links:
--
[1]
https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java#L106
[2]
https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesInitializer.java#L40

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-14 Thread Lukasz Lenart
Cool, thanks a lot :)

Looks like we have an issue with resolving wildcarded tiles
definitions as by default Struts will try to find tiles*.xml [1],
whereas defining them by hand [2] fallbacks to the old behaviour.

Could you setup a log level to TRACE for the org.apache.struts2.tiles
package and share the results? And feel free to register a bug in
JIRA.

[1] 
https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java#L106
[2] 
https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesInitializer.java#L40


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2017-04-12 20:57 GMT+02:00  :
> I tried 3 different Tomcat versions on Windows 10. Version 6.0.47,
> 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of
> struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is
> thrown).
>
> But: It is working fine when I define the config by hand! :)
>
> Running on Windows 10 seems to require the config by hand - on linux
> it's working without.
>
> Regards
>
> Ralph
>
> Am 2017-04-12 08:27, schrieb Lukasz Lenart:
>
>> 2017-04-11 16:24 GMT+02:00  :
>>
>>> On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
>>> fine => same source (same war-file) and same Tomcat-Version
>>
>> Did you try to use a different Tomcat version? Did you try to define
>> configs by hand?
>>
>> 
>> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>> 
>> /WEB-INF/tiles-1.xml,
>> /WEB-INF/tiles-2.xml,
>> /WEB-INF/tiles-3.xml,
>> /WEB-INF/tiles-4.xml
>> 
>> 
>>
>> Regards

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-12 Thread programmierer
I tried 3 different Tomcat versions on Windows 10. Version 6.0.47,
7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of
struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is
thrown). 

But: It is working fine when I define the config by hand! :) 

Running on Windows 10 seems to require the config by hand - on linux
it's working without. 

Regards 

Ralph 

Am 2017-04-12 08:27, schrieb Lukasz Lenart:

> 2017-04-11 16:24 GMT+02:00  : 
> 
>> On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
>> fine => same source (same war-file) and same Tomcat-Version
> 
> Did you try to use a different Tomcat version? Did you try to define
> configs by hand?
> 
> 
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> 
> /WEB-INF/tiles-1.xml,
> /WEB-INF/tiles-2.xml,
> /WEB-INF/tiles-3.xml,
> /WEB-INF/tiles-4.xml
> 
> 
> 
> Regards

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread Lukasz Lenart
2017-04-11 16:24 GMT+02:00  :
> On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
> fine => same source (same war-file) and same Tomcat-Version

Did you try to use a different Tomcat version? Did you try to define
configs by hand?


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
/WEB-INF/tiles-1.xml,
/WEB-INF/tiles-2.xml,
/WEB-INF/tiles-3.xml,
/WEB-INF/tiles-4.xml
  




Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread programmierer
Hi 

I have  a pretty strange behaviour with my Struts2 Webapplication, to be
precise with struts2-tiles-plugin (Version 2.5.10.1) after upgrading to
Struts Version 2.5.10.1.  

Before upgrade I was using struts2-tiles3-plugin (delivered by maven)
witch just worked fine. After upgrading to struts2-tiles-plugin
(corresponding to https://struts.apache.org/docs/tiles-plugin.html)
tiles3 is not working anymore. It provides a NoSuchDefinitionException.
With the "old" struts2-tiles3-plugin everything works fine. After trying
around I found out, that this behaviour only appears on Windows-Systems:


On Windows: struts2-tiles-plugin (Version 2.5.10.1) delivers a
NoSuchDefinitionException 

On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works
fine => same source (same war-file) and same Tomcat-Version 

Then I just thought "give it a try with struts2-showcase-2.5.10.1.war"
=> And voilà, the showcase-Application has exact the same behaviour.
Deployed on a Windows 10 System the showcase-Application delivers a
NoSuchDefinitionException. Same war deployed on Linux (Ubuntu 16.04)
works like a charm. 

Is this a bug in struts2-tiles3-plugin or do I miss something? 

Thanks for your help! 

Ralph 

...and Please excuse my bad english...

Re: Using tiles 2 with struts 1

2017-03-13 Thread Kokkodan Venu
This is very urgent

This is regarding a project upgrade where I need to stick with Struts 1 and I 
need Tiles 2 as the Spring framework is getting upgraded.

if you have already built the struts-tiles2-1.4.0-SNAPSHOT.jar can you pls send 
the same to me? I also have a very different upgrade here. I need to upgrade a 
project to Spring 4.1.x, Hibernate 4.3.x quartz2.2. the project use struts 1.in 
the upgrade specification, they are not mentioning anything about Struts 
upgrade. As we use tiles 1, its all a mess.

As we use the spring 4.1, now, we will need to upgrade the tiles1 to tiles2. I 
tried to checkout the SNAPSHOT project from apache svn 
(http://svn.apache.org/repos/asf/struts/struts1/trunk). But 1.4.0-SNAPSHOT is 
not available in mvn store anymore. So I'm looking for a ready built 
struts-tiles2-1.4.0-SNAPSHOT.jar. Can anyone help me?

Thank You
Venu
venugopala...@yahoo.com


This e-mail, including any attachments, may constitute a Federal record or 
other Government property that is intended only for the addressed individuals. 
This message may also contain information that is sensitive, confidential, or 
otherwise protected from disclosure under applicable law. If you are not a 
named addressee you must not disseminate, distribute or copy this e-mail. If 
you have received this e-mail in error, please notify the sender immediately 
and delete this e-mail from your system.


RE: Struts 1.x and Strtus2.x With Tiles 2.x

2017-03-13 Thread Kokkodan Venu
This is very urgent !

This is regarding a project upgrade where I need to stick with Struts 1 and I 
need Tiles 2 as the Spring framework is getting upgraded.

if you have already built the struts-tiles2-1.4.0-SNAPSHOT.jar can you pls send 
the same to me? I also have a very different upgrade here. I need to upgrade a 
project to Spring 4.1.x, Hibernate 4.3.x quartz2.2. the project use struts 1.in 
the upgrade specification, they are not mentioning anything about Struts 
upgrade. As we use tiles 1, its all a mess.

As we use the spring 4.1, now, we will need to upgrade the tiles1 to tiles2. I 
tried to checkout the SNAPSHOT project from apache svn 
(http://svn.apache.org/repos/asf/struts/struts1/trunk). But 1.4.0-SNAPSHOT is 
not available in mvn store anymore. So I'm looking for a ready built 
struts-tiles2-1.4.0-SNAPSHOT.jar. Can anyone help me?

Venu
venugopala...@yahoo.com


This e-mail, including any attachments, may constitute a Federal record or 
other Government property that is intended only for the addressed individuals. 
This message may also contain information that is sensitive, confidential, or 
otherwise protected from disclosure under applicable law. If you are not a 
named addressee you must not disseminate, distribute or copy this e-mail. If 
you have received this e-mail in error, please notify the sender immediately 
and delete this e-mail from your system.


Re: Struts 2.3.28 and Tiles issue

2017-03-13 Thread Christoph Nenning
Thanks for reporting back. I've added a notice about it to migration 
guide.


This is the original wiki page, struts web page is generated from it:
https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration

Regards,
Christoph



> From: Paweł Wielgus 
> To: Struts Users Mailing List , 
> Date: 11.03.2017 22:16
> Subject: Re: Struts 2.3.28 and Tiles issue
> 
> Hi all,
> i've upgraded Struts to latest versions (2.3 and 2.5)
> and i was forced to solve this issue.
> 
> Well, the hardest bug to find is non-existent one :-|
> 
> All i needed to do, was to remove work directory from tomcat.
> 
> All is working like expected.
> 
> Someone gave this solution on stackoverflow:
> 
> http://stackoverflow.com/a/40407427/6801998
> 
> 
> --
> Pozdrawiam,
> Paweł Wielgus.
> tel: +48 604 603 546
> 
> 
> 2016-04-22 9:33 GMT+02:00 Christoph Nenning 
:
> >> From: Paweł Wielgus 
> >> To: Struts Users Mailing List ,
> >> Date: 21.04.2016 00:16
> >> Subject: Struts 2.3.28 and Tiles issue
> >>
> >> Hi all,
> >> i've upgraded struts-core and all the dependencies to 2.3.28,
> >> along with that came new tiles libraries.
> >>
> >> And a problem:
> >>
> >> SEVERE: Servlet.service() for servlet jsp threw exception
> >> java.lang.ClassCastException:
> >> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> >> javax.servlet.jsp.tagext.Tag
> >
> >
> > Sounds like you have a jsp-api.jar packaged in your app. Can you 
please
> > check that?
> >
> >
> > Regards,
> > Christoph
> >
> >
> >
> >
> >
> >> at 
org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
> >> at
> >>
> > 
> 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0
> >> (run_002dscript_jsp.java:102)
> >> at
> >> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
> >> (run_002dscript_jsp.java:81)
> >> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> >> at org.apache.jasper.servlet.JspServletWrapper.service
> >> (JspServletWrapper.java:388)
> >> at
> > 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> >> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >> (ApplicationFilterChain.java:290)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> >> (ApplicationFilterChain.java:206)
> >> at org.apache.catalina.core.ApplicationDispatcher.invoke
> >> (ApplicationDispatcher.java:646)
> >> at org.apache.catalina.core.ApplicationDispatcher.processRequest
> >> (ApplicationDispatcher.java:436)
> >> at org.apache.catalina.core.ApplicationDispatcher.doForward
> >> (ApplicationDispatcher.java:374)
> >> at org.apache.catalina.core.ApplicationDispatcher.forward
> >> (ApplicationDispatcher.java:302)
> >> at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
> >> (ServletDispatcherResult.java:164)
> >> at org.apache.struts2.dispatcher.StrutsResultSupport.execute
> >> (StrutsResultSupport.java:191)
> >> at com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> >> (DefaultActionInvocation.java:372)
> >> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> >> (DefaultActionInvocation.java:276)
> >> at
> >>
> > 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> >> (DefaultWorkflowInterceptor.java:168)
> >> at
> >> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> >> (MethodFilterInterceptor.java:98)
> >> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> >> (DefaultActionInvocation.java:245)
> >> at
> >> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> >> (ValidationInterceptor.java:265)
> >> at
> >>
> > 
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> >> (AnnotationValidationInterceptor.java:76)
> >> at
> >> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> >> (MethodFilterInterceptor.java:98)
> >> at com.opensymphony.xwork2.

Re: Struts 2.3.28 and Tiles issue

2017-03-11 Thread Paweł Wielgus
Hi all,
i've upgraded Struts to latest versions (2.3 and 2.5)
and i was forced to solve this issue.

Well, the hardest bug to find is non-existent one :-|

All i needed to do, was to remove work directory from tomcat.

All is working like expected.

Someone gave this solution on stackoverflow:

http://stackoverflow.com/a/40407427/6801998


--
Pozdrawiam,
Paweł Wielgus.
tel: +48 604 603 546


2016-04-22 9:33 GMT+02:00 Christoph Nenning :
>> From: Paweł Wielgus 
>> To: Struts Users Mailing List ,
>> Date: 21.04.2016 00:16
>> Subject: Struts 2.3.28 and Tiles issue
>>
>> Hi all,
>> i've upgraded struts-core and all the dependencies to 2.3.28,
>> along with that came new tiles libraries.
>>
>> And a problem:
>>
>> SEVERE: Servlet.service() for servlet jsp threw exception
>> java.lang.ClassCastException:
>> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
>> javax.servlet.jsp.tagext.Tag
>
>
> Sounds like you have a jsp-api.jar packaged in your app. Can you please
> check that?
>
>
> Regards,
> Christoph
>
>
>
>
>
>> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
>> at
>>
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0
>> (run_002dscript_jsp.java:102)
>> at
>> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
>> (run_002dscript_jsp.java:81)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>> at org.apache.jasper.servlet.JspServletWrapper.service
>> (JspServletWrapper.java:388)
>> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (ApplicationFilterChain.java:290)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilterChain.java:206)
>> at org.apache.catalina.core.ApplicationDispatcher.invoke
>> (ApplicationDispatcher.java:646)
>> at org.apache.catalina.core.ApplicationDispatcher.processRequest
>> (ApplicationDispatcher.java:436)
>> at org.apache.catalina.core.ApplicationDispatcher.doForward
>> (ApplicationDispatcher.java:374)
>> at org.apache.catalina.core.ApplicationDispatcher.forward
>> (ApplicationDispatcher.java:302)
>> at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
>> (ServletDispatcherResult.java:164)
>> at org.apache.struts2.dispatcher.StrutsResultSupport.execute
>> (StrutsResultSupport.java:191)
>> at com.opensymphony.xwork2.DefaultActionInvocation.executeResult
>> (DefaultActionInvocation.java:372)
>> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
>> (DefaultActionInvocation.java:276)
>> at
>>
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
>> (DefaultWorkflowInterceptor.java:168)
>> at
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
>> (MethodFilterInterceptor.java:98)
>> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
>> (DefaultActionInvocation.java:245)
>> at
>> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
>> (ValidationInterceptor.java:265)
>> at
>>
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
>> (AnnotationValidationInterceptor.java:76)
>> at
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
>> (MethodFilterInterceptor.java:98)
>> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
>> (DefaultActionInvocation.java:245)
>> at
>> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
>> (ConversionErrorInterceptor.java:138)
>> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
>> (DefaultActionInvocation.java:245)
>> at
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
>> (ParametersInterceptor.java:229)
>> at
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
>> (MethodFilterInterceptor.java:98)
>> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
>> (DefaultActionInvocation.java:245)
>> at
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
>> (ParametersInterceptor.java:229)
>> at
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
>> (MethodFilte

Re: Struts 1.x and Strtus2.x With Tiles 2.x

2017-03-10 Thread Lukasz Lenart
2017-03-10 20:46 GMT+01:00 Kokkodan Venu :
> Hi, Can you pls let me know how you have migrated your old project with 
> Struts1 and Tiles 2? I have a same situation here where I need to keep struts 
> 1.

The best option will be to keep both Struts 1 based app with Struts 2
based app next to it and rewriting action by action to Struts 2.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts 1.x and Strtus2.x With Tiles 2.x

2017-03-10 Thread Kokkodan Venu
Hi, Can you pls let me know how you have migrated your old project with Struts1 
and Tiles 2? I have a same situation here where I need to keep struts 1.

Pls respond as quick as possible.

Thank You
Venugopalan


This e-mail, including any attachments, may constitute a Federal record or 
other Government property that is intended only for the addressed individuals. 
This message may also contain information that is sensitive, confidential, or 
otherwise protected from disclosure under applicable law. If you are not a 
named addressee you must not disseminate, distribute or copy this e-mail. If 
you have received this e-mail in error, please notify the sender immediately 
and delete this e-mail from your system.


Re: Struts2 JQuery plugin failed on Strut2 + Tiles + Hibernate project

2017-02-13 Thread Dave Newton
On Mon, Feb 13, 2017 at 11:24 AM, THAN_HVFC 
wrote:

> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
>



   - org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter


-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


Struts2 JQuery plugin failed on Strut2 + Tiles + Hibernate project

2017-02-13 Thread THAN_HVFC
Hi all!
I am new to Struts2.  I downloaded Strust-2.5.8-all which bundled with Tiles.  
I created my web application with Strust-2.5.8 and Hibernate-5.1.  I deployed 
on Wildfly10 and the app ran fine.  
Now I decide to add JQuery to my project.  So I downloaded 
struts2-jquery-plugin-4.0.2 jar and put it inside my project lib folder and 
deployed on Wildfly10.  I got the error below.   As you can see the JQuery 
plugin breaks the Struts2 web app.  Please help!

16:14:15,945 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) 
MSC01: Failed to start service 
jboss.undertow.deployment.default-server.default-host./struts.UndertowDeploymentInfoService:
 org.jboss.msc.service.StartException in service 
jboss.undertow.deployment.default-server.default-host./struts.UndertowDeploymentInfoService:
 java.lang.ClassNotFoundException: 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from 
[Module "deployment.struts.war:main" from Service Module Loader]        at 
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1079)
        at 
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:284)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
       at java.lang.Thread.run(Thread.java:745)Caused by: 
java.lang.ClassNotFoundException: 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from 
[Module "deployment.struts.war:main" from Service Module Loader]        at 
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)       
 at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at 
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at 
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        at 
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:801)
        ... 6 more


 Note:  If I take out the struts2-jquery-plugin-4.0.2 jar, the project works 
fine again without JQuery.  

My web.xml
http://java.sun.com/xml/ns/j2ee"         
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"         
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
    Struts Blank

   org.apache.struts2.tiles.StrutsTilesListener 

tilesDefinitions 
/WEB-INF/tiles.xml 
            struts2        
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
                  struts2   
     /*    

            index.jsp    

  Hi all!
I am new to Struts2.  I downloaded Strust-2.5.8-all which bundled with Tiles.  
I created my web application with Strust-2.5.8 and Hibernate-5.1.  I deployed 
on Wildfly10 and the app ran fine.  
Now I decide to add JQuery to my project.  So I downloaded 
struts2-jquery-plugin-4.0.2 jar and put it inside my project lib folder and 
deployed on Wildfly10.  I got the error below.   As you can see the JQuery 
plugin breaks the Struts2 web app.  Please help!

16:14:15,945 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) 
MSC01: Failed to start service 
jboss.undertow.deployment.default-server.default-host./struts.UndertowDeploymentInfoService:
 org.jboss.msc.service.StartException in service 
jboss.undertow.deployment.default-server.default-host./struts.UndertowDeploymentInfoService:
 java.lang.ClassNotFoundException: 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from 
[Module "deployment.struts.war:main" from Service Module Loader]        at 
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1079)
        at 
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:284)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
       at java.lang.Thread.run(Thread.java:745)Caused by: 
java.lang.ClassNotFoundException: 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter from 
[Module "de

Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
cool 👍


On Fri, Nov 4, 2016 at 2:09 PM, Lukasz Lenart 
wrote:

> Thanks but I found this [1] and it works
>
> [1] https://coderanch.com/t/500781/framework/Struts-Tiles-
> changing-layout-runtime#2257930
>
> just used 
>
> 2016-11-04 9:04 GMT+01:00 Sreekanth S. Nair  org>:
> > There is a wildcard way of doing it but don't know if it helps in this
> case
> >
> > like
> >
> > * >
> > *>> value="/WEB-INF/views/sign/{1}.jsp"/>   *
> >
> >
> >
> >
>
> > On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
> > wrote:
> >
> >> Hi,
> >>
> >> Does someone has a solution how to dynamically change layout that
> >> given Tiles extends from?
> >>
> >> I have two main layouts:
> >>
> >> 
> >>...
> >> 
> >>
> >> 
> >>...
> >> 
> >>
> >> and have a page that should extend one of these when user is logged in
> >> or not. Any idea?
> >>
> >>
> >> Regards
> >> --
> >> Łukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Dynamically switching Tiles master layout

2016-11-04 Thread Lukasz Lenart
Thanks but I found this [1] and it works

[1] 
https://coderanch.com/t/500781/framework/Struts-Tiles-changing-layout-runtime#2257930

just used 

2016-11-04 9:04 GMT+01:00 Sreekanth S. Nair :
> There is a wildcard way of doing it but don't know if it helps in this case
>
> like
>
> *
> *>value="/WEB-INF/views/sign/{1}.jsp"/>   *
>
>
>
>
> --
> Thanks & Regards
>
> Sreekanth Nair
> Java Developer
> 
> eGovernments Foundation <http://www.egovernments.org>
>  9980078913
> 
> <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/>
> <https://github.com/sreekanthsnair>  
> 
>
> On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
> wrote:
>
>> Hi,
>>
>> Does someone has a solution how to dynamically change layout that
>> given Tiles extends from?
>>
>> I have two main layouts:
>>
>> 
>>...
>> 
>>
>> 
>>...
>> 
>>
>> and have a page that should extend one of these when user is logged in
>> or not. Any idea?
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
There is a wildcard way of doing it but don't know if it helps in this case

like

*  *




-- 
Thanks & Regards

Sreekanth Nair
Java Developer

eGovernments Foundation <http://www.egovernments.org>
 9980078913

<http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/>
<https://github.com/sreekanthsnair>  


On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
wrote:

> Hi,
>
> Does someone has a solution how to dynamically change layout that
> given Tiles extends from?
>
> I have two main layouts:
>
> 
>...
> 
>
> 
>...
> 
>
> and have a page that should extend one of these when user is logged in
> or not. Any idea?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Dynamically switching Tiles master layout

2016-11-04 Thread Lukasz Lenart
Hi,

Does someone has a solution how to dynamically change layout that
given Tiles extends from?

I have two main layouts:


   ...



   ...


and have a page that should extend one of these when user is logged in
or not. Any idea?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Adam Brin
Hi Christoph & Łukasz,
  Thanks.  This is useful.  We’ll stay with Sitemesh2 and Freemarker for now.  

thanks,

adam

-- 
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278

> On Jun 29, 2016, at 1:19 AM, Christoph Nenning 
>  wrote:
> 
>> From: Adam Brin 
>> To: Struts Users Mailing List , 
>> Date: 29.06.2016 07:39
>> Subject: tiles, sitemesh, velocity and other template engines
>> 
>> Hi All,
>>  I've been reviewing our templating implementation (currently 
> sitemesh2)
>> and noticed that it seems  like the three main template engines that
>> Struts2 supports are all effectively unsupported, and implementation of
>> sitemesh 3 (which has been barely updated since it was released seems
>> stalled). What templating engines are others using, and are there
>> alternatives that are better supported?  I wonder / worry about security
>> issues among other things.
>> 
>> *Velocity:*
>> last updated 2010 --
>> http://mvnrepository.com/artifact/org.apache.velocity/velocity/1.7
>> 
>> *Tiles:*
>> last updated 2014 --
>> http://mvnrepository.com/artifact/org.apache.tiles/tiles-core
>> 
>> *Sitemesh 2:*
>> Last updated 2009 -- 
> http://mvnrepository.com/artifact/opensymphony/sitemesh
>> 
>> *Sitemesh 3: *(stalled - https://issues.apache.org/jira/browse/WW-4356)
>> last updated  2015 - 
> http://mvnrepository.com/artifact/org.sitemesh/sitemesh
>> 
>> thanks,
>> 
>> adam
>> 
> 
> 
> We use mainly Tiles2 with JSPs. In newer projects we are using Tiles3. 
> There are occasions when we use Freemarker instead of JSP but that is 
> rare.
> 
> I really love the new tiles-annotations that struts provides. With that I 
> can reduce the size of tiles.xml to a minimum and annotate actions instead 
> :)
> 
> 
> Regards,
> Christoph
> 
> This Email was scanned by Sophos Anti Virus


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Christoph Nenning
> From: Adam Brin 
> To: Struts Users Mailing List , 
> Date: 29.06.2016 07:39
> Subject: tiles, sitemesh, velocity and other template engines
> 
> Hi All,
>   I've been reviewing our templating implementation (currently 
sitemesh2)
> and noticed that it seems  like the three main template engines that
> Struts2 supports are all effectively unsupported, and implementation of
> sitemesh 3 (which has been barely updated since it was released seems
> stalled). What templating engines are others using, and are there
> alternatives that are better supported?  I wonder / worry about security
> issues among other things.
> 
> *Velocity:*
> last updated 2010 --
> http://mvnrepository.com/artifact/org.apache.velocity/velocity/1.7
> 
> *Tiles:*
> last updated 2014 --
> http://mvnrepository.com/artifact/org.apache.tiles/tiles-core
> 
> *Sitemesh 2:*
> Last updated 2009 -- 
http://mvnrepository.com/artifact/opensymphony/sitemesh
> 
> *Sitemesh 3: *(stalled - https://issues.apache.org/jira/browse/WW-4356)
> last updated  2015 - 
http://mvnrepository.com/artifact/org.sitemesh/sitemesh
> 
> thanks,
> 
> adam
> 


We use mainly Tiles2 with JSPs. In newer projects we are using Tiles3. 
There are occasions when we use Freemarker instead of JSP but that is 
rare.

I really love the new tiles-annotations that struts provides. With that I 
can reduce the size of tiles.xml to a minimum and annotate actions instead 
:)


Regards,
Christoph

This Email was scanned by Sophos Anti Virus


Re: tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Lukasz Lenart
2016-06-29 1:37 GMT+02:00 Adam Brin :
> Hi All,
>   I've been reviewing our templating implementation (currently sitemesh2)
> and noticed that it seems  like the three main template engines that
> Struts2 supports are all effectively unsupported, and implementation of
> sitemesh 3 (which has been barely updated since it was released seems
> stalled). What templating engines are others using, and are there
> alternatives that are better supported?  I wonder / worry about security
> issues among other things.
>
> *Velocity:*
> last updated 2010 --
> http://mvnrepository.com/artifact/org.apache.velocity/velocity/1.7

I would start thinking about migration to FreeMarker or at least
creating new pages with it

> *Tiles:*
> last updated 2014 --
> http://mvnrepository.com/artifact/org.apache.tiles/tiles-core

There is nothing to worry about, Tiles are very stable and mature, I
would use it as well in any other Java project

> *Sitemesh 2:*
> Last updated 2009 -- http://mvnrepository.com/artifact/opensymphony/sitemesh
>
> *Sitemesh 3: *(stalled - https://issues.apache.org/jira/browse/WW-4356)
> last updated  2015 - http://mvnrepository.com/artifact/org.sitemesh/sitemesh

I'm still planning to prepare a new plugin with support for Sitemesh
3. When I was working on upgrading to Tiles 3 I also had got limited
support from maintainers but this isn't a problem IMHO :)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Adam Brin
Hi All,
  I've been reviewing our templating implementation (currently sitemesh2)
and noticed that it seems  like the three main template engines that
Struts2 supports are all effectively unsupported, and implementation of
sitemesh 3 (which has been barely updated since it was released seems
stalled). What templating engines are others using, and are there
alternatives that are better supported?  I wonder / worry about security
issues among other things.

*Velocity:*
last updated 2010 --
http://mvnrepository.com/artifact/org.apache.velocity/velocity/1.7

*Tiles:*
last updated 2014 --
http://mvnrepository.com/artifact/org.apache.tiles/tiles-core

*Sitemesh 2:*
Last updated 2009 -- http://mvnrepository.com/artifact/opensymphony/sitemesh

*Sitemesh 3: *(stalled - https://issues.apache.org/jira/browse/WW-4356)
last updated  2015 - http://mvnrepository.com/artifact/org.sitemesh/sitemesh

thanks,

adam

-- 
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278


Re: Struts 2.3.28 and Tiles issue

2016-04-22 Thread Christoph Nenning
> From: Paweł Wielgus 
> To: Struts Users Mailing List , 
> Date: 21.04.2016 00:16
> Subject: Struts 2.3.28 and Tiles issue
> 
> Hi all,
> i've upgraded struts-core and all the dependencies to 2.3.28,
> along with that came new tiles libraries.
> 
> And a problem:
> 
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.ClassCastException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag


Sounds like you have a jsp-api.jar packaged in your app. Can you please 
check that?


Regards,
Christoph





> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
> at 
> 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0
> (run_002dscript_jsp.java:102)
> at 
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
> (run_002dscript_jsp.java:81)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:388)
> at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:206)
> at org.apache.catalina.core.ApplicationDispatcher.invoke
> (ApplicationDispatcher.java:646)
> at org.apache.catalina.core.ApplicationDispatcher.processRequest
> (ApplicationDispatcher.java:436)
> at org.apache.catalina.core.ApplicationDispatcher.doForward
> (ApplicationDispatcher.java:374)
> at org.apache.catalina.core.ApplicationDispatcher.forward
> (ApplicationDispatcher.java:302)
> at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
> (ServletDispatcherResult.java:164)
> at org.apache.struts2.dispatcher.StrutsResultSupport.execute
> (StrutsResultSupport.java:191)
> at com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> (DefaultActionInvocation.java:372)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:276)
> at 
> 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> (DefaultWorkflowInterceptor.java:168)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> (ValidationInterceptor.java:265)
> at 
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> (AnnotationValidationInterceptor.java:76)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
> (ConversionErrorInterceptor.java:138)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
> (StaticParametersInterceptor.java:191)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.FileUploadInterceptor.intercept
> (FileUploadInterceptor.java:253)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept
> (ModelDrivenInterceptor.java:100)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at com.opensymphony.

Re: Struts 2.3.28 and Tiles issue

2016-04-21 Thread Lukasz Lenart
Really strange, I've been testing the same on that example and didn't
notice such a problem

https://github.com/apache/struts-examples/tree/master/tiles


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2016-04-22 1:13 GMT+02:00 Paweł Wielgus :
> Hi Łukasz,
> i've tried setting DTD to 2.0, 2.1, 2.2, and 3.0
> all to no awail.
>
> Right now i've downgraded to struts 2.3.24
> and all is working fine. (this version has tiles 2.0.5) and i've set DTD to 
> 2.0
>
> Going up to 2.3.24.1 and all is good,
> this version has tiles 2.0.6 and i've set DTD to 2.0
>
> Going up to 2.3.28 and rendering of a page throws the exception described 
> below.
> This version has tiles 2.2.2 and setting DTD to 2.0, 2.1, 2.2 or 3.0
> does not chnage anything.
>
> So it is clearly a problem somewhere between tiles 2.0 and 2.2,
> Any ideas?
> I will try to use tiles with standard definition tommorow
> and i will give update on this.
>
>
>
> --
> Pozdrawiam,
> Paweł Wielgus.
> tel: +48 604 603 546
>
>
> 2016-04-21 8:33 GMT+02:00 Lukasz Lenart :
>> Did you change DTD in tiles.xml? It should be 2.1 as far I can recall.
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> 2016-04-21 0:16 GMT+02:00 Paweł Wielgus :
>>> Hi all,
>>> i've upgraded struts-core and all the dependencies to 2.3.28,
>>> along with that came new tiles libraries.
>>>
>>> And a problem:
>>>
>>> SEVERE: Servlet.service() for servlet jsp threw exception
>>> java.lang.ClassCastException:
>>> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
>>> javax.servlet.jsp.tagext.Tag
>>> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
>>> at 
>>> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0(run_002dscript_jsp.java:102)
>>> at 
>>> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService(run_002dscript_jsp.java:81)
>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>>> at 
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> at 
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>> at 
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>> at 
>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>> at 
>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>> at 
>>> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
>>> at 
>>> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
>>> at 
>>> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
>>> at 
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
>>> at 
>>> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
>>> at 
>>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>> at 
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>>> at 
>>> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
>>> at 
>>> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
>>> at 
>>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>> at 
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>>> at 
>>> com.opensymphony.xwork2.interceptor

Re: Struts 2.3.28 and Tiles issue

2016-04-21 Thread Paweł Wielgus
Hi Łukasz,
i've tried setting DTD to 2.0, 2.1, 2.2, and 3.0
all to no awail.

Right now i've downgraded to struts 2.3.24
and all is working fine. (this version has tiles 2.0.5) and i've set DTD to 2.0

Going up to 2.3.24.1 and all is good,
this version has tiles 2.0.6 and i've set DTD to 2.0

Going up to 2.3.28 and rendering of a page throws the exception described below.
This version has tiles 2.2.2 and setting DTD to 2.0, 2.1, 2.2 or 3.0
does not chnage anything.

So it is clearly a problem somewhere between tiles 2.0 and 2.2,
Any ideas?
I will try to use tiles with standard definition tommorow
and i will give update on this.



--
Pozdrawiam,
Paweł Wielgus.
tel: +48 604 603 546


2016-04-21 8:33 GMT+02:00 Lukasz Lenart :
> Did you change DTD in tiles.xml? It should be 2.1 as far I can recall.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2016-04-21 0:16 GMT+02:00 Paweł Wielgus :
>> Hi all,
>> i've upgraded struts-core and all the dependencies to 2.3.28,
>> along with that came new tiles libraries.
>>
>> And a problem:
>>
>> SEVERE: Servlet.service() for servlet jsp threw exception
>> java.lang.ClassCastException:
>> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
>> javax.servlet.jsp.tagext.Tag
>> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
>> at 
>> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0(run_002dscript_jsp.java:102)
>> at 
>> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService(run_002dscript_jsp.java:81)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>> at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at 
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>> at 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>> at 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>> at 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>> at 
>> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
>> at 
>> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
>> at 
>> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
>> at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>> at 
>> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
>> at 
>> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
>> at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>> at 
>> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>> at 
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
>> at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>> at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
>> at 
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
&

Re: Struts 2.3.28 and Tiles issue

2016-04-21 Thread Emi



upgraded struts-core and all the dependencies to 2.3.28,
along with that came new tiles libraries.
I got the similar exception messages. Upgrade from tiles2.x to tiles3.x 
and no error messages anymore.

And a problem:

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException:
org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
javax.servlet.jsp.tagext.Tag
at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
at 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0(run_002dscript_jsp.java:102)
at 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService(run_002dscript_jsp.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at 
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2

Re: Struts 2.3.28 and Tiles issue

2016-04-20 Thread Lukasz Lenart
Did you change DTD in tiles.xml? It should be 2.1 as far I can recall.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2016-04-21 0:16 GMT+02:00 Paweł Wielgus :
> Hi all,
> i've upgraded struts-core and all the dependencies to 2.3.28,
> along with that came new tiles libraries.
>
> And a problem:
>
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.ClassCastException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag
> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
> at 
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0(run_002dscript_jsp.java:102)
> at 
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService(run_002dscript_jsp.java:81)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> at 
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
> at 
> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
> at 
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
> at 
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
> at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
> at 

Struts 2.3.28 and Tiles issue

2016-04-20 Thread Paweł Wielgus
Hi all,
i've upgraded struts-core and all the dependencies to 2.3.28,
along with that came new tiles libraries.

And a problem:

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException:
org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
javax.servlet.jsp.tagext.Tag
at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
at 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0(run_002dscript_jsp.java:102)
at 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService(run_002dscript_jsp.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at 
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at 
com.opensymphony.x

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Kiran Badi
Finally I resolved it. Tiles - Servlet 3.0.1 jar was missing and had to add
tiles 3 jars and their dependencies.

Thanks everyone for your time and patience.

On Wed, Jan 14, 2015 at 2:41 PM, Kiran Badi  wrote:

> I am not sure but I am circling with different exception with little
> progress.
>
> Let me start over, I have netbean project which has NB struts 2 plugin and
> this nb plugin has 2.3.15 as base library.
>
> I downloaded struts 2.3.15 all zip from struts 2 apache site and installed
> struts 2 spring plugin. This integration(Struts 2 + Spring) works fine and
> no issues so far. I understand that this downloaded package(2.3.15 all zip)
> has plugins and their dependent jars bundled in the download.
>
> Now I want to integrate tiles 3 with my project, so I add tiles 3 struts 2
> plugin jar, Tiles Extra 3.0.1 jar, Tiles core 2.0.6 jar and tiles jsp 2.0.6
> jars then  I add the listener to the web xml.
>
> 
>
> org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
> 
>
> But this set up starts complaining and gives me below exception,,
>
> SEVERE: Error configuring application listener of class
> org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
> java.lang.NoClassDefFoundError:
> org/apache/tiles/web/startup/AbstractTilesListener
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
> at
> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:506)
> at
> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:488)
> at
> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:115)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4909)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1668)
> at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1480)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882)
> at
> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Kiran Badi
I am not sure but I am circling with different exception with little
progress.

Let me start over, I have netbean project which has NB struts 2 plugin and
this nb plugin has 2.3.15 as base library.

I downloaded struts 2.3.15 all zip from struts 2 apache site and installed
struts 2 spring plugin. This integration(Struts 2 + Spring) works fine and
no issues so far. I understand that this downloaded package(2.3.15 all zip)
has plugins and their dependent jars bundled in the download.

Now I want to integrate tiles 3 with my project, so I add tiles 3 struts 2
plugin jar, Tiles Extra 3.0.1 jar, Tiles core 2.0.6 jar and tiles jsp 2.0.6
jars then  I add the listener to the web xml.



org.apache.tiles.extras.complete.CompleteAutoloadTilesListener


But this set up starts complaining and gives me below exception,,

SEVERE: Error configuring application listener of class
org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
java.lang.NoClassDefFoundError:
org/apache/tiles/web/startup/AbstractTilesListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:506)
at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:488)
at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:115)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4909)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1668)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1480)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Ken McWilliams
The steps for integration from scratch is here(useful to understand what
the plugin is doing exactly):
http://stackoverflow.com/questions/13337938/how-to-integrate-struts-2-with-tiles-3
The steps assume maven.
Of further use regarding tiles3 integration this may also be useful:
http://stackoverflow.com/questions/16116142/how-to-integrate-struts-conventions-with-tiles-such-that-the-benefit-of-conventi


On Wed, Jan 14, 2015 at 10:23 AM, Kiran Badi  wrote:

> thanks Chris, Makes Sense.
>
> On Wed, Jan 14, 2015 at 5:43 AM, Christoph Nenning <
> christoph.nenn...@lex-com.net> wrote:
>
> > > Hi Lukasz
> > >
> > > I downloaded complete struts 2.3.15 package which contains all jars and
> > > have put everything under app /web inf lib folder. Then I removed tiles
> > 2
> > > plugin jar. Is this not suppose to work
> > >
> > > But I do believe more of version mismatch but not sure which jar let me
> > > check again
> > >
> >
> >
> > In such cases I setup a small maven project just to download the jars and
> > copy them to my real project.
> >
> >
> > Regards,
> > Christoph
> >
> > This Email was scanned by Sophos Anti Virus
> >
>


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Kiran Badi
thanks Chris, Makes Sense.

On Wed, Jan 14, 2015 at 5:43 AM, Christoph Nenning <
christoph.nenn...@lex-com.net> wrote:

> > Hi Lukasz
> >
> > I downloaded complete struts 2.3.15 package which contains all jars and
> > have put everything under app /web inf lib folder. Then I removed tiles
> 2
> > plugin jar. Is this not suppose to work
> >
> > But I do believe more of version mismatch but not sure which jar let me
> > check again
> >
>
>
> In such cases I setup a small maven project just to download the jars and
> copy them to my real project.
>
>
> Regards,
> Christoph
>
> This Email was scanned by Sophos Anti Virus
>


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Christoph Nenning
> Hi Lukasz
> 
> I downloaded complete struts 2.3.15 package which contains all jars and
> have put everything under app /web inf lib folder. Then I removed tiles 
2
> plugin jar. Is this not suppose to work
> 
> But I do believe more of version mismatch but not sure which jar let me
> check again
> 


In such cases I setup a small maven project just to download the jars and 
copy them to my real project.


Regards,
Christoph

This Email was scanned by Sophos Anti Virus


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-14 Thread Kiran Badi
Hi Lukasz

I downloaded complete struts 2.3.15 package which contains all jars and
have put everything under app /web inf lib folder. Then I removed tiles 2
plugin jar. Is this not suppose to work

But I do believe more of version mismatch but not sure which jar let me
check again

On Wednesday, January 14, 2015, Lukasz Lenart 
wrote:

> 2015-01-14 5:20 GMT+01:00 Kiran Badi >:
> > Hi All,
> >
> > I am trying to integrate S2 with Tiles 3 Plugin, But getting below
> > exception, and all my attempts to resolve this has failed.Can some one
> help
> >
> >
> >
> > SEVERE: ContainerBase.addChild: start:
> > org.apache.catalina.LifecycleException: Failed to start component
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/joinhomelyhotel]]
> > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
> > at
> >
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
> > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1668)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > at
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
> > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1480)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882)
> > at
> > org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > at
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > at
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> > at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
> > at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
> > at
> >
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
> > at
> >
> org.apache

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Lukasz Lenart
2015-01-14 5:20 GMT+01:00 Kiran Badi :
> Hi All,
>
> I am trying to integrate S2 with Tiles 3 Plugin, But getting below
> exception, and all my attempts to resolve this has failed.Can some one help
>
>
>
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/joinhomelyhotel]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1668)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1480)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882)
> at
> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
> at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
> at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/tiles/startup/TilesInitializer

This clearly says what the problem is - you are missing a jar or using
wrong version of it, here [1] you have all the required dependencies
(or use Maven to handle them)

[1] 
http://struts.apache.org/maven/struts2-plugins/struts2-tiles3-plugin/dependencies.html


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Kiran Badi
Thanks for the link Sreekanth.I need Tiles 3 and this link is for tiles 2.

I think issues lies with tiles jars bundled with struts 2.They are not
latest for tiles 3 plugin.

But let me check again.

Did anyone set up s2 with tiles 3


On Jan 14, 2015 12:14 AM, "Sreekanth S. Nair" <
sreekanth.n...@egovernments.org> wrote:

> Please check this link, and make sure you have done tiles integration in
> the same way.
> http://www.tutorialspoint.com/struts_2/struts_tiles.htm
>
>
> On Wed, Jan 14, 2015 at 10:32 AM, Kiran Badi  wrote:
>
> > Yes I have all jars from struts 2.3.15 in web apps lib  folder.
> >
> > I m using tiles listener to initialize the tiles 3.I have followed all
> > instruction in plugin page.
> >  On Jan 13, 2015 11:39 PM, "Sreekanth S. Nair" <
> > sreekanth.n...@egovernments.org> wrote:
> >
> > > The following could be the root cause of the problem
> > >
> > > Caused by: java.lang.ClassNotFoundException:
> > > org.apache.tiles.startup.TilesInitializer
> > >
> > >
> > > have you added all the necessary jar's of tiles ?
> > >
> > >
> > >
> > > On Wed, Jan 14, 2015 at 9:50 AM, Kiran Badi  wrote:
> > >
> > > > Caused by: java.lang.ClassNotFoundException:
> > > > org.apache.tiles.startup.TilesInitializer
> > > >
> > >
> >
>


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Sreekanth S. Nair
Please check this link, and make sure you have done tiles integration in
the same way.
http://www.tutorialspoint.com/struts_2/struts_tiles.htm


On Wed, Jan 14, 2015 at 10:32 AM, Kiran Badi  wrote:

> Yes I have all jars from struts 2.3.15 in web apps lib  folder.
>
> I m using tiles listener to initialize the tiles 3.I have followed all
> instruction in plugin page.
>  On Jan 13, 2015 11:39 PM, "Sreekanth S. Nair" <
> sreekanth.n...@egovernments.org> wrote:
>
> > The following could be the root cause of the problem
> >
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.tiles.startup.TilesInitializer
> >
> >
> > have you added all the necessary jar's of tiles ?
> >
> >
> >
> > On Wed, Jan 14, 2015 at 9:50 AM, Kiran Badi  wrote:
> >
> > > Caused by: java.lang.ClassNotFoundException:
> > > org.apache.tiles.startup.TilesInitializer
> > >
> >
>


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Kiran Badi
Yes I have all jars from struts 2.3.15 in web apps lib  folder.

I m using tiles listener to initialize the tiles 3.I have followed all
instruction in plugin page.
 On Jan 13, 2015 11:39 PM, "Sreekanth S. Nair" <
sreekanth.n...@egovernments.org> wrote:

> The following could be the root cause of the problem
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tiles.startup.TilesInitializer
>
>
> have you added all the necessary jar's of tiles ?
>
>
>
> On Wed, Jan 14, 2015 at 9:50 AM, Kiran Badi  wrote:
>
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.tiles.startup.TilesInitializer
> >
>


Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Sreekanth S. Nair
The following could be the root cause of the problem

Caused by: java.lang.ClassNotFoundException:
org.apache.tiles.startup.TilesInitializer


have you added all the necessary jar's of tiles ?



On Wed, Jan 14, 2015 at 9:50 AM, Kiran Badi  wrote:

> Caused by: java.lang.ClassNotFoundException:
> org.apache.tiles.startup.TilesInitializer
>


Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Kiran Badi
Hi All,

I am trying to integrate S2 with Tiles 3 Plugin, But getting below
exception, and all my attempts to resolve this has failed.Can some one help



SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/joinhomelyhotel]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1668)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1480)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError:
org/apache/tiles/startup/TilesInitializer
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
at java.lang.Class.getDeclaredFields(Class.java:1811)
at
org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
at
org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:270)
at
org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:89)
at
org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63)
at
org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:415)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:892)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
at

Re: Tiles Struts2 Annotations

2014-06-22 Thread Amine BADID
Hi Lukasz.
Thank you a lot.
The problem is resolved.



Le Dimanche 22 juin 2014 16h27, Lukasz Lenart  a écrit 
:
 


When using the Convention plugin you must set

struts.convention.default.parent.package = tiles-default

to use tiles result


2014-06-22 16:24 GMT+02:00 Amine BADID :
> Hi Dave.
> I tried to use theses syntaxe:
>      
> and
>
>      
> The both are "false" and did not resolve my problem
>
> Here are a scan image of libraries and thank you a lot :
>
>
>
> Le Dimanche 22 juin 2014 16h14, Dave Newton  a écrit :
>
>
>
> What libraries/jars are you deploying? Are you using a parent package that
> extends tiles-default?
>
> On Jun 22, 2014 10:07 AM, "Amine BADID"  wrote:
>
>> Hi All.
>> I'm workgin on JEE web application, using Struts2 with annotations and
>> tiles too.
>> I've an error:
>> - 2014-06-22 15:53:51,187 ERROR [org.apache.struts2.dispatcher.Dispatcher]
>> - 
>> Unable to load configuration. - [unknown location]
>>     at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
>>     at
>> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
>>     at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
>>     at
>> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
>>     at
>> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
>>     at
>> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
>>     at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
>>     at
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
>>     at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
>>     at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>     at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>     at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>     at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>     at java.lang.Thread.run(Thread.java:745)
>> Caused by: The Result type [tiles] which is defined in the Result
>> annotation on the class [class mypackage.WelcomeAction] or determined by
>> the file extension or is the default result type for the PackageConfig of
>> the action, could not be found as a result-type defined for the
>> Struts/XWork package [mypackage#convention-default#/] - [unknown location]
>> at
>> org.apache.struts2.convention.DefaultResultMapBuilder.createResultConfig(DefaultResultMapBuilder.java:438)
>>     at
>> org.apache.struts2.convention.DefaultResultMapBuilder.createFromAnnotations(DefaultResultMapBuilder.java:410)
>>     at
>> org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:202)
>>     at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:935)
>>     at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:718)
>>     at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:348)
>>     at
>> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>>     at
>> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:260)
>>     at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>> Here is WelcomeAction class:
>> @Action(value = "menu",
>>             results = {
>>                     @Result(name = SUCCESS, location = "/search", type=
>> "tiles"),
>>                     @Result(name=INPUT, location = "/index", type =
>> "tiles"),
>>                     @Result(name = ERROR, location = "/index", type =
>> "tiles")
>>                     }
>>     )
>> And here are de

Re: Tiles Struts2 Annotations

2014-06-22 Thread Lukasz Lenart
When using the Convention plugin you must set

struts.convention.default.parent.package = tiles-default

to use tiles result

2014-06-22 16:24 GMT+02:00 Amine BADID :
> Hi Dave.
> I tried to use theses syntaxe:
>  
> and
>
>  
> The both are "false" and did not resolve my problem
>
> Here are a scan image of libraries and thank you a lot :
>
>
>
> Le Dimanche 22 juin 2014 16h14, Dave Newton  a écrit :
>
>
>
> What libraries/jars are you deploying? Are you using a parent package that
> extends tiles-default?
>
> On Jun 22, 2014 10:07 AM, "Amine BADID"  wrote:
>
>> Hi All.
>> I'm workgin on JEE web application, using Struts2 with annotations and
>> tiles too.
>> I've an error:
>> - 2014-06-22 15:53:51,187 ERROR [org.apache.struts2.dispatcher.Dispatcher]
>> - 
>> Unable to load configuration. - [unknown location]
>> at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
>> at
>> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
>> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
>> at
>> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
>> at
>> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
>> at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: The Result type [tiles] which is defined in the Result
>> annotation on the class [class mypackage.WelcomeAction] or determined by
>> the file extension or is the default result type for the PackageConfig of
>> the action, could not be found as a result-type defined for the
>> Struts/XWork package [mypackage#convention-default#/] - [unknown location]
>> at
>> org.apache.struts2.convention.DefaultResultMapBuilder.createResultConfig(DefaultResultMapBuilder.java:438)
>> at
>> org.apache.struts2.convention.DefaultResultMapBuilder.createFromAnnotations(DefaultResultMapBuilder.java:410)
>> at
>> org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:202)
>> at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:935)
>> at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:718)
>> at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:348)
>> at
>> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>> at
>> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:260)
>>     at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>> Here is WelcomeAction class:
>> @Action(value = "menu",
>> results = {
>> @Result(name = SUCCESS, location = "/search", type=
>> "tiles"),
>> @Result(name=INPUT, location = "/index", type =
>> "tiles"),
>> @Result(name = ERROR, location = "/index", type =
>> "tiles")
>>     }
>> )
>> And here are defintions in tiles.xml:
>> 
>> 
>> 
>> 
>> 
>> 
>&g

Re: Tiles Struts2 Annotations

2014-06-22 Thread Amine BADID
Hi Dave.
I tried to use theses syntaxe:
 
and

 
The both are "false" and did not resolve my problem

Here are a scan image of libraries and thank you a lot :



Le Dimanche 22 juin 2014 16h14, Dave Newton  a écrit :
 


What libraries/jars are you deploying? Are you using a parent package that
extends tiles-default?

On Jun 22, 2014 10:07 AM, "Amine BADID"  wrote:

> Hi All.
> I'm workgin on JEE web application, using Struts2 with annotations and
> tiles too.
> I've an error:
> - 2014-06-22 15:53:51,187 ERROR [org.apache.struts2.dispatcher.Dispatcher]
> - 
> Unable to load configuration. - [unknown location]
>     at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
>     at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
>     at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
>     at
> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
>     at
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
>     at
> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
>     at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
>     at
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
>     at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
>     at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>     at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>     at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> Caused by: The Result type [tiles] which is defined in the Result
> annotation on the class [class mypackage.WelcomeAction] or determined by
> the file extension or is the default result type for the PackageConfig of
> the action, could not be found as a result-type defined for the
> Struts/XWork package [mypackage#convention-default#/] - [unknown location]
> at
> org.apache.struts2.convention.DefaultResultMapBuilder.createResultConfig(DefaultResultMapBuilder.java:438)
>     at
> org.apache.struts2.convention.DefaultResultMapBuilder.createFromAnnotations(DefaultResultMapBuilder.java:410)
>     at
> org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:202)
>     at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:935)
>     at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:718)
>     at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:348)
>     at
> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>     at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:260)
>     at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> Here is WelcomeAction class:
> @Action(value = "menu",
>             results = {
>                     @Result(name = SUCCESS, location = "/search", type=
> "tiles"),
>                     @Result(name=INPUT, location = "/index", type =
> "tiles"),
>                     @Result(name = ERROR, location = "/index", type =
> "tiles")
>                     }
>     )
> And here are defintions in tiles.xml:
> 
>         
>         
>         
>         
>     
>
>     
>         
>         
>         
>     
>
>     
>         
>         
>         
>     
> Here is Struts.xml:
> 
>     
>      value="fr.itsystem.masyv.web" />
>      value="action,actions,struts,struts2,web"/>
>     
>     
>     
>     
>      
>          
>               class="org.apache.struts2.views.tiles.TilesResult" />
>          
>      
> 
> Here are declarations of the context and listener of tiles in my web.xml:
>     
>         Tiles configuration file
>
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
>         
>                 /WEB-INF/classes/tiles.xml
>         
>     
>     
>
> org.apache.struts2.tiles.StrutsTilesListener
>     
>
> Thank you a lot in advance.
>
> Sincerly
>
> Amine
>

Re: Tiles Struts2 Annotations

2014-06-22 Thread Dave Newton
What libraries/jars are you deploying? Are you using a parent package that
extends tiles-default?
On Jun 22, 2014 10:07 AM, "Amine BADID"  wrote:

> Hi All.
> I'm workgin on JEE web application, using Struts2 with annotations and
> tiles too.
> I've an error:
> - 2014-06-22 15:53:51,187 ERROR [org.apache.struts2.dispatcher.Dispatcher]
> - 
> Unable to load configuration. - [unknown location]
> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
> at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
> at
> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
> at
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
> at
> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
> at
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: The Result type [tiles] which is defined in the Result
> annotation on the class [class mypackage.WelcomeAction] or determined by
> the file extension or is the default result type for the PackageConfig of
> the action, could not be found as a result-type defined for the
> Struts/XWork package [mypackage#convention-default#/] - [unknown location]
> at
> org.apache.struts2.convention.DefaultResultMapBuilder.createResultConfig(DefaultResultMapBuilder.java:438)
> at
> org.apache.struts2.convention.DefaultResultMapBuilder.createFromAnnotations(DefaultResultMapBuilder.java:410)
> at
> org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:202)
> at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:935)
> at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:718)
> at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:348)
> at
> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
> at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:260)
> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> Here is WelcomeAction class:
> @Action(value = "menu",
> results = {
> @Result(name = SUCCESS, location = "/search", type=
> "tiles"),
> @Result(name=INPUT, location = "/index", type =
> "tiles"),
> @Result(name = ERROR, location = "/index", type =
> "tiles")
> }
> )
> And here are defintions in tiles.xml:
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> 
>     
> 
> 
>     
> Here is Struts.xml:
> 
> 
>  value="fr.itsystem.masyv.web" />
>  value="action,actions,struts,struts2,web"/>
> 
> 
> 
> 
>  
>  
>   class="org.apache.struts2.views.tiles.TilesResult" />
>  
>  
> 
> Here are declarations of the context and listener of tiles in my web.xml:
> 
> Tiles configuration file
>
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> 
> /WEB-INF/classes/tiles.xml
> 
> 
> 
>
> org.apache.struts2.tiles.StrutsTilesListener
> 
>
> Thank you a lot in advance.
>
> Sincerly
>
> Amine
>


Tiles Struts2 Annotations

2014-06-22 Thread Amine BADID
Hi All.
I'm workgin on JEE web application, using Struts2 with annotations and tiles 
too.
I've an error:
- 2014-06-22 15:53:51,187 ERROR [org.apache.struts2.dispatcher.Dispatcher] - 

Unable to load configuration. - [unknown location]
    at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
    at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
    at 
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
    at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
    at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: The Result type [tiles] which is defined in the Result annotation on 
the class [class mypackage.WelcomeAction] or determined by the file extension 
or is the default result type for the PackageConfig of the action, could not be 
found as a result-type defined for the Struts/XWork package 
[mypackage#convention-default#/] - [unknown location]
at 
org.apache.struts2.convention.DefaultResultMapBuilder.createResultConfig(DefaultResultMapBuilder.java:438)
    at 
org.apache.struts2.convention.DefaultResultMapBuilder.createFromAnnotations(DefaultResultMapBuilder.java:410)
    at 
org.apache.struts2.convention.DefaultResultMapBuilder.build(DefaultResultMapBuilder.java:202)
    at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.createActionConfig(PackageBasedActionConfigBuilder.java:935)
    at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:718)
    at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:348)
    at 
org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
    at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:260)
    at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
Here is WelcomeAction class:
@Action(value = "menu", 
            results = { 
                    @Result(name = SUCCESS, location = "/search", type= 
"tiles"), 
                    @Result(name=INPUT, location = "/index", type = "tiles"),
                    @Result(name = ERROR, location = "/index", type = "tiles")
                    }
    )
And here are defintions in tiles.xml:

        
        
        
        
    

    
        
        
        
    
    
    
        
        
        
    
Here is Struts.xml:

    
    
    
    
    
    
    
 
     
     
     
 

Here are declarations of the context and listener of tiles in my web.xml:
    
        Tiles configuration file
        
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
        
                /WEB-INF/classes/tiles.xml
        
    
    
        
org.apache.struts2.tiles.StrutsTilesListener
    

Thank you a lot in advance.

Sincerly

Amine


Struts2 Tiles deprecation warning

2014-04-16 Thread Paul Benedict
Struts 2.3.16.1
Tiles 2.2.2

Everytime my application boots, this shows up in the logs:
DEPRECATION WARNING! You are using parameter-based initialization, that is
no longer supported! Please see docs:
http://tiles.apache.org/framework/tutorial/configuration.html

I did some internet research; my findings say this is a problem with the
Struts 2 plugin being out-of-date. Is this true? Or is this only a
configuration issue which I can fix (and how?)?

-- 
Cheers,
Paul


Re: Tiles with Annotations

2014-01-03 Thread Christoph Nenning
> 
> And soon it will be integrated with S2 as well :-)
> 
> https://issues.apache.org/jira/browse/WW-4161
> 
> 

Interesting that there is something happening in that direction.

I commented in JIRA an posting it here again:

convention-plugin provides a set of own annotations like @Action or 
@Result to override the convention. I think it would be nice to have such 
annotations for tiles as well. 


regards,
Christoph

This Email was scanned by Sophos Anti Virus


Re: Tiles with Annotations

2014-01-03 Thread Lukasz Lenart
And soon it will be integrated with S2 as well :-)

https://issues.apache.org/jira/browse/WW-4161


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2014/1/2 Ken McWilliams :
> I arrived at the same conclusion when trying to remove my tiles
> configuration. I upgraded to tiles 3 in the process and wrote a custom
> result handler (sorry a custom "unknown result handler"). It is invoked
> when conventions isn't able to find an appropriate result.
>
>  Here is a stack overflow Q & A which covers that process: "How to
> Integrate Struts Conventions with Tiles such that the benefit of
> conventions is maintained" http://stackoverflow.com/q/16116142/514065
>
>
>
> On Thu, Jan 2, 2014 at 9:16 AM, Paul Benedict  wrote:
>
>> Annotations usually help augment the class being annotated. I don't think
>> annotating a Struts action with Tile definitions is very appropriate for
>> this purpose. The purposes are just very different. XML seems more
>> appropriate than annotations here.
>>
>>
>>
>>
>> On Thu, Jan 2, 2014 at 10:02 AM, Christoph Nenning <
>> christoph.nenn...@lex-com.net> wrote:
>>
>> > Dear List,
>> >
>> >
>> > in our applications we often use the convention-plugin together with
>> > tiles-plugin (tiles 2).
>> >
>> > convention-plugin has the advantage that it is not necessary to put an
>> > entry in struts.xml for each action. So struts.xml usually is very small.
>> > But we still have tiles.xml which needs an entry for each action. In big
>> > applications that file becomes huge and hard to maintain.
>> >
>> > To fix that I created a bunch of Annotations and a struts2 result to be
>> > able to create tile defs with annotations.
>> >
>> >
>> > It would take me some time to turn that into a proper framework patch.
>> >
>> > Now my question is: Do you like that stuff?
>> >
>> >
>> >
>> > Sample application code:
>> >
>> >
>> > ----
>> > tiles.xml
>> > 
>> > 
>> > > > "/WEB-INF/tiles/layout/layout.jsp">
>> > 
>> > 
>> > 
>> >
>> > 
>> > 
>> > 
>> >
>> >
>> > 
>> > SampleAction
>> > 
>> > @Result(name=SampleAction.INPUT, type="tiles-annotation")
>> > @TileDef(
>> > extend=".default-layout",
>> > attributes={
>> > @TileAttribute(name="titleMsgKey",
>> value="text.key.test"),
>> > @TileAttribute(name="content", value=
>> > "/WEB-INF/tiles/test/test.jsp")
>> > }
>> > )
>> > public class SampleAction extends ActionSupport {
>> > ...
>> > }
>> >
>> >
>> > 
>> > web.xml
>> > 
>> >
>> > 
>> > 
>> > 
>> > 
>> >  org.apache.struts2.tiles.StrutsTilesAnnotationsListener
>> > 
>> > 
>> > 
>> > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
>> > /WEB-INF/classes/tiles.xml> > param-value>
>> > 
>> > 
>> >
>> >
>> >
>> > regards,
>> > Christoph
>> >
>> > This Email was scanned by Sophos Anti Virus
>> >
>>
>>
>>
>> --
>> Cheers,
>> Paul
>>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Tiles with Annotations

2014-01-02 Thread Ken McWilliams
I arrived at the same conclusion when trying to remove my tiles
configuration. I upgraded to tiles 3 in the process and wrote a custom
result handler (sorry a custom "unknown result handler"). It is invoked
when conventions isn't able to find an appropriate result.

 Here is a stack overflow Q & A which covers that process: "How to
Integrate Struts Conventions with Tiles such that the benefit of
conventions is maintained" http://stackoverflow.com/q/16116142/514065



On Thu, Jan 2, 2014 at 9:16 AM, Paul Benedict  wrote:

> Annotations usually help augment the class being annotated. I don't think
> annotating a Struts action with Tile definitions is very appropriate for
> this purpose. The purposes are just very different. XML seems more
> appropriate than annotations here.
>
>
>
>
> On Thu, Jan 2, 2014 at 10:02 AM, Christoph Nenning <
> christoph.nenn...@lex-com.net> wrote:
>
> > Dear List,
> >
> >
> > in our applications we often use the convention-plugin together with
> > tiles-plugin (tiles 2).
> >
> > convention-plugin has the advantage that it is not necessary to put an
> > entry in struts.xml for each action. So struts.xml usually is very small.
> > But we still have tiles.xml which needs an entry for each action. In big
> > applications that file becomes huge and hard to maintain.
> >
> > To fix that I created a bunch of Annotations and a struts2 result to be
> > able to create tile defs with annotations.
> >
> >
> > It would take me some time to turn that into a proper framework patch.
> >
> > Now my question is: Do you like that stuff?
> >
> >
> >
> > Sample application code:
> >
> >
> > 
> > tiles.xml
> > 
> > 
> >  > "/WEB-INF/tiles/layout/layout.jsp">
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> >
> > 
> > SampleAction
> > ----
> > @Result(name=SampleAction.INPUT, type="tiles-annotation")
> > @TileDef(
> > extend=".default-layout",
> > attributes={
> > @TileAttribute(name="titleMsgKey",
> value="text.key.test"),
> > @TileAttribute(name="content", value=
> > "/WEB-INF/tiles/test/test.jsp")
> > }
> > )
> > public class SampleAction extends ActionSupport {
> > ...
> > }
> >
> >
> > 
> > web.xml
> > 
> >
> > 
> > 
> > 
> > 
> >  org.apache.struts2.tiles.StrutsTilesAnnotationsListener
> > 
> > 
> > 
> > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> > /WEB-INF/classes/tiles.xml > param-value>
> > 
> > 
> >
> >
> >
> > regards,
> > Christoph
> >
> > This Email was scanned by Sophos Anti Virus
> >
>
>
>
> --
> Cheers,
> Paul
>


Re: Tiles with Annotations

2014-01-02 Thread Paul Benedict
Annotations usually help augment the class being annotated. I don't think
annotating a Struts action with Tile definitions is very appropriate for
this purpose. The purposes are just very different. XML seems more
appropriate than annotations here.




On Thu, Jan 2, 2014 at 10:02 AM, Christoph Nenning <
christoph.nenn...@lex-com.net> wrote:

> Dear List,
>
>
> in our applications we often use the convention-plugin together with
> tiles-plugin (tiles 2).
>
> convention-plugin has the advantage that it is not necessary to put an
> entry in struts.xml for each action. So struts.xml usually is very small.
> But we still have tiles.xml which needs an entry for each action. In big
> applications that file becomes huge and hard to maintain.
>
> To fix that I created a bunch of Annotations and a struts2 result to be
> able to create tile defs with annotations.
>
>
> It would take me some time to turn that into a proper framework patch.
>
> Now my question is: Do you like that stuff?
>
>
>
> Sample application code:
>
>
> ----
> tiles.xml
> 
> 
>  "/WEB-INF/tiles/layout/layout.jsp">
> 
> 
> 
>
> 
> 
> 
>
>
> ----
> SampleAction
> 
> @Result(name=SampleAction.INPUT, type="tiles-annotation")
> @TileDef(
> extend=".default-layout",
> attributes={
> @TileAttribute(name="titleMsgKey", value="text.key.test"),
> @TileAttribute(name="content", value=
> "/WEB-INF/tiles/test/test.jsp")
> }
> )
> public class SampleAction extends ActionSupport {
> ...
> }
>
>
> 
> web.xml
> 
>
> 
> 
> 
> 
>  org.apache.struts2.tiles.StrutsTilesAnnotationsListener
> 
> 
> 
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> /WEB-INF/classes/tiles.xml param-value>
> 
> 
>
>
>
> regards,
> Christoph
>
> This Email was scanned by Sophos Anti Virus
>



-- 
Cheers,
Paul


Tiles with Annotations

2014-01-02 Thread Christoph Nenning
Dear List,


in our applications we often use the convention-plugin together with 
tiles-plugin (tiles 2).

convention-plugin has the advantage that it is not necessary to put an 
entry in struts.xml for each action. So struts.xml usually is very small.
But we still have tiles.xml which needs an entry for each action. In big 
applications that file becomes huge and hard to maintain.

To fix that I created a bunch of Annotations and a struts2 result to be 
able to create tile defs with annotations.


It would take me some time to turn that into a proper framework patch.

Now my question is: Do you like that stuff?



Sample application code:



tiles.xml













SampleAction

@Result(name=SampleAction.INPUT, type="tiles-annotation")
@TileDef(
extend=".default-layout",
attributes={
@TileAttribute(name="titleMsgKey", value="text.key.test"),
@TileAttribute(name="content", value=
"/WEB-INF/tiles/test/test.jsp")
}
)
public class SampleAction extends ActionSupport {
...
}



web.xml






 org.apache.struts2.tiles.StrutsTilesAnnotationsListener



org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/WEB-INF/classes/tiles.xml





regards,
Christoph

This Email was scanned by Sophos Anti Virus


Re: Issues with Struts Tiles

2013-10-06 Thread Per Pascal Grube
One thing, that I saw while looking at your code is that I have a different 
taglib: 

<%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %>

and that I use
 
to include fragments.

Maybe this helps.

Regards, Pascal

On Saturday 05 October 2013 11:04:55 Srineel Mazumdar wrote:
> Hi,
> 
> I am getting the following issues with Tiles + Struts 2 : Please help
> 
> 
> *** SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
> at
> org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:687
> ) at
> org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:478
> ) at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:438)
> 
>  Struts has detected an unhandled exception:
>   *Messages*:
> 
>1. ServletException including path '/WEB-INF/jsp/homepage.jsp'.
>2. ServletException including path '/WEB-INF/jsp/homepage.jsp'.
> 
>   *File*: org/apache/struts/taglib/tiles/InsertTag.java  *Line number*: 687
>  --
> Stacktraces
> *org.apache.tiles.TilesException: ServletException including path
> '/WEB-INF/jsp/homepage.jsp'.*
> 
>
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:6
> 14)
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:2
> 46)
> 
> *******
> 
> *petStoreTilesConfigFile.xml*
> 
> 
> "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>"http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *
> 
> *web.xml*
> 
> *
> http://www.w3.org/2001/XMLSchema-instance";
>   xmlns="http://java.sun.com/xml/ns/javaee";
> xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
>   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
>   id="WebApp_ID" version="2.5">
>   NewPetstore
>
>   org.apache.tiles.CONTAINER_FACTORY
>   org.apache.struts2.tiles.StrutsTilesContainerFactory alue>
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONF
> IG
> /WEB-INF/petStoreTilesConfigFile.xml
>   
> 
>  
>   webAppRootKey
>   petstore.root
>   
> 
>   
>   
>   log4jConfigLocation
>   /WEB-INF/log4j.properties
>   
> 
>   
>   contextConfigLocation
>   /WEB-INF/dataAccessContext-local.xml
> /WEB-INF/applicationContext.xml
>   
>   
> 
>   
>   org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG param-name> /WEB-INF/petStoreTilesConfigFile.xml
>   
>   
>   struts
>   org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExec
> uteFilter 
> 
>   
>   struts
>   *.action
>   
> 
> 
> 
>   
>   org.springframework.web.context.ContextLoaderListener tener-class> 
> 
> 
>   
>   org.springframework.web.context.request.RequestContextList
> ener 
> 
>   
>   
>   org.apache.struts2.tiles.StrutsTilesListener ss> 
> 
>   
>   index.html
>   index.htm
>   index.jsp
>   default.html
>   default.htm
>   default.jsp
>   
> 
> *
> 
> *
> 
> *homepage.jsp*
> 
> *<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>   pageEncoding="ISO-8859-1"%>
> 
>  "http://www.w3.org/TR/html4/loose.dtd";>
> <%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles"%>
> 
> 
> 
> 
> 
> Home Page : Pet Store
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *
> 
> *Regards,*
> *Srineel*

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



  1   2   3   4   5   6   7   8   9   10   >