Posted by Mitja Trampus on 10/11/05 23:28
Piotr.Ozaist@gmail.com wrote:
> As I've written it was only example. In real program/web page I have to
> do some refactor of JSP page to eliminate some white spaces. I've got a
> code like:
> <logic:equal condition1 bean-write - ... />
> <logic:equal condition2 bean-write - ... />
> ...
> <logic:equal conditionN bean-write - ... />
>
> and the result of this code looks like our
> "a b c"
> from example.
> But I want "abc"
> Of course I can write it in JSP like:
> <logic:equal condition1 bean-write - ... /><logic:equal condition2
> bean-write - ... />...<logic:equal conditionN bean-write - ... />
> but it is not nice code, don't U think??
How about
<
logic:equal condition1 bean-write - ...
/><
logic:equal condition2 bean-write - ...
/>...<
logic:equal conditionN bean-write - ...
/>
(or with />< and logic:... squeezed on one line, if you like
it better).
Navigation:
[Reply to this message]
|