You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajTreece <aj...@sun.com> on 2002/05/01 22:56:37 UTC

Passing parameters directly to Action Servlet

Is it possible... And how do you pass parameters directly to a action servlet 
without the use of a jsp and action form.

What I'm doing is reading DB CLOB which is actually just XML data an spitting in 
out to an newly opened browser window.  The originating JSP will just have a 
bunch of links that pass the id number and display type to the action servlet 
(.do). The .do will get the data, format it as required and give it to a jsp to 
display.

Is this possible or am I barking up the wrong tree...

Thanks, ajTreece


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Passing parameters directly to Action Servlet

Posted by ajTreece <aj...@sun.com>.
Yes....

I just didn't realize it was that simple.


Later, ajTreece


James Mitchell wrote:

> If I'm not way off [again ;)]
> 
> Are you wanting to do this?
> 
> <html:link page="/strutsaction.do?param1=value1&param2=value2"/>
> 
> JM
> 
> 
> 
> 
>>-----Original Message-----
>>From: ajTreece [mailto:aj.treece@sun.com]
>>Sent: Wednesday, May 01, 2002 4:57 PM
>>To: Struts Users Mailing List
>>Subject: Passing parameters directly to Action Servlet
>>
>>
>>Is it possible... And how do you pass parameters directly to a 
>>action servlet 
>>without the use of a jsp and action form.
>>
>>What I'm doing is reading DB CLOB which is actually just XML data 
>>an spitting in 
>>out to an newly opened browser window.  The originating JSP will 
>>just have a 
>>bunch of links that pass the id number and display type to the 
>>action servlet 
>>(.do). The .do will get the data, format it as required and give 
>>it to a jsp to 
>>display.
>>
>>Is this possible or am I barking up the wrong tree...
>>
>>Thanks, ajTreece
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail: 
>><ma...@jakarta.apache.org>
>>
>>
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Passing parameters directly to Action Servlet

Posted by James Mitchell <jm...@telocity.com>.
If I'm not way off [again ;)]

Are you wanting to do this?

<html:link page="/strutsaction.do?param1=value1&param2=value2"/>

JM



> -----Original Message-----
> From: ajTreece [mailto:aj.treece@sun.com]
> Sent: Wednesday, May 01, 2002 4:57 PM
> To: Struts Users Mailing List
> Subject: Passing parameters directly to Action Servlet
> 
> 
> Is it possible... And how do you pass parameters directly to a 
> action servlet 
> without the use of a jsp and action form.
> 
> What I'm doing is reading DB CLOB which is actually just XML data 
> an spitting in 
> out to an newly opened browser window.  The originating JSP will 
> just have a 
> bunch of links that pass the id number and display type to the 
> action servlet 
> (.do). The .do will get the data, format it as required and give 
> it to a jsp to 
> display.
> 
> Is this possible or am I barking up the wrong tree...
> 
> Thanks, ajTreece
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>