Try this command before compiling..
export =
CLASSPATH=3D$CLASSPATH:/usr/local/apache/tomcat/.../WEB-INF/classes
Hope this helps,
Srikanth
- Original Message -
From: JM
To: [EMAIL PROTECTED]
Sent: Monday, November 06, 2000 11:48 PM
Subject: imports ( 2 )
Hi,
My pages are on a Apache
Hi,
My pages are on a Apache +Tomcat server, but when
I compile my .java file (the one supposed to send mail) with the
"javac myfile.java" command, I always have an error message telling me
the imports javax.mail.*. (only) haven't been found.
But, when I write the code dir
Hi Raghu !
if You do not want to put classes into web-inf/classes folder of current
context :
1. if You are using WinNT you should reboot machine after setting classpath
with system environment panel
2. You can modify tomcat.bat file to add You packages to "tomcat running
time" classpath. See h
hi!
try <%@ page import="java.sql.*" %>
:-)
Have a great Day!
-Ginni
-Original Message-
From: Daniel Lynn <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, November 02, 2000 8:41 PM
Subject: imports
>ok, so I'm trying
I have seen better questions get flamed. One suggestion: RTFM
-jp
> -Original Message-
> From: Daniel Lynn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 02, 2000 10:05 AM
> To: [EMAIL PROTECTED]
> Subject: imports
>
>
> ok, so I'm trying to pu
(bcc: Santosh Daryani/IT/Aon Consulting)
Subject: imports
ok, so I'm trying to pu in the following line of code
import java.sql.*;
into my JSP page. I put it in with the <% %> around it... Unfortunately,
the compiler
13 275 1690
http://www.wattgilchrist.co.uk
_
> -Original Message-
> From: Daniel Lynn [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 02, 2000 3:05 PM
> To: [EMAIL PROTECTED]
> Subject: imports
>
> ok, so I'm trying to p
stick it in the page directive tag i.e.
<%@ page import=java.sql.* %>
Nick
Daniel Lynn wrote:
>
> ok, so I'm trying to pu in the following line of code
>
> import java.sql.*;
>
> into my JSP page. I put it in with the <% %> around it... Unfortunately,
> the compiler says it's invalid. Any idea
try <%@ page language="java" import="java.sql.*"%>
> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lynn
> Sent: Thursday, November 02, 2000 9:05 AM
&
try
<%@ page import="java.sql.*" %>;
Regards
Mahesh
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lynn
Sent: Thursday, November 02, 2000 3:05 PM
To: [EMAIL PROTECTED]
Subject:
Hi,
This answer your question :
<%@ page language="java" import="java.sql.*" %>
- Original Message -
From: Daniel Lynn <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2000 10:04 AM
Subject: imports
> ok, so I
The correct syntax is <%@ page import="java.sql.*" %>
-Original Message-
From: Daniel Lynn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 5:05 PM
To: [EMAIL PROTECTED]
Subject: imports
ok, so I'm trying to pu in the following line of code
import jav
ok, so I'm trying to pu in the following line of code
import java.sql.*;
into my JSP page. I put it in with the <% %> around it... Unfortunately,
the compiler says it's invalid. Any ideas?
-Daniel
===
To unsubscribe: mailt
Hi!
If you are usign JSWDK 1.0 EA, the "import" directive is actually implemented
as "imports", it should work that way.
Primoz
DAVE TOWNSEND wrote:
>
> I've only just subscribed to this group, so forgive me if this has been
> answered before (is there a a
I've only just subscribed to this group, so forgive me if this has been
answered before (is there a archive anywhere?).
I'm having problems with import classes into my jsp page, for
example:
<%@ page import="java.sql.Connection" />
Example Page
<% Connection dbConn =
java.sql.Driv
15 matches
Mail list logo