-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

  I've set up and configured jserv (version 1.0) on both win32 and linux
systems with the same base configuration -- and I know that it works
(servlets that do not need initargs work).   At this point I am trying to
use the  <class_name>.initargs file in the class directory to pass initArgs
to my servlet.  Under win32 everything works as the docs say it should,
under linux, however, the initargs never get passed to the servlet causing
it to break.  I've used the same .class file in both environments.

  Some details: 

  I am using the example zone for now: 

  files: 
          
  ./example/reg/ReturnPage.class 
  ./example/reg/ReturnPage.initargs 
        ^         ^            ^ 
        |          |            | 
  zone     package   class 

  ReturnPage class looks for two strings as initargs, file1 and file2 

  ReturnPage.initargs has the following format: 
  file1=/path/to/file1 
  file2=/path/to/file2 

  If I hardcode the return files into my servlet, it works.  Anyone with
clues why it would behave as expected under win32 but not linux?

  Regards, 
  Chris LeDantec 
  NetBeans, Inc. 


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to