thanks christopher..... i've already got it...... thanks for the info
--- "Christopher K. St. John" <[EMAIL PROTECTED]> wrote: >Winner wrote: >> >> Is there any way i can call a servlet class file. >> > > Your question looks to be about as on-topic as they >come, but it's a little unclear what you're asking. >Do you want to: > > a) Return the actual .class file bytes? In that case, > use one of the ServletContext.getResource*() methods. > > b) Call the servlet, ie, have the servlet run and write > content to the response? In that case your example is > correct, you need to use a RequestDispatcher. > > There are details on using all of these calls in the >servlet api javadocs included with the servlet spec. >You can get a copy of the spec at: > > http://java.sun.com/products/servlet/download.html > > The spec is clearly written and easy to read. > >-- >Christopher St. John [EMAIL PROTECTED] >DistribuTopia http://www.distributopia.com > >___________________________________________________________________________ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html _____________________________________________________________ Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com _____________________________________________________________ Run a small business? Then you need professional email like [EMAIL PROTECTED] from Everyone.net http://www.everyone.net?tag ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
