From 9e446f9ae8c803174bfac55d46b954bb0dcd231e Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 26 Jan 2012 03:18:50 +0000 Subject: [PATCH] Use request.getParameter() to fetch POSTed parameters --- apps/i2ptunnel/jsp/wizard.jsp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp index 006f4bf8c..44b68f696 100644 --- a/apps/i2ptunnel/jsp/wizard.jsp +++ b/apps/i2ptunnel/jsp/wizard.jsp @@ -20,7 +20,7 @@ } } boolean tunnelIsClient = wizardBean.getIsClient(); - String tunnelType = wizardBean.getType(); + String tunnelType = request.getParameter("type"); %> @@ -131,8 +131,8 @@ <% } else { - %> - <% + %>" /> + " /><% } /* curPage 3 */ /* End page 3 */ %> @@ -149,7 +149,7 @@ <% } else { - %><% + %>" /><% } /* curPage 4 */ } else if ("client".equals(tunnelType) || "ircclient".equals(tunnelType) || "streamrclient".equals(tunnelType)) { if (curPage == 4) { @@ -161,7 +161,7 @@ (<%=intl._("name or destination")%>; <%=intl._("b32 not recommended")%>) <% } else { - %><% + %>" /><% } /* curPage 4 */ } } /* tunnelIsClient */ @@ -179,7 +179,7 @@ <% } else { - %><% + %>" /><% } /* curPage 5 */ } /* streamrclient or !streamrserver */ %> <% @@ -191,7 +191,7 @@ <% } else { - %><% + %>" /><% } /* curPage 5 */ } /* !tunnelIsClient */ %> <% @@ -204,7 +204,7 @@ <% } else { - %><% + %>" /><% } /* curPage 5 */ } /* tunnelIsClient or httpbidirserver */ %> <% @@ -230,7 +230,7 @@ <% } else { - %><% + %>" /><% } /* curPage 5 */ } /* (tunnelIsClient && !streamrclient) || httpbidirserver || streamrserver */ @@ -247,7 +247,7 @@ <%=intl._("(Check the Box for 'YES')")%> <% } else { - %><% + %>" /><% } /* curPage 6 */ /* End page 6 */ %>