Hello All,

I would like to ask the same question :

If in my JSP I have :

<html:form  action="/viewReport.do?param=temp" method="GET" target="_blank"
>

Can you tell me how to pass this parameters in form using a querystring in
Struts?

What will be corresponding mapping in struts confog.xml?

Presently,I have it:
<action path="/viewReport/*" parameter="{1}"   <--- What does this {1} stand
for???????/ 

Awaiting reply :-)



Warm Regards,
Mili Aggarwal



-----Original Message-----
From: Don Brown [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005 3:19 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Rewrite with Struts?

Use wildcards:

<action path="action/*" parameter="{1}" />

Then, use a prefix mapping in your web.xml rather than the .do suffix.

Don

On Mon, 21 Mar 2005 21:23:51 +0100, Bernd Schiffer
<[EMAIL PROTECTED]> wrote:
> Hi.
> 
> I have a Struts webapp which can be called by
> DOMAIN/action.do?param=value . Is there a way to call it by
> DOMAIN/action/value ? I know how to do with httpd's mod_rewrite, but I'm
> looking for doing the same within my webapp.
> 
> Bernd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Disclaimer: 

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to