You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nasreen Laghari <la...@hotmail.com> on 2007/11/26 15:53:08 UTC

Where to put Java Classes

Hi,
 
I need to ask where should I suppose to keep the class files which Client access?
 
e.g. My Client is JSP which I have put in webapps/Axis2/axis2-web. It is accessing a java class . Where should I put that class? or suppose I'm using Stubs; where should I put stubs so that JSP client will call them??
 
 
Regards
 
Nasreen
_________________________________________________________________
Share life as it happens with the new Windows Live.Download today it's FREE!
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007

Re: Where to put Java Classes

Posted by Deepal Jayasinghe <de...@opensource.lk>.
If you look at Axis2 HappyAxis2.jsp then you will realized how to do that.

Thanks
Deepal

Nasreen Laghari wrote:
> Thank you Vaibhav,
>  
> I tried by putting this under WEB-INF/classes but i'm confused on
> retraining... Can I use the import as this?
>  
> <%@ page import="saxparser.* ">
>  
>
>
>
>
>  
> ------------------------------------------------------------------------
>
> > Date: Mon, 26 Nov 2007 07:18:21 -0800
> > From: vaibhav.jungay@gmail.com
> > To: axis-user@ws.apache.org
> > Subject: Re: Where to put Java Classes
> >
> >
> > Hi,
> > You need to put them under the /WEB-INF/classes directory retaining the
> > package of your class.
> >
> > Nasreen Laghari-2 wrote:
> > >
> > > Hi,
> > >
> > > I need to ask where should I suppose to keep the class files which
> Client
> > > access?
> > >
> > >



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Where to put Java Classes

Posted by Martin Gainty <mg...@hotmail.com>.
yes provided the saxparser class file are located either in /WEB-INF/classes 
or if the classfile is located in a jar then you should reference /WEB-INF/lib
http://en.wikipedia.org/wiki/JavaServer_Pages

Nota Bene: you might want to forward JSP/servlet questions to tomcat-user@jakarta.apache.org

M-
  ----- Original Message ----- 
  From: Nasreen Laghari 
  To: axis-user@ws.apache.org 
  Sent: Monday, November 26, 2007 11:21 AM
  Subject: RE: Where to put Java Classes


  Thank you Vaibhav,
   
  I tried by putting this under WEB-INF/classes but i'm confused on retraining... Can I use the import as this?
   
  <%@ page import="saxparser.* ">
   




   

------------------------------------------------------------------------------

  > Date: Mon, 26 Nov 2007 07:18:21 -0800
  > From: vaibhav.jungay@gmail.com
  > To: axis-user@ws.apache.org
  > Subject: Re: Where to put Java Classes
  > 
  > 
  > Hi,
  > You need to put them under the /WEB-INF/classes directory retaining the
  > package of your class.
  > 
  > Nasreen Laghari-2 wrote:
  > > 
  > > Hi,
  > > 
  > > I need to ask where should I suppose to keep the class files which Client
  > > access?
  > > 
  > > e.g. My Client is JSP which I have put in webapps/Axis2/axis2-web. It is
  > > accessing a java class . Where should I put that class? or suppose I'm
  > > using Stubs; where should I put stubs so that JSP client will call them??
  > > 
  > > 
  > > Regards
  > > 
  > > Nasreen
  > > _________________________________________________________________
  > > Share life as it happens with the new Windows Live.Download today it's
  > > FREE!
  > > http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007
  > > 
  > 
  > -- 
  > View this message in context: http://www.nabble.com/Where-to-put-Java-Classes-tf4875667.html#a13951419
  > Sent from the Axis - User mailing list archive at Nabble.com.
  > 
  > 
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
  > For additional commands, e-mail: axis-user-help@ws.apache.org
  > 



------------------------------------------------------------------------------
  Connect and share in new ways with Windows Live. Connect now! 

RE: Where to put Java Classes

Posted by Nasreen Laghari <la...@hotmail.com>.
Thank you Vaibhav,
 
I tried by putting this under WEB-INF/classes but i'm confused on retraining... Can I use the import as this?
 
<%@ page import="saxparser.* ">
 
 



> Date: Mon, 26 Nov 2007 07:18:21 -0800> From: vaibhav.jungay@gmail.com> To: axis-user@ws.apache.org> Subject: Re: Where to put Java Classes> > > Hi,> You need to put them under the /WEB-INF/classes directory retaining the> package of your class.> > Nasreen Laghari-2 wrote:> > > > Hi,> > > > I need to ask where should I suppose to keep the class files which Client> > access?> > > > e.g. My Client is JSP which I have put in webapps/Axis2/axis2-web. It is> > accessing a java class . Where should I put that class? or suppose I'm> > using Stubs; where should I put stubs so that JSP client will call them??> > > > > > Regards> > > > Nasreen> > _________________________________________________________________> > Share life as it happens with the new Windows Live.Download today it's> > FREE!> > http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007> > > > -- > View this message in context: http://www.nabble.com/Where-to-put-Java-Classes-tf4875667.html#a13951419> Sent from the Axis - User mailing list archive at Nabble.com.> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org> For additional commands, e-mail: axis-user-help@ws.apache.org> 
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007

Re: Where to put Java Classes

Posted by "Vaibhav@Axis" <va...@gmail.com>.
Hi,
You need to put them under the /WEB-INF/classes directory retaining the
package of your class.

Nasreen Laghari-2 wrote:
> 
> Hi,
>  
> I need to ask where should I suppose to keep the class files which Client
> access?
>  
> e.g. My Client is JSP which I have put in webapps/Axis2/axis2-web. It is
> accessing a java class . Where should I put that class? or suppose I'm
> using Stubs; where should I put stubs so that JSP client will call them??
>  
>  
> Regards
>  
> Nasreen
> _________________________________________________________________
> Share life as it happens with the new Windows Live.Download today it's
> FREE!
> http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007
> 

-- 
View this message in context: http://www.nabble.com/Where-to-put-Java-Classes-tf4875667.html#a13951419
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Where to put Java Classes

Posted by mg...@hotmail.com.
other than web-inf/classes ?

M--
  ----- Original Message ----- 
  Wrom: FPEGAUTFJMVRESKPNK
  To: axis-user@ws.apache.org 
  Sent: Monday, November 26, 2007 9:53 AM
  Subject: Where to put Java Classes


  Hi,
   
  I need to ask where should I suppose to keep the class files which Client access?
   
  e.g. My Client is JSP which I have put in webapps/Axis2/axis2-web. It is accessing a java class . Where should I put that class? or suppose I'm using Stubs; where should I put stubs so that JSP client will call them??
   
   
  Regards
   
  Nasreen


------------------------------------------------------------------------------
  Share life as it happens with the new Windows Live. Share now!