Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSP Include Files
JSP Include Files [message #158419] Mon, 30 January 2006 10:10 Go to next message
Eclipse UserFriend
I'm using Eclipse 3.1, also installed WTP.
I have some method defined in some include files (.INC) and i'm including
these files in my JSP using "<%@include file =.....".
But i don't get content assist for those methods defined in the .INC file.

Appreciate any help.

Thanks,
Arun
Re: JSP Include Files [message #158451 is a reply to message #158419] Mon, 30 January 2006 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.psisoft.net

Try using the .jspf extension instead of .inc. I think you can set .inc
as being a .jsp fragment extension, but I'm not sure how.

Arun Joseph wrote:
> I'm using Eclipse 3.1, also installed WTP.
> I have some method defined in some include files (.INC) and i'm
> including these files in my JSP using "<%@include file =.....".
> But i don't get content assist for those methods defined in the .INC file.
>
> Appreciate any help.
>
> Thanks,
> Arun
>
Re: JSP Include Files [message #158471 is a reply to message #158451] Mon, 30 January 2006 17:28 Go to previous messageGo to next message
Eclipse UserFriend
On Mon, 30 Jan 2006 11:58:35 -0500, David <david@psisoft.net> wrote:

> Try using the .jspf extension instead of .inc. I think you can set .inc
> as being a .jsp fragment extension, but I'm not sure how.
>

Yes, under preferences there's settings for Content Types, and you should add .inc to
the JSP Fragment one. (And if that doesnt' work, open a bug :( ... not sure we've test
it much).
Re: JSP Include Files [message #158769 is a reply to message #158471] Thu, 02 February 2006 02:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marx.nospam_wasko.pl

Użytkownik David Williams napisał:
> On Mon, 30 Jan 2006 11:58:35 -0500, David <david@psisoft.net> wrote:
>
>> Try using the .jspf extension instead of .inc. I think you can set .inc
>> as being a .jsp fragment extension, but I'm not sure how.
>>
>
> Yes, under preferences there's settings for Content Types, and you
> should add .inc to
> the JSP Fragment one. (And if that doesnt' work, open a bug :( ... not
> sure we've test
> it much).

it works, hovewer it still doesn't work when fragment have .jsp
extension (and not only fragment has errors but main jsp file too).
There is open bug about it
https://bugs.eclipse.org/bugs/show_bug.cgi?id=119576
Defining .jsp as fragment switch off validation completely
Marx
Re: JSP Include Files [message #158881 is a reply to message #158769] Thu, 02 February 2006 21:57 Go to previous message
Eclipse UserFriend
Me Too.

I added .inc to the JSP Fragment Content type, and tried to validate the
.inc file: (after restarting eclipse, and closing/reopening and
cleaning the project)

Resource /AccessImporter/WebContent/jsp/common/common.inc was not
validated because none of the enabled validators validates that type of
resource.
Validation was terminated on AccessImporter because the maximum number
of messages were reported.

So I think a bug.
Previous Topic:publish to tomact failed
Next Topic:WTP 1.0+ Classpath Change publishing to Tomcat.
Goto Forum:
  


Current Time: Sat Mar 15 17:55:07 EDT 2025

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

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

Back to the top