Hi all!
How can one use the supporting classes for the main
service? Where should be these classes placed in the application server(in this
case tomcat4.1)? To illustrate further see this sample code. Whenever i try to
deploy this Service, it says that i couldn't find InvJni class. Please let me
know where should i place this class in the tomcat directory for tomcat to
recognize it.
Service.java (Service - to be
deployed)
-----------------------------------------------
package WF;
public class Service
{
public void getAct(String
variable)
{
InvJni.get(variable);
// InvJni is another class which is
defined in the same package, which has get and put methods.
.....
}
public void putAct(String
variable, String activity)
{
InvJni.put(variable,activity);
......
}
InvJni.java(another class)
-------------------------------
package WF;
public class InvJni
{
public void get(String
variable)
{......}
public void put(String variable,
String activity)
{.....}
}
Please let me know how to deploy this webservice
successfully on tomcat.
Cheers
Sai
|
- RE: Multiple Classes in the Same package Sai Pradeep - Hotmail
- RE: Multiple Classes in the Same package Wagh, Shrikant
- RE: Multiple Classes in the Same package sai pradeep
- Re: Multiple Classes in the Same package Sai Pradeep - Hotmail