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


Groups > comp.lang.java.programmer > #36135

Re: Mixing Struts 2 tags with plain HTML?

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Mixing Struts 2 tags with plain HTML?
Date 2016-12-28 21:18 -0500
Organization Aioe.org NNTP Server
Message-ID <o41rq8$lo9$1@gioia.aioe.org> (permalink)
References <d066b19a-c2b8-43ea-865a-f2367c3a4304@googlegroups.com> <o3a037$1nmi$1@gioia.aioe.org> <407e2330-701e-451d-b150-4d28a62154fd@googlegroups.com>

Show all headers | View raw


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


Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web