Working with JSP Fragments [message #206779] |
Mon, 14 January 2008 18:38  |
Eclipse User |
|
|
|
Hi,
I'm currently working with code which breaks down JSP documents into
fragments and imports those fragments with
<%@ include file="fragment.inc.jsp" %>
My problem is that Eclipse seems to not like this. For one, some JSP
fragment files aren't properly formed so they don't pass validation.
What's the recommended way for breaking up JSP's into fragments and
having Eclipse work well (validate, compile code, etc.) with it?
--
Richi Plana
|
|
|
|
Re: Working with JSP Fragments [message #206859 is a reply to message #206795] |
Wed, 16 January 2008 10:24  |
Eclipse User |
|
|
|
Thanks! I did vote for it. It was also following that bug that I
realized that one is supposed to (can) change Eclipse's interpretation
of the fragment by changing its extension (an archaic method for
associating meta-information with file objects) from JSP to JSPF.
For now, I've renamed all fragments to JSPF and switched off JSP
fragment validation.
Thanks again.
Wolfgang Knauf wrote:
> Validation of fragments is an issue of bug 155664:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=155664
> You can vote for it.
>
> Best regards
>
> Wolfgang
>
> Richard Plana schrieb:
>> Hi,
>>
>> I'm currently working with code which breaks down JSP documents into
>> fragments and imports those fragments with
>>
>> <%@ include file="fragment.inc.jsp" %>
>>
>> My problem is that Eclipse seems to not like this. For one, some JSP
>> fragment files aren't properly formed so they don't pass validation.
>>
>> What's the recommended way for breaking up JSP's into fragments and
>> having Eclipse work well (validate, compile code, etc.) with it?
>> --
>>
>> Richi Plana
|
|
|
Powered by
FUDForum. Page generated in 0.25810 seconds