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 but it means we shouldn't autogenerate IDs which can break few things :/ 2014-09-21 14:15 GMT+02:00 Heikki Hyyrö : > Lukasz Lenart kirjoitti 21.9.2014 kello

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 Len

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 : > Ł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 ER

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 : > 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 > Avert

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 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/ Ther

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 : > web.xml has a login welcome-file-list that should be the 1st page displayed > > > jsp/login/login.jsp > > > You can download the war file from > https://kenai.com/projects/j-isis/downloads/download/Web-JISIS3.war if you > have time to hav

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 jsp/login/login.jsp 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 look I have probably make something wrong but I cannot figu

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 : > 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]. Did you

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 7,

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 : > 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 following page: > Er

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 not