Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: WAS Bean


Message #1 by "Thushara Dassanayake" <thusharad@e...> on Wed, 17 Jan 2001 14:51:41 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C09E43.AFA50980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

While compiling the bean give the classpath explicitly ie
  -classpath c:\jdk1.2\lib\servlet.jar;c:\(full path for your bean 
class)   


----- Original Message -----
From: Thushara Dassanayake <thusharad@e...>
To: Pro_JavaServer_Pages <pro_jsp@p...>
Sent: Wednesday, January 17, 2001 2:51 PM
Subject: [pro_jsp] WAS Bean


> I am using WAS 3.5 with oracle.But I am not using Visual Age.
>
> In WAS I has set the path to java/bin
> and jAVA_HOME=3Duo2/Websphere/java
>
>
> Problem is my Bean's are not compiling.Becose he can't understanding
> connection pool class.
>
> import javax.sql.DataSource;
> import com.ibm.ejs.dbm.jdbcext.*;
> import javax.naming.*;
> import com.ibm.ejs.ns.jndi.*;
>
>
> But without DB connection Bean's are compiling.
> Why he can't understand com and javax  class.How can I set the path.
>
> servlet.jar is in side lib class.I set the envairement pathe for WAs 
lib.
>
> But still he cant understand the javax and com.
>
> Thanks
> Regard
> thushara
>
>
>
> ---
> NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?
> Visit EarthWeb for the latest in IT Management, Software Development,
> Web Development, Networking & Communications, and Hardware & Systems.  

> Click on http://www.earthweb.com for FREE articles, tutorials,
> and discussions from the experts.
$subst('Email.Unsub')
>



  Return to Index