doc
java
resources
scripts
tomcatconf
webapp
META-INF
WEB-INF
css
database
images
javascript
lesson_plans
lesson_solutions
lessons
Ajax
images
instructor
clientSideFiltering.jsp
clientSideFiltering_backup.jsp
clientSideValidation.jsp
employees.xml
eval.jsp
sameOrigin.jsp
ConfManagement
CrossSiteScripting
DBCrossSiteScripting
DBSQLInjection
General
GoatHillsFinancial
RoleBasedAccessControl
SQLInjection
XPATHInjection
users
lesson_content.jsp
main.jsp
reportBug.jsp
sideWindow.jsp
webgoat.jsp
webgoat_challenge.jsp
.gitignore
README.txt
build.xml
pom.xml
webgoat for SQL Server.bat
webgoat.bat
webgoat.sh
webgoat_8080.bat
webscarab.bat
git-svn-id: http://webgoat.googlecode.com/svn/branches/webgoat-6.0@485 4033779f-a91e-0410-96ef-6bf7bf53c507
31 lines
605 B
Plaintext
31 lines
605 B
Plaintext
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
|
pageEncoding="ISO-8859-1"%>
|
|
|
|
|
|
|
|
<% String coupon = request.getParameter("coupon");
|
|
|
|
if (coupon.equalsIgnoreCase("PLATINUM")){
|
|
out.print(".25");
|
|
}
|
|
else if (coupon.equalsIgnoreCase("GOLD")){
|
|
out.print(".5");
|
|
}
|
|
else if (coupon.equalsIgnoreCase("SILVER")){
|
|
out.print(".75");
|
|
}
|
|
else if (coupon.equalsIgnoreCase("BRONZE")){
|
|
out.print(".8");
|
|
}
|
|
else if (coupon.equalsIgnoreCase("PRESSONE")){
|
|
out.print(".9");
|
|
}
|
|
else if (coupon.equalsIgnoreCase("PRESSTWO")){
|
|
out.print(".95");
|
|
}
|
|
|
|
|
|
|
|
%>
|
|
|