Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Working with JSP Fragments
Working with JSP Fragments [message #206779] Mon, 14 January 2008 18:38 Go to next message
Richi Plana is currently offline Richi Plana
Messages: 11
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 04:44 Go to previous messageGo to next message
Eclipse User
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 10:24 Go to previous message
Richi Plana is currently offline Richi Plana
Messages: 11
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: Thu Jul 31 07:36:20 EDT 2014

Powered by FUDForum. Page generated in 0.01714 seconds