Re: Changing an Java program to a servlet

2001-11-20 Thread Michael Wills
Oops. I promise, next time I will read the API documentation _before_ posting a question. :-) I figured out what is going on there (when you are working on work in class, you tend to be in a hurry ;-). I have it all figured out and working. I looked in to the API documentation and realized I didn

Re: Changing an Java program to a servlet

2001-11-20 Thread Michael Weller
Names(); hope this helps! -mw - Original Message - From: "Mike Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 2:42 AM Subject: Re: Changing an Java program to a servlet > Okay, I guess I sent this message a bit soon. I have conver

Re: Changing an Java program to a servlet

2001-11-19 Thread Mike Wills
Okay, I guess I sent this message a bit soon. I have converted most of the program, but there is one problem, I can't get the file name from the second class. I have to pass a Boolean back to the main program. What can be done to get this file name passed in some form or fashion? Would an array po

Re: Changing an Java program to a servlet

2001-11-19 Thread Michael Wills
Okay this is exactly what I am looking at doing. We need to do a directory listing off the IFS on a AS400. I have found a applet that works perfectly for it. But now I need to convert it to a servlet so it can display a webpage. I know what to do for a "hello world" servlet with passing a parm, b

Re: Changing an Java program to a servlet

2001-11-15 Thread Richard Yee
y listing for a different >directories. > > >- Original Message - >From: "Mark Galbreath" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, November 15, 2001 7:08 PM >Subject: Re: Changing an Java program to a servlet > > > &

Re: Changing an Java program to a servlet

2001-11-15 Thread Mike Wills
reath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 7:08 PM Subject: Re: Changing an Java program to a servlet > You have to give a few more details, dude. I assume you want a stand-alone > client Java application to be accessible to anybody on a

Re: Changing an Java program to a servlet

2001-11-15 Thread Mark Galbreath
Message - From: "Michael Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 11:41 AM Subject: Changing an Java program to a servlet > Are there any sites that explain this process of coverting a Java program to > a servlet? > > A

Re: Changing an Java program to a servlet

2001-11-15 Thread Christopher K. St. John
Michael Wills wrote: > > Are there any sites that explain this process of coverting > a Java program to a servlet? > It's hard to answer without knowing more about what you're trying to do. I'd suggest reading some background docs, and then re-posting with specific problems as you run into them.

Re: Changing an Java program to a servlet

2001-11-15 Thread Richard Yee
Mike, What kind of parameters do you want to pass to your servlet? If they are initialization parameters, then if you are using Tomcat, you would add them to your web.xml file ex. myServlet

Changing an Java program to a servlet

2001-11-15 Thread Michael Wills
Are there any sites that explain this process of coverting a Java program to a servlet? Also how do I pass parmeters to the servlet? Mike Wills AS400 Programmer [EMAIL PROTECTED] Comming soon to a web browser near you... koldark.net