aspose file tools*
The moose likes Tomcat and the fly likes Multiple Classes in the Same package - AXIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Multiple Classes in the Same package - AXIS" Watch "Multiple Classes in the Same package - AXIS" New topic
Author

Multiple Classes in the Same package - AXIS

Sai pradeep
Greenhorn

Joined: Jan 12, 2004
Posts: 10
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Classes in the Same package - AXIS