Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

action form and redirection question

Status
Not open for further replies.

sonya9879

Programmer
Jun 18, 2004
147
CA
Hello,

I am working on a project where I am using redirection URLs to get to my scripts, for example, /sample goes to /sample/test.aspx and stuff more complex with regular expressions. I have found a problem with .net and the way the html form action is displayed. For example, when I call /sample the redirection works fine and it opens /sample/test.aspx, however the html action code generated for the form says: action="test.aspx" instead of saying action="/sample" and that's a problem because when I click submit it tried to open /test.aspx. Wrong location because the file is inside /sample. In the ideal world, I want the form to say /sample and not test.aspx. Is that possible? I hope I didn't make it too confusing...thanks a lot
 
Which version of the framework are you using?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top