Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
Thanks a lot for your prompt responses. Web-JISIS3 is the name of the war file (Web-JISIS3.war) that is located in the $JETTY_HOME/webapps directory. Here is below how I start Jetty - at first glance it seems OK (not sure about the Struts2 INFO messages) but The message Web-JISIS3 deployed is

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Lukasz Lenart
2014-10-07 9:13 GMT+02:00 Jean-Claude Dauphin jc.daup...@gmail.com: Thanks a lot for your prompt responses. Web-JISIS3 is the name of the war file (Web-JISIS3.war) that is located in the $JETTY_HOME/webapps directory. [ciach] Pointing the browser to http://localhost:8080/ gives the

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
Clicking on http://localhost:8080/Web-JISIS3 gives the page HTTP ERROR 404 Problem accessing /Web-JISIS3/. Reason: There is no Action mapped for namespace [/] and action name [] associated with context path [/Web-JISIS3]. -- *Powered by Jetty://* On Tue, Oct

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Lukasz Lenart
2014-10-07 9:31 GMT+02:00 Jean-Claude Dauphin jc.daup...@gmail.com: Clicking on http://localhost:8080/Web-JISIS3 gives the page HTTP ERROR 404 Problem accessing /Web-JISIS3/. Reason: There is no Action mapped for namespace [/] and action name [] associated with context path

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
web.xml has a login welcome-file-list that should be the 1st page displayed welcome-file-list welcome-filejsp/login/login.jsp/welcome-file /welcome-file-list You can download the war file from https://kenai.com/projects/j-isis/downloads/download/Web-JISIS3.war if you have time to have a

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Lukasz Lenart
2014-10-07 9:59 GMT+02:00 Jean-Claude Dauphin jc.daup...@gmail.com: web.xml has a login welcome-file-list that should be the 1st page displayed welcome-file-list welcome-filejsp/login/login.jsp/welcome-file /welcome-file-list You can download the war file from

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
clicking http://localhost:8080/Web-JISIS3/ gives the following error on the Jetty Server console: 2014-10-07 11:18:30.935:INFO:oejs.Server:main: Started @8952ms oct. 07, 2014 11:18:51 AM org.apache.struts2.dispatcher.Dispatcher warn Avertissement: Could not find action or result: /Web-JISIS3/

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
Łukasz, Clicking http://localhost:8080/Web-JISIS3/doSelectDatabase.action, I finally got the Login screen everything is working fine after. However, http://localhost:8080/Web-JISIS3/doLogin.action doesn't work and gives: HTTP ERROR 404 Problem accessing /Web-JISIS3/doLogin.action. Reason:

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Lukasz Lenart
2014-10-07 11:43 GMT+02:00 Jean-Claude Dauphin jc.daup...@gmail.com: clicking http://localhost:8080/Web-JISIS3/ gives the following error on the Jetty Server console: 2014-10-07 11:18:30.935:INFO:oejs.Server:main: Started @8952ms oct. 07, 2014 11:18:51 AM

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Lukasz Lenart
2014-10-07 11:59 GMT+02:00 Jean-Claude Dauphin jc.daup...@gmail.com: Łukasz, Clicking http://localhost:8080/Web-JISIS3/doSelectDatabase.action, I finally got the Login screen everything is working fine after. However, http://localhost:8080/Web-JISIS3/doLogin.action doesn't work and gives:

Re: Any experience deploying Struts2 war webapps in Jetty 9.2.x

2014-10-07 Thread Jean-Claude Dauphin
Thank you Łukasz for your help and time. I think I have now a solution that works for both containers. I also saw in a old Jetty FAQ that for Struts the Jetty variable redirectWelcome which is FALSE by default should be set to TRUE. Best wishes, JCD On Tue, Oct 7, 2014 at 12:01 PM, Lukasz

Re: Struts 2 and automatic ids

2014-10-07 Thread Lukasz Lenart
I was wondering what the proper solution should be and didn't find any :\ You can always add id attribute your self - this should work s:hidden id='hidden-'+%{#user.id} name=userIds value=%{#user.id} / s:select id='groups'++%{#user.id} list=groupList name=groupIds value=%{groupValues[#user.id]}