Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Olivier Dinocourt

IMHO, it should rather be
 (assuming the actionMapping in yous
struts-config is /action1)

olivier
- Original Message -
From: "Eduardo Borges" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 4:09 PM
Subject: Re: WebLogic 6.1 SP1 and the /do/* uri-pattern


> Hi Eric,
>
> Try 
>
> HTH
> Borges
>
> - Original Message -
> From: "Eric Ma" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 18, 2002 12:44 PM
> Subject: WebLogic 6.1 SP1 and the /do/* uri-pattern
>
>
> > 
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Ted Husted

You don't need to specify the /do (or *.do) in the html:form, since only
actions can be specified here. html:form is tolerate of leaving on the
extension, for backwards compatibility. But there is not a similar
clause for the prefix. 

The best practice is to specify the exact "path" property of the
relevant ActionMapping here.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/


Eric Ma wrote:
> 
> I have read articles by Ted Husted and Vic Cekvenich saying that the commonly used 
>*.do uri pattern in Struts not only is ugly, but also creates problem when one tries 
>to access these kinds of URL's through a proxy server or firewall.  Therefore, I have 
>been trying to use the /do/* pattern.  However, I ran into a lot of problem when 
>trying to do so with WebLogic 6.1 SP1.  WebLogic seems to prepend the wrong servlet 
>context path in front of the uri-pattern I specify.  For example, in a JSP page I have
> 
> 
> 
> for some reason when the page is rendered in the browser the HTML tag becomes
> 
> 
> 
> Has any one seen this kind behavior? Or has anyone used the /do/* uri-pattern 
>successfully with WebLogic 6.1 SP1?
> 
> TIA,
> 
> Eric Ma
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Duncan Harris

[EMAIL PROTECTED] (Eric Ma) wrote:

> WebLogic seems to prepend the wrong servlet context path in front of the uri-pattern 
>I specify.  For example, in a JSP page I have
> 
> 
> 
> for some reason when the page is rendered in the browser the HTML tag becomes
> 
> 
> 
> Has any one seen this kind behavior? Or has anyone used the /do/* uri-pattern 
>successfully with WebLogic 6.1 SP1?

AIUI it is what is expected.

If you are using  you just give the STRUTS action:




Duncan Harris
~~~
Hartford, Cheshire, U.K., Tel: 07968 060418

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Eduardo Borges

Hi Eric,

Try 

HTH
Borges

- Original Message - 
From: "Eric Ma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 12:44 PM
Subject: WebLogic 6.1 SP1 and the /do/* uri-pattern


> 
> 



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




WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Eric Ma

I have read articles by Ted Husted and Vic Cekvenich saying that the commonly used 
*.do uri pattern in Struts not only is ugly, but also creates problem when one tries 
to access these kinds of URL's through a proxy server or firewall.  Therefore, I have 
been trying to use the /do/* pattern.  However, I ran into a lot of problem when 
trying to do so with WebLogic 6.1 SP1.  WebLogic seems to prepend the wrong servlet 
context path in front of the uri-pattern I specify.  For example, in a JSP page I have



for some reason when the page is rendered in the browser the HTML tag becomes



Has any one seen this kind behavior? Or has anyone used the /do/* uri-pattern 
successfully with WebLogic 6.1 SP1?

TIA,

Eric Ma


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: