Re: Date Type Converter strange behavior

2021-04-26 Thread M Huzaifah
ass)? > > Regards. > > [1] https://struts.apache.org/core-developers/type-conversion-annotation.html > > On 2021/04/25 20:02:47, M Huzaifah wrote: >> Hy guys, >> >> i found somethin strange with StrutsTypeConverter. >> let say i have a converte

Date Type Converter strange behavior

2021-04-25 Thread M Huzaifah
Hy guys, i found somethin strange with StrutsTypeConverter. let say i have a converter like this: //-- begin DateConverter class --- import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import javax.annotati

Re: Struts 1 -> Struts 2 migration session parameters not found

2020-08-27 Thread M Huzaifah
Hii Natta Wang, Are you try using session interceptor? In java, the session could access using ServletActionContext.getRequest().getSession(); it will return servlet HttpSession and use getAttribute() method to ge your particular session by given sessionAttribut name. To access session in jsp, i

Re: Validation using Struts2-spring

2020-06-04 Thread M Huzaifah
Validations Annotation. Thank You All > On 4 Jun 2020, at 12.00, M Huzaifah wrote: > > Hii Guys, > > i’am stuck with Validation in Struts2 using struts2-spring plugin. > struts version : 2.5.22 > spring version : 5.2.1.RELEASE > > my validators.xml in classpath: > &

Validation using Struts2-spring

2020-06-03 Thread M Huzaifah
Hii Guys, i’am stuck with Validation in Struts2 using struts2-spring plugin. struts version : 2.5.22 spring version : 5.2.1.RELEASE my validators.xml in classpath: http://struts.apache.org/dtds/xwork-validator-definition-1.0.dtd";> my struts.xml config form constant Struts-s

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread M Huzaifah
Eyou should use interface Filter in servlet package. Not from nio package On Tue, May 5, 2020, 22:40 Dave Newton wrote: > `import java.nio.file.DirectoryStream.Filter` is not a servlet filter. > > Dave >

Re: OSGi support

2020-04-15 Thread M Huzaifah
Hii Lucas, Personally, i am not use OSGi. There is plan to remove this in struts? Regards. On Wed, Apr 15, 2020, 12:29 Lukasz Lenart wrote: > Hi, > > Does anybody is using OSGi support in Struts these days? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --

Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
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 us

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 2

Re: OGNL in struts tag

2020-02-20 Thread M Huzaifah
print like code bellow thats no problem: ${a.formcolumnName} so, i read your documentation about the expression, then i change my code bellow: it works perfectly, thank you Lucas. Regards > On 20 Feb 2020, at 16.16, Lukasz Lenart wrote: > > wt., 18 lut 2020 o 17:04 M

Re: OGNL in struts tag

2020-02-18 Thread M Huzaifah
think Struts2 tags don't allow EL so you have to use OGNL expression to > create dynamic names. > > On 2/18/20 7:09 AM, Lukasz Lenart wrote: > > wt., 18 lut 2020 o 05:22 M Huzaifah > napisał(a): > >> I've looking for solution how to create struts2 tag could generate &

OGNL in struts tag

2020-02-17 Thread M Huzaifah
Dear All, I've looking for solution how to create struts2 tag could generate dynamically. This is my code: There is a way we can use ${} ini struts tag?. I found security issue about this evaluation sintaks in here : https://securitylab.github.com/research/apache-struts-double-evaluation

Re: Struts Application Generator plugin

2019-11-30 Thread M Huzaifah
Hi,.. I was wonder to have generator like you said. My idea came up when i use mybatis generator. Mybatis generator will inspect single column in table that we've registeren in config, and generate the POJO,Interface, and XML for us. For custom purpose i plan to use it for generate JSP, struts2 c

Re: Update views how to ?

2019-11-26 Thread M Huzaifah
room i.e. classic usage of server push). > > Otherwise or anyway, for now, you can try if Struts ExecAndWait is able to > handle your users. > > Regards. > > [1] > https://github.com/apache/struts/pull/179/commits/aee171c3b8ad401006612c4df44ed540fb2ed7e3 > > >-Orig

Re: Update views how to ?

2019-11-21 Thread M Huzaifah
Hi, You should use stream mecanism for that case. What i've done, i used JMS, message-broker, which mean the browser always listen to message-broker server using websocket (STOMP,AMQP,etc). When backend push message to the broker server, browser automatically receive and render the message to the

How to Strtus2-Rest plugin could create /user/{id}/{branch} URL Pattern

2019-05-11 Thread M Huzaifah
Dear All, i’am stuck how to create /user/{id}/{branch}/{xx} URL Pattern using Struts-convention and Struts2-rest plugin. there is a way to make it done? I knew it can be done by using advance wildcard in our struts xml as mention in here https://struts.apache.org/core-developers/wildcard-mappi

Re: [ask] How to pass multiple radio button in struts2

2018-12-24 Thread M Huzaifah
wrote: > > Hi, > > As different values are setting into same viewAccess[0], I guess instead > `private String viewAccess[][];` (array of array) would work. > > Regards. > >> -Original Message- >> From: M Huzaifah >> Sent: Friday, December 21,

[ask] How to pass multiple radio button in struts2

2018-12-21 Thread M Huzaifah
Hi Members, i would like to ask something about radio button in strtus2. i have radio button in jsp like this: All Self Custom All Self Custom and in my JavaAction class i add property " private String viewAccess[]; “ also with setter and getter. the problem is,

Re: Ask - "Reloading all providers." everytime invoce action.

2018-12-12 Thread M Huzaifah
gt; This bug already has fixed [1] and will be released soon with 2.5.19. > > Regards. > > [1] https://issues.apache.org/jira/browse/WW-4974 > >> -Original Message- >> From: M Huzaifah >> Sent: Wednesday, December 12, 2018 12:37 PM >> To: user@struts.ap

Ask - "Reloading all providers." everytime invoce action.

2018-12-12 Thread M Huzaifah
Dear All, I already migrate from struts 2.3 to 2.5.18 successfully, i also integrate struts2 with spring (autowired capability). i found somethin strange in my console. what i found is everytime request action, in console always show this log: "[INFO 2018-12-12 15:46:29,369] com.opensymphon

Re: A book of Struts

2018-10-17 Thread M Huzaifah
Hii Lukas, Sounds great, consider to add integration with other framework such as spring, mybatis, etc Regards On Wed, Oct 17, 2018, 2:38 PM Lukasz Lenart wrote: > Hi everyone, > > I would like to (finally ;-) write a book about the latest version of > the Apache Struts, probably targeting Str