Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Errors when a Jsp page includes a Jsp that includes an other jsp
Errors when a Jsp page includes a Jsp that includes an other jsp [message #209440] Tue, 04 March 2008 13:12 Go to next message
Eclipse UserFriend
Originally posted by: rhdemis.hotmail.com

Hi, this is a problem that started happening after i upgrade eclipse to
3.3.1 and the WEB tools, and can't find a solution.

in my project i hava this three files:

\jsp\include\ header.jsp
\jsp\include\ footer.jsp
\jsp\ menu.jsp
\jsp\ display.jsp


In display.jsp I include header.jsp, then the body of the page, and finally
include the footer.jsp.
header.jsp, includes menu.jsp.


This is the problem: before upgrading, There were no errors(red underline,
wheb using variables declared in menu.jsp) in the jsp (display.jsp), and i
could use the control+space shortcut (to assist me, to import, etc).
But now it seems like having a jsp that includes an other jsp, that also
includes an other jsp file, can not be done. (in previous versions it was
possible).
If I edit the content of header.jsp and paste the content of menu.jsp where
the import is located, there are no errors when editing display.jsp.

Trying to solve this I downgrade to eclipse 3.2, but the problem persists.

Is there config for the plugin to enable it to look for the declared
variables, deepper than just one include level? and let it be able to see
the variables in the second include level?

Thank you
--








Rodrigo Demicheli
Dpto. de Sistemas
Tel.: +598 (2) 709 0028
Fax: +598 (2) 707 2727
www.urunet.com
Re: Errors when a Jsp page includes a Jsp that includes an other jsp [message #209558 is a reply to message #209440] Tue, 04 March 2008 20:28 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Rodrigo D wrote:
> Hi, this is a problem that started happening after i upgrade eclipse to
> 3.3.1 and the WEB tools, and can't find a solution.
>
> in my project i hava this three files:
>
> \jsp\include\ header.jsp
> \jsp\include\ footer.jsp
> \jsp\ menu.jsp
> \jsp\ display.jsp
>
>
> In display.jsp I include header.jsp, then the body of the page, and finally
> include the footer.jsp.
> header.jsp, includes menu.jsp.
>
>
> This is the problem: before upgrading, There were no errors(red underline,
> wheb using variables declared in menu.jsp) in the jsp (display.jsp), and i
> could use the control+space shortcut (to assist me, to import, etc).
> But now it seems like having a jsp that includes an other jsp, that also
> includes an other jsp file, can not be done. (in previous versions it was
> possible).
> If I edit the content of header.jsp and paste the content of menu.jsp where
> the import is located, there are no errors when editing display.jsp.
>
> Trying to solve this I downgrade to eclipse 3.2, but the problem persists.
>
> Is there config for the plugin to enable it to look for the declared
> variables, deepper than just one include level? and let it be able to see
> the variables in the second include level?

After verifying that this all runs on the server as you expect, open
a bug report with your sample files:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols&component=jst.jsp

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Errors when a Jsp page includes a Jsp that includes an other jsp [message #209623 is a reply to message #209558] Wed, 05 March 2008 12:59 Go to previous message
Eclipse UserFriend
Originally posted by: rhdemis.hotmail.com

ok thanks
Yes it works fine on server (it has been several months in production) , and
compile with maven.
I will do so.

"Nitin Dahyabhai" <nitind@us.ibm.com> escribi
Previous Topic:[wtp2] is it possible to define dependencies on war files?
Next Topic:Dynamic Web Project
Goto Forum:
  


Current Time: Fri Apr 19 23:03:56 GMT 2024

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

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

Back to the top