473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help with the redirect code! Please!

I am currently revamping a website for a small business and there is one page giving me issues. I am doing it as a favor for a friend and am not by any means the most tech savvy on coding. There is a form page that consists of an email text field and comment section that goes right to the business. The problem is not the form that I have remade, it's the Thank you page that it directs to. The owner transferred all the pages and deleted the thank you page. It's on the web but I cannot seem to find it in the folders. I need to redirect the email page to the NEW thank you page. What code am I looking for to redirect?

Please help, thanks.
Aug 31 '07 #1
3 1681
ak1dnar
1,584 Expert 1GB
If there is a email sending form and if it is working, there should be a ServerSide Scripting language like Php,ASP,JSP/servlet. So the redirection to thank you page should trigger from that server side part.So what is in your web site? I mean language.
Aug 31 '07 #2
If there is a email sending form and if it is working, there should be a ServerSide Scripting language like Php,ASP,JSP/servlet. So the redirection to thank you page should trigger from that server side part.So what is in your web site? I mean language.
It's Arvadaflats.com, where it says form it reads:

<form action="http://svcs.dexclicks.com/svcs/formproc.jsp" method="POST">

BC
Aug 31 '07 #3
ak1dnar
1,584 Expert 1GB
It's Arvadaflats.com, where it says form it reads:

<form action="http://svcs.dexclicks.com/svcs/formproc.jsp" method="POST">

BC
So Its JSP. what you have to is, Put this line with the path for the thank you page. with some conditions on it.
Expand|Select|Wrap|Line Numbers
  1. IF _MAIL_SENDING_OK
  2. response.sendRedirect("path_to_thanks_page.html");
  3. ELSE
  4. response.sendRedirect("sending_failed.html");
Aug 31 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bobby | last post by:
Hello everyone I have a question. The school I am working for is in the beginning process of having a webpage that will direct students to download there homework and be able to view there info...
1
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
9
by: Sandy | last post by:
Any help anyone can give me will be appreciated!!!! This is driving me c-r-a-z-y! All I can get from both of the above redirections is a redirect to a page named default.aspx. How do I make...
1
by: john | last post by:
Hello, I am trying to convert a project from vb6 to vb.net. The code is a sample from an sdk for Canon digital camera's. I have gotten most of the issues resolved, but there are some that I am...
10
by: isaac2004 | last post by:
hello i am trying to use a response redirect statment to show a message upon deletion of a record from a database. my database is ran though a page with a table with a delete option on the side....
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
1
by: Mike Hofer | last post by:
I really need some help, and I'd appreciate any that you folks can provide. The ASP.NET application in question uses version 1.1 of the .NET Framework. All of the pages use a common base class...
1
by: Culley | last post by:
I've created a secure login site. Everything works fine except for one thing... the redirect. I want to redirect users to the correct page they are accessing (say they're just clicking a link...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
1
by: cheesecaker | last post by:
Hi, I need a specific redirect out of mod_rewrite, and I've never done regex a day in my life. Understandably, this makes things difficult. Been trying for hours, now I give up trying to slave it out...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.