You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Redman <Ma...@hass.com.au> on 2003/03/19 00:31:54 UTC
struts + resin
Hi,
I have created a web app based around the struts framework
and successfully deployed and run the application on Tomcat 4.0.4.
Our clients have required that this hook into IIS, so we have attempted to
port the application over to Resin 2.1.8.
When resin renders the <html:form action="/login.do"> </html:form> element
in the page,
instead of the form's action being <form name="loginForm"
action="/ormisweb/login.do">
it renders as the name of the web app.. (called ormisweb in resin.conf -
<web-app id='/ormisweb' />)
<form name="loginForm" method="POST" action="/ormisweb">
Anyone had any experience with this issue?
Cheers,
Matt.
__________________________________________________________
Disclaimer:
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error, please notify the addressee
by return email and delete the email.
This email transmission is the property of HAS Solutions and any
information it contains is legally protected. HAS Solutions has no liability
(including liability in negligence) to any person for any loss or damage
consequential or otherwise suffered or incurred by that person resulting
directly or indirectly from either the use of, or reliance on, the
information contained herein.
__________________________________________________________
Re: struts + resin
Posted by "Daniel H. F. e Silva" <dh...@yahoo.com>.
Guys,
I use Resin-2.1.8 and don't have problems. How are you deploying your application?
Could you post here problematic part of your resin.conf file?
Instead of configuring my application at resin.conf i put it at webapps folder and
configure my application in web.xml according to Servlets and JSP spec.
This works for me in all cases.
Best regards,
Daniel.
--- Sander Hofstee <sa...@topicus.nl> wrote:
> Sounds like a problem we had with a custom tag, worked fine in tomcat,
> not in Resin.
> Resin seems to have problems with custom tags and static parameters,
> don't know why.
>
> This is the how we solved it , seems to work:
>
> <html:form action="<%= "/login.do" %>">
>
>
> Matt Redman wrote:
>
> >Hi,
> >I have created a web app based around the struts framework
> >and successfully deployed and run the application on Tomcat 4.0.4.
> >
> >Our clients have required that this hook into IIS, so we have attempted to
> >port the application over to Resin 2.1.8.
> >
> >When resin renders the <html:form action="/login.do"> </html:form> element
> >in the page,
> >instead of the form's action being <form name="loginForm"
> >action="/ormisweb/login.do">
> >it renders as the name of the web app.. (called ormisweb in resin.conf -
> ><web-app id='/ormisweb' />)
> ><form name="loginForm" method="POST" action="/ormisweb">
> >
> >Anyone had any experience with this issue?
> >
> >Cheers,
> >
> >Matt.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: struts + resin
Posted by Sander Hofstee <sa...@topicus.nl>.
Sounds like a problem we had with a custom tag, worked fine in tomcat,
not in Resin.
Resin seems to have problems with custom tags and static parameters,
don't know why.
This is the how we solved it , seems to work:
<html:form action="<%= "/login.do" %>">
Matt Redman wrote:
>Hi,
>I have created a web app based around the struts framework
>and successfully deployed and run the application on Tomcat 4.0.4.
>
>Our clients have required that this hook into IIS, so we have attempted to
>port the application over to Resin 2.1.8.
>
>When resin renders the <html:form action="/login.do"> </html:form> element
>in the page,
>instead of the form's action being <form name="loginForm"
>action="/ormisweb/login.do">
>it renders as the name of the web app.. (called ormisweb in resin.conf -
><web-app id='/ormisweb' />)
><form name="loginForm" method="POST" action="/ormisweb">
>
>Anyone had any experience with this issue?
>
>Cheers,
>
>Matt.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org