Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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 08:12 Go to next message
Eclipse User
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 15:28 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2251
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 WTP, IBM
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 07:59 Go to previous message
Eclipse User
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: Sat Aug 30 18:32:45 EDT 2014

Powered by FUDForum. Page generated in 0.07271 seconds