Defining the page that is returned to after the URL method is used ... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 12, 2004 ⬆ |
◄ ► |
Author | Message | |||
Dave Unregistered guest |
Hi, I have written a JSP page that I am using as my own 'FrontEnd' for nowSMS. The JSP page sends an HTML form using the URL parameters of nowSMS. This seems to work fine, but after submitting the message, the user is automatically redirected to the SubmitOK.html page to display the 'Message Submitted' information. Is there anyway to set the page which is displayed after submitting a message? Thanks, Dave | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2354 Registered: 10-2002 |
Hi Dave, There is a "ContinueURL=" parameter that you can specify in your request. But this parameter only sets the URL that is associated with the "Continue" link in SUBMITOK.HTM. (By default, the "Continue" link is associated with javascript:history.back().) The following link explains how you can modify SUBMITOK.HTM to use a META REFRESH tag to perform a redirect. http://support.nowsms.com/discus/messages/1/344.html Do note that the PHP example referenced by that thread (as an alternative approach) is outdated, there is a better example here: http://support.nowsms.com/discus/messages/1/3692.html. Unforunately, I do not have a JSP example of same. -bn |