Re: s2 and jdk9: works with newer snapshot builds

2017-08-10 Thread Lukasz Lenart
2017-08-10 8:17 GMT+02:00 Yasser Zamani : > Does not fail in my windows cmd. > > C:\Users\user\IdeaProjects\struts>C:\Users\user\Downloads\apache-maven-3.5.0-bin > \apache-maven-3.5.0\bin\mvn -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-04T00:09:0 > 6+04:30) >

[ANN] Apache Struts: S2-049 Security Bulletin update

2017-08-10 Thread Lukasz Lenart
This is an update of the recently announced Security Bulletin S2-049 - http://struts.apache.org/docs/s2-049.html The bulletin was extended with an additional information when the potential vulnerability can be present in your application. Please re-read the mentioned bulletin and apply required ac

Struts2 - Open page in same tab

2017-08-10 Thread Deborah White
I have a page that is opening a new tab instead of the same tab. Since I am somewhat new to jquery, ajax and struts, I'm wondering if someone can help me. I have this in my jsp: function continueToNext() { document.getElementById("payByCheck").value = payByCheck; $('#Stat

Re: s2 and jdk9: works with newer snapshot builds

2017-08-10 Thread Yasser Zamani
With pleasure... C:\Users\user>java -version java version "1.9.0-ea" Java(TM) SE Runtime Environment (build 1.9.0-ea-b52) Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b52, mixed mode) C:\Users\user>javac -version javac 1.9.0-ea However, now, as you use latest jdk, I'm going to download and

Re: s2 and jdk9: works with newer snapshot builds

2017-08-10 Thread Lukasz Lenart
2017-08-10 21:48 GMT+02:00 Yasser Zamani : > With pleasure... > > C:\Users\user>java -version > java version "1.9.0-ea" > Java(TM) SE Runtime Environment (build 1.9.0-ea-b52) > Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b52, mixed mode) This an old build ... maybe that's why > However, now

Re: Struts2 - Open page in same tab

2017-08-10 Thread Lukasz Lenart
Hi, Please post such questions to the Struts User Mailing list, the Dev list is used to discuss development of the framework itself. http://struts.apache.org/mail.html Check if your form definition contains attribute "target" Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-0

[GitHub] struts issue #153: WW-4827 Not fully initialized ObjectFactory tries to crea...

2017-08-10 Thread lukaszlenart
Github user lukaszlenart commented on the issue: https://github.com/apache/struts/pull/153 The case is that on second container initialisation we do not create singletons upfront ... I have tried to change that but got some problems, not sure why. I must re-think how we initialise Str

Re: s2 and jdk9: works with newer snapshot builds

2017-08-10 Thread Yasser Zamani
You are right! I get same result with last jdk9. i.e. a lot of tests fail in windows cmd and also IntelliJ IDEA's maven run but IntelliJ IDEA's debug passes that test ! (I tested first one reported i.e. org.apache.struts2.components.ComponentTest). ...still working to find out why!... On 8/11/