Issue with the application context and web server alias names

2004-06-07 Thread Frank Russo
I've seen something like this posted, but with no answers.
 
I have an issue where I have an alias for an application. For eg. 
www.company.com/home/appname is an alias for www.company.com/appname, where appname is 
the context name of my app.
 
When I use the html form tag in my app as follows: 
html:form action='view.do'
What gets renderred is:
form action='/appname/view.do'
That links to: www.company.com/appname/view.do. The bad thing about that is that I 
need to have the /home in there. It's a long story why, but it needs to be there. 
 
Is there a way to configure struts to not append the context name? That would allow 
the form tag to render as:
form action='view.do'
which doesn't have a forward slash, then everything works fine, because it will submit 
to www.company.com/home/appname/view.do.
 
Thanks,
Frank...


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Issue with the application context and web server alias names

2004-06-07 Thread Frank Russo
I've seen something like this posted, but with no answers.
 
I have an issue where I have an alias for an application. For eg. 
www.company.com/home/appname is an alias for www.company.com/appname, where appname is 
the context name of my app.
 
When I use the html form tag in my app as follows: 
html:form action='view.do'
What gets renderred is:
form action='/appname/view.do'
That links to: www.company.com/appname/view.do. The bad thing about that is that I 
need to have the /home in there. It's a long story why, but it needs to be there. 
 
Is there a way to configure struts to not append the context name? That would allow 
the form tag to render as:
form action='view.do'
which doesn't have a forward slash, then everything works fine, because it will submit 
to www.company.com/home/appname/view.do.
 
Thanks,
Frank...


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Issue with the application context and web server alias names

2004-06-07 Thread Frank Russo
I've seen something like this posted, but with no answers.
 
I have an issue where I have an alias for an application. For eg. 
www.company.com/home/appname is an alias for www.company.com/appname, where appname is 
the context name of my app.
 
When I use the html form tag in my app as follows: 
html:form action='view.do'
What gets renderred is:
form action='/appname/view.do'
That links to: www.company.com/appname/view.do. The bad thing about that is that I 
need to have the /home in there. It's a long story why, but it needs to be there. 
 
Is there a way to configure struts to not append the context name? That would allow 
the form tag to render as:
form action='view.do'
which doesn't have a forward slash, then everything works fine, because it will submit 
to www.company.com/home/appname/view.do.
 
Thanks,
Frank...




-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger