struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssmtpmailtesting ssmtpmailtesting <ssmtpmailtest...@gmail.com>
Subject Re: How can I convert .jsp to .ftl (freemarker)?
Date Fri, 23 Jun 2017 15:55:15 GMT
Thank you Lukasz Lenart

On Fri, Jun 23, 2017 at 9:44 PM, Lukasz Lenart <lukaszlenart@apache.org> wrote:
> Did you change a result type?
>
> W dniu pt., 23.06.2017 o 16:45 Christoph Nenning <
> Christoph.Nenning@lex-com.net> napisał(a):
>
>> > From: ssmtpmailtesting ssmtpmailtesting <ssmtpmailtesting@gmail.com>
>> > To: Struts Users Mailing List <user@struts.apache.org>,
>> > lukaszlenart@apache.org,
>> > Date: 23.06.2017 14:54
>> > Subject: Re: How can I convert .jsp to .ftl (freemarker)?
>> >
>> > I tried this:
>> >
>> >
>> > <html>
>> > <head>
>> >     <title>Login Form</title>
>> > </head>
>> > <body>
>> >     <h1>Struts 2 Hello World Example</h1>
>> >
>> >     <@s.form action="Welcome" method="post">
>> >         <@s.textfield name="username" label="Username" />
>> >         <@s.textfield name="description" label="Description" />
>> >         <@s.password name="password" label="Password" />
>> >         <@s.submit />
>> >     </@s.form>
>> >
>> > </body>
>> > </html>
>> >
>> > still it's not outputting html form.
>>
>>
>> Any errors in logs?
>>
>>
>> regards,
>> Christoph
>>
>>
>> >
>> > On Fri, Jun 23, 2017 at 6:33 PM, Lukasz Lenart
>> > <lukaszlenart@apache.org> wrote:
>> > > 2017-06-23 13:19 GMT+02:00 Christoph Nenning
>> > <Christoph.Nenning@lex-com.net>:
>> > >> 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
>> > > --
>> > > Łukasz
>> > > + 48 606 323 122 http://www.lenart.org.pl/
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > > For additional commands, e-mail: user-help@struts.apache.org
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> >
>>
>> This Email was scanned by Sophos Anti Virus
>>
> --
> (mobile)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message