Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » M9 - includes
M9 - includes [message #149082] Fri, 25 November 2005 02:50 Go to next message
Eclipse UserFriend
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 17:23 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: M9 - includes [message #149494 is a reply to message #149436] Mon, 28 November 2005 02: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 03: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: Mon Jul 21 21:58:32 EDT 2025

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

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

Back to the top