openamf and servlet?

Cai Peng <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Hi,
I tried to call servlet from java servlet but keep
getting a "NetConnection.call.BadVersion" error. And  
I still cannot find the reason that caused the error.
Among openamf examples, there is one clalled
SubmitToURL to subscribe mailing list. It just create
an URLConnection to the app server:
			URL url = new
URL("http://lists.sourceforge.net/lists/subscribe/[email protected]&pw=test&pw-conf=test"));
);
			URLConnection conn = url.openConnection();
			result = conn.getContent().toString();


If I wasnot wrong, I can replace part of the url
string with my servlet name. But does this mean I have
to pass parameters through url string? Is there any
othere way to pass the parameters like use post method
instead of get method for normal html page? 

I know flash remoting can get parameters using
"FLASH.PARAMS" and set parameters using "FLASH.RESULT"
in servlet. Does openAMF has any feature like that?

Thanks a lot!

sunonepp

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.