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!

Websphere classpath

Status
Not open for further replies.

kkarthikjgd

Programmer
Feb 24, 2004
1
US

I have a situation in which I have written a stand-alone application in a directory outside of the .war and I need to access it through websphere.
Is there any way in which I can do that.

My situation as a nexample :

D:\pct.ear\pct.war\web-inf\classes\handler contains FormHandler.java : Code follows

import validation.*;//contains the class I want to call
public ActionMapping executre(...)
{
;.....
TestClass t = new TestClass()
returbn ...
}

and in a different directory say E:\kk:
In directory validation :

package validation;
public class TestClass
{
public TestClass()
{
S.o.pln("HI");
}
}

ANy input will be greatly appreciated.

Thanks
Karthik

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top