Re: Why do I get HTTP Status 404 - Not Found after http://localhost:8080/struts2_maven/User/Login.action?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
pom.xml = http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 com.training struts2_maven war 0.0.1-SNAPSHOT struts2_maven Maven Webapp

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
Yes On Sat, Jun 24, 2017 at 2:05 AM, Lukasz Lenart wrote: > Did that help? > > W dniu pt., 23.06.2017 o 17:55 ssmtpmailtesting ssmtpmailtesting < > ssmtpmailtest...@gmail.com> napisał(a): > >> Thank you Lukasz Lenart >> >> On Fri, Jun 23, 2017 at 9:44 PM, Lukasz Lenart

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-23 Thread Ken McWilliams
Yes, something like that. But I think i can be done in a hackish way without much change. Really it is the conventions plugin that is at fault, or rather a lack of convention regarding sharing configuration that aught to be standardized. The beans and constants are currently scoped globally,

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
Did that help? W dniu pt., 23.06.2017 o 17:55 ssmtpmailtesting ssmtpmailtesting < ssmtpmailtest...@gmail.com> napisał(a): > Thank you Lukasz Lenart > > On Fri, Jun 23, 2017 at 9:44 PM, Lukasz Lenart > wrote: > > Did you change a result type? > > > > W dniu pt.,

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
Thank you Lukasz Lenart On Fri, Jun 23, 2017 at 9:44 PM, Lukasz Lenart wrote: > Did you change a result type? > > W dniu pt., 23.06.2017 o 16:45 Christoph Nenning < > christoph.nenn...@lex-com.net> napisał(a): > >> > From: ssmtpmailtesting ssmtpmailtesting

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
Did you change a result type? W dniu pt., 23.06.2017 o 16:45 Christoph Nenning < christoph.nenn...@lex-com.net> napisał(a): > > From: ssmtpmailtesting ssmtpmailtesting > > To: Struts Users Mailing List , > > lukaszlen...@apache.org, > > Date:

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Christoph Nenning
> From: ssmtpmailtesting ssmtpmailtesting > To: Struts Users Mailing List , > lukaszlen...@apache.org, > Date: 23.06.2017 14:54 > Subject: Re: How can I convert .jsp to .ftl (freemarker)? > > I tried this: > > > > > Login Form > > >

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
I tried this: Login Form Struts 2 Hello World Example <@s.form action="Welcome" method="post"> <@s.textfield name="username" label="Username" /> <@s.textfield name="description" label="Description" /> <@s.password name="password" label="Password" />

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
2017-06-23 13:19 GMT+02:00 Christoph Nenning : > One thing that catches my eye: in freemarker you have to replace colons > with dots: > > <@s.form action="Welcome" method="post"> Exactly, that's a case https://struts.apache.org/docs/freemarker-tags.html Regards --

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Christoph Nenning
> From: ssmtpmailtesting ssmtpmailtesting > To: user@struts.apache.org, > Date: 23.06.2017 10:12 > Subject: How can I convert .jsp to .ftl (freemarker)? > > login.jsp = > > <%@ taglib prefix="s" uri="/struts-tags"%> > <%@ page contentType="text/html;

How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
login.jsp = <%@ taglib prefix="s" uri="/struts-tags"%> <%@ page contentType="text/html; charset=UTF-8"%> Login Form Struts 2 Hello World Example I tried this: login.ftl = <#assign s=JspTaglibs["struts-tags.tld"] /> Login Form

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-23 Thread Lukasz Lenart
2017-06-22 2:45 GMT+02:00 Ken McWilliams : > Sure, doing Struts2/Shiro integration at the moment. Will come back to > this, it was a rant from running into issues when setting up some personal > demo projects. The limitation from one static configuration to cover all >