Re: Web upload of a Java class

2000-11-13 Thread Sven van 't Veer
Storm Linux User wrote: > > It's not form commercial use. It's for my research project for getting my > master's degree in Electrical Engineering ... I'm not concered about securety > right now. > Hmm as long as you're not pursueing a masters in computer security.. Take a look at http://www.s

Re: Web upload of a Java class

2000-11-12 Thread Robert Krueger
oh, I see. that's something the servlet api doesn't do for you. to parse a multipart request (that's what you use for file-upload) all you get is an input stream that you can parse which you have to decode. however there are plenty of utilities that do this for you. one is even shipped with or

Re: Web upload of a Java class

2000-11-12 Thread Storm Linux User
I'm using the HTML form to upload my compiled class file. When I try to get the file in the servlet, using: File f = (File)request.getParameter("my_file"); It does not work. I need to get the class file, generate an object of it and then execute some methods. How can I do this? []s Guilherme

Re: Web upload of a Java class

2000-11-12 Thread Robert Krueger
At 15:00 12.11.00 , you wrote: >It's not form commercial use. It's for my research project for getting my >master's degree in Electrical Engineering ... I'm not concered about securety >right now. then hack right on. will be fun. the security aspects of this could easily fill a chapter of your t

Re: Web upload of a Java class

2000-11-12 Thread Storm Linux User
It's not form commercial use. It's for my research project for getting my master's degree in Electrical Engineering ... I'm not concered about securety right now. []s Guilherme Ceschiatti [EMAIL PROTECTED] On Sunday 12 November 2000 12:41, you wrote: > This sounds dangerous. Why would you want

RE: Web upload of a Java class

2000-11-12 Thread Russ White
This sounds dangerous. Why would you want to do it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Storm Linux User Sent: Saturday, November 11, 2000 6:55 AM To: Orion-Interest Subject: Re: Web upload of a Java class I mean it's showed to the u

Re: Web upload of a Java class

2000-11-11 Thread Robert Krueger
At 16:45 10.11.00 , you wrote: >Hi... > >I need to upload a compiled class to my Orion application and then execute >some methods of it. Anybody knows how can I do it? upload the class file, instantiate a URLClassloader that points to the file's url, load the class using that classloader, do wha

Re: Web upload of a Java class

2000-11-11 Thread Storm Linux User
I mean it's showed to the user a HTML form that the user of the application can select I file to upload. It can be any file, to store in the application database, or even a java class. In the last case, instead of putting it into the database, the application will execute some methods of the cl

RE: Web upload of a Java class

2000-11-10 Thread Duffey, Kevin
Sorry..not sure I understand? Do you mean "deploy" it into an application server, so that it immediately takes affect and then you can use it right away? If so, look at the .WAR format, or .EAR format. Its a J2EE standard format and most app servers should provide some sort of hot-swap application