Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Working with JSP Fragments
Working with JSP Fragments [message #206779] Mon, 14 January 2008 23:38 Go to next message
Richi Plana is currently offline Richi PlanaFriend
Messages: 12
Registered: July 2009
Junior Member
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 #206795 is a reply to message #206779] Tue, 15 January 2008 09:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

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
Re: Working with JSP Fragments [message #206859 is a reply to message #206795] Wed, 16 January 2008 15:24 Go to previous message
Richi Plana is currently offline Richi PlanaFriend
Messages: 12
Registered: July 2009
Junior Member
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
Previous Topic:WST, WST JDK, JST, JST JDK
Next Topic:Optimizing Exporting of Libraries
Goto Forum:
  


Current Time: Tue Apr 23 11:12:54 GMT 2024

Powered by FUDForum. Page generated in 0.03900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top