Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » M9 - includes
M9 - includes [message #149082] Fri, 25 November 2005 07:50 Go to next message
Marx is currently offline MarxFriend
Messages: 21
Registered: July 2009
Junior Member
Hello
In last few milestones of WTP it doesn't see variables declared in
includes in format
<%@ include file="/anyfile.jsp" %>
Is it known bug?
Marx
Re: M9 - includes [message #149436 is a reply to message #149082] Sun, 27 November 2005 22:23 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Marx wrote:
> Hello
> In last few milestones of WTP it doesn't see variables declared in
> includes in format
> <%@ include file="/anyfile.jsp" %>
> Is it known bug?

Does this also happen in 1.0M9? What are the paths to the JSP file
and the fragment being included?

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: M9 - includes [message #149494 is a reply to message #149436] Mon, 28 November 2005 07:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marx.nospam_wasko.pl

Użytkownik Nitin Dahyabhai napisał:
> Marx wrote:
>
>> Hello
>> In last few milestones of WTP it doesn't see variables declared in
>> includes in format
>> <%@ include file="/anyfile.jsp" %>
>> Is it known bug?
>
>
> Does this also happen in 1.0M9? What are the paths to the JSP file and
> the fragment being included?
>

It's in M9 (fresh install of WTP).
To start server I'm using Sysdeo Tomcat Plugin (I'm not using dynamic
web project because catalogue structure in my CVS doesn't meet needs of
dynamic project).

Below is example of it, compiler underlines 'variable1="test2";' saying
"variable1 cannot be resolved".

****test1.jsp****
<%@ page import="java.sql.*" contentType="text/html; charset=ISO-8859-2"%>
<!doctype html public "-//w3c//dtd html 3.2//en">
<%
String variable1 = "test";
%>


****test2.jsp****
<%@ page import="java.sql.*" contentType="text/html; charset=ISO-8859-2"%>
<!doctype html public "-//w3c//dtd html 3.2//en">
<%@ include file="/test2.jsp" %>
<%
variable1="test2";
%>

Marx
Re: M9 - includes [message #149516 is a reply to message #149494] Mon, 28 November 2005 08:41 Go to previous message
Eclipse UserFriend
Originally posted by: marx.nospam_wasko.pl

There was mistake:

****test2.jsp****
<%@ page import="java.sql.*" contentType="text/html; charset=ISO-8859-2"%>
<!doctype html public "-//w3c//dtd html 3.2//en">
<%
String variable1 = "test";
%>


****test1.jsp****
<%@ page import="java.sql.*" contentType="text/html; charset=ISO-8859-2"%>
<!doctype html public "-//w3c//dtd html 3.2//en">
<%@ include file="/test2.jsp" %>
<%
variable1="test2";
%>

Marx
Previous Topic:context path
Next Topic:WTP and unreachable struts-config.xml DTD
Goto Forum:
  


Current Time: Thu Apr 25 10:38:37 GMT 2024

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

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

Back to the top