Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Working with JSP Fragments
Working with JSP Fragments [message #206779] Mon, 14 January 2008 18:38 Go to next message
Eclipse UserFriend
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 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 10:24 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 20:48:45 EDT 2025

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

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

Back to the top