Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36125 > unrolled thread

Mixing Struts 2 tags with plain HTML?

Started bygalt_57@hotmail.com
First post2016-12-19 13:58 -0800
Last post2016-12-28 21:18 -0500
Articles 4 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Mixing Struts 2 tags with plain HTML? galt_57@hotmail.com - 2016-12-19 13:58 -0800
    Re: Mixing Struts 2 tags with plain HTML? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-19 20:04 -0500
      Re: Mixing Struts 2 tags with plain HTML? galt_57@hotmail.com - 2016-12-20 11:26 -0800
        Re: Mixing Struts 2 tags with plain HTML? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-28 21:18 -0500

#36125 — Mixing Struts 2 tags with plain HTML?

Fromgalt_57@hotmail.com
Date2016-12-19 13:58 -0800
SubjectMixing Struts 2 tags with plain HTML?
Message-ID<d066b19a-c2b8-43ea-865a-f2367c3a4304@googlegroups.com>
So use nothing but struts tags? No mixing? I keep getting unwanted tags.

[toc] | [next] | [standalone]


#36126

FromArne Vajhøj <arne@vajhoej.dk>
Date2016-12-19 20:04 -0500
Message-ID<o3a037$1nmi$1@gioia.aioe.org>
In reply to#36125
On 12/19/2016 4:58 PM, galt_57@hotmail.com wrote:
> So use nothing but struts tags? No mixing? I keep getting unwanted tags.

Sure you can mix.

Please show us an example JSP page and the error message you get.

Arne

[toc] | [prev] | [next] | [standalone]


#36127

Fromgalt_57@hotmail.com
Date2016-12-20 11:26 -0800
Message-ID<407e2330-701e-451d-b150-4d28a62154fd@googlegroups.com>
In reply to#36126
On Monday, December 19, 2016 at 7:04:52 PM UTC-6, Arne Vajhøj wrote:
> On 12/19/2016 4:58 PM, Davej wrote:
> > So use nothing but struts tags? No mixing? I keep getting unwanted tags.
> 
> Sure you can mix.
> 
> Please show us an example JSP page and the error message you get.
> 
> Arne

Oh, it isn't a matter of error messages; it is just a matter of non- 
validating HTML structures. I think it is just that I need to learn 
what to expect from Struts. For example you need to know that a 
struts-form will auto-generate a table and a struts-submit will auto-
generate a table fragment. If you try to mix another table into the 
same form Struts doesn't know what to do with it and you end up with non-validating HTML.

[toc] | [prev] | [next] | [standalone]


#36135

FromArne Vajhøj <arne@vajhoej.dk>
Date2016-12-28 21:18 -0500
Message-ID<o41rq8$lo9$1@gioia.aioe.org>
In reply to#36127
On 12/20/2016 2:26 PM, galt_57@hotmail.com wrote:
> On Monday, December 19, 2016 at 7:04:52 PM UTC-6, Arne Vajhøj wrote:
>> On 12/19/2016 4:58 PM, Davej wrote:
>>> So use nothing but struts tags? No mixing? I keep getting unwanted tags.
>>
>> Sure you can mix.
>>
>> Please show us an example JSP page and the error message you get.
>
> Oh, it isn't a matter of error messages; it is just a matter of non-
> validating HTML structures. I think it is just that I need to learn
> what to expect from Struts. For example you need to know that a
> struts-form will auto-generate a table and a struts-submit will auto-
> generate a table fragment. If you try to mix another table into the
> same form Struts doesn't know what to do with it and you end up with non-validating HTML.

In my experience then all healthy mixes of taglib tags and HTML
tags work fine.

Obviously "healthy" is a rather imprecise term in this context.

But let us define:

healthy = (JSP page is in XML format and is well formed XML) or (JSP 
page is in traditional format but converted to XML format it would be 
well formed XML)

But if you provide a specific example it would be a lot easier
to determine what the problem is.

Arne


[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web