Re: Passing request objects - Struts 1

2011-01-05 Thread Dave Newton
The first one: don't call a different action to get the options--get the options in the same action that handles the original request. The second one: read something about ajax; any tutorial discusses how to deal with what you get back. Dave On Jan 5, 2011 12:14 AM, "Anjib" wrote: > > Sorry I di

Re: Passing request objects - Struts 1

2011-01-04 Thread Anjib
Sorry I didn't get the first one. Can you please elaborate for me? For second option I didn't find the way to pass result to view especially Sturts tag. Anjib On 1/4/2011 7:47 PM, Dave Newton wrote: Don't make a separate request? I mean, why wouldn't you just use the same service inside t

Re: Passing request objects - Struts 1

2011-01-04 Thread Dave Newton
Don't make a separate request? I mean, why wouldn't you just use the same service inside the action you're actually calling? Either that, or do the Ajax call, and use normal Ajax response handling mechanisms (HTML, JSON, whatever) you want. Dave On Tue, Jan 4, 2011 at 7:29 PM, Anjib wrote: > >

Re: Passing request objects - Struts 1

2011-01-04 Thread Anjib
How can I achieve this with only using Struts then? On 1/4/2011 7:20 PM, Dave Newton wrote: The ajax post is an entirely separate request. Dave On Jan 4, 2011 5:38 PM, "Anjib Mulepati" wrote: struts 1.3.8 1. I try to use JSTL but when i include jstl reference it doesn't let me in saying it

Re: Passing request objects - Struts 1

2011-01-04 Thread Dave Newton
The ajax post is an entirely separate request. Dave On Jan 4, 2011 5:38 PM, "Anjib Mulepati" wrote: > struts 1.3.8 > 1. I try to use JSTL but when i include jstl reference it doesn't let me > in saying it version conflict wih web.xml. > My web.xml has > http://java.sun.com/xml/ns/javaee"; > xmlns

Passing request objects - Struts 1

2011-01-04 Thread Anjib Mulepati
struts 1.3.8 1. I try to use JSTL but when i include jstl reference it doesn't let me in saying it version conflict wih web.xml. My web.xml has http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http