× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






I have been testing some standalone (ie. non-package) servlets with WAS v2 on
the AS400 successfully. However, I am having a problem when I try to import my
own package into the servlet class.  I can set the ENVVAR classpath to include
my package directory and then the servlet class compiles OK using QSH.

However, when I attempt to view the servlet with my browser , I get an HTTP file
not found error message. I assume that this means that the servlet class can't
find my package class files?

Do I have to add my package directory as a sub directory under /servlets or can
I use WAS to add the package directory to the classpath?

I checked the WAS admin classpath parameters but they seemed to be for the JVM
and servlet class entries rather than for a separate package.

Any assistance very much appreciated.

Regards,

Keith




__________________________________________________________________
                                                           
This transmission has been issued by a member of the HSBC group ("HSBC")
for the information of the addressee only and should not be reproduced
and / or distributed to any other person. Each page attached hereto must
be read in conjunction with any disclaimer which forms part of it.
This transmission is neither an offer nor the solicitation of an offer
to sell or purchase any investment. Its contents are based on information
obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.