Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 7, 2009, 10:13 AM   #1
Howiieque
macrumors regular
 
Join Date: Feb 2009
jsp & servlet redirect question

hi
part of my web.xml (deployment descriptor of tomcat)
Code:
<security-constraint>
		
		<web-resource-collection>
			<web-resource-name>sslsource</web-resource-name>
			<url-pattern>/SSL/*</url-pattern>
			<http-method>POST</http-method>
			<http-method>GET</http-method>
		</web-resource-collection>

		<user-data-constraint>
			<transport-guarantee>CONFIDENTIAL</transport-guarantee>
		</user-data-constraint>
	
</security-constraint>
as it defined, things in SSL folder require ssl connection.
for example, there is a checkOut.jsp inside /SSL. so the connection to checkOut.jsp is using https protocol.
my question is: if use response.sendRedirect("basketController.servlet"); inside that jsp, the connection would still via ssl(https). and i just want to connect to basketController.servle via http protocol.
how can i do that? and i don't want to use absolute path, like "http://www.apple.com"
Howiieque is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone: Application Redirect a2k Jailbreaks and iOS Hacks 8 Aug 26, 2014 06:34 PM
DNS Redirect on OS X 10.6 Les Kern Mac OS X Server, Xserve, and Networking 3 Dec 11, 2013 01:43 AM
Can we redirect an app? marchy iPhone and iPod touch Apps 0 Oct 26, 2013 11:34 AM
FileFactory Redirect? ViolentHero Mac Basics and Help 1 Nov 21, 2012 01:52 PM
Facebook redirect! Meitou OS X 3 Sep 5, 2012 12:57 PM

Forum Jump

All times are GMT -5. The time now is 05:02 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC