At 03:24 PM 1/10/02 +0000, you wrote: >I have successfully used the IO taglib for posting several parameters to >a web application. > >I would like to perform action depending on the resulting output but I >have not found a way of storing that output in a variable or similar. > >Is there a way to act on a result of a <io:http> tag? > >Example: > ><io:http url="http://xxx.xxx.xxx.xxx/bar.asp" action="POST"> > <io:param name="A" value="<%=URLEncoder.encode(message1)%>" /> > <io:param name="B" value="<%=URLEncoder.encode(message2)%>" /> > <io:param name="C" value="foo" /> ></io:http> > >The resulting output from the "bar.asp" application can for example be >"Result =1". How do I store and parse this result so I can act on it? > >happy new year to all, >David
The answer, David, is that you can do anything with "Result = 1" that you want. After "Result = 1" on your page, store it or do anything else you want with it. Sounds like your question is how to work with name=value pairs in JSP. But, I know that cannot be right. There are so many things you can do, that your question needs to specify what you mean. How do you want to store the result? Do you want to put it in a properties file, a database, an entity bean? What do you mean by "parse the result? The result is sitting there, so what parsing do you need? I don't understand your question. Fill it out a bit. -- micael -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
