Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Howiieque

macrumors regular
Original poster
Feb 1, 2009
120
0
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"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.