ServletRequest instantiation

Hello experts,

I started with a simple java object that i could use to do

remoting from flash with. everything worked out nicely and now i

want to expand on the concept. what i want to be able to do is

upload a file to a server, and for that i'm using the commons.io

library. if i create a servlet i can use it fine because it

relys on the ServletRequest object. does anyone know of a way

to obtain a ServletRequest or ServletResponse of a simple

class...by that i mean it doesn't implement the servlet

interface?

thanks

remus

[601 byte] By [uncle_remusa] at [2007-11-26 15:53:00]
# 1
HiYou can not obtain ServletRequest object in object that not instance of HTTPServlet or ServletContent, you can obtain it just by passing it from the HTTPServlet object .
Ori-Gila at 2007-7-8 22:13:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks much
uncle_remusa at 2007-7-8 22:13:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...