Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

class object passed between applet on apache and servlet on Tomcat

Status
Not open for further replies.

12345671

IS-IT--Management
May 24, 2003
106
AU
I have a class object passed between Applet on Apache web server and servelt on Tomcat. The applet first passes this object with some parameters to servlet, then servlet passes back the object with changed parameters. I check with Tomcate, this class seems should be in /common/shared/classes.

But how can applet know this class is here? Shall I include /common/shares/ in the CLASSPATH?
How applet and servlet import this class?

public class dataTransfer extends Object implements java.io.Serializable{
public int dyear,dmonth;
public dataTransfer(){
setTime(0,0);
}
public void setTime(int arg1,int arg2){
dyear=arg1;
dmonth=arg2;
}

}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top