Dear Gurus,
Can anyone guide me on how to send multiple parameters ?.
I give below my coding and please go through the same and give your feedback.
This is the program i hv developed to forward parameters to other
jsp pages.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags" %>
<%@ page language="java"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Match</title>
</head>
<body>
<%
String a = request.getParameter("sex");
String b = request.getParameter("age");
String c = request.getParameter("study");
String d = request.getParameter("region");
String e = request.getParameter("religion");
String g = request.getParameter("prefer");
%>
<xtags:style xml="http://localhost:8080/xmlshop/match_maker.xml" xsl="http://localhost:8080/xmlshop/search1.jsp">
<xtags
aram name="sex"><%=a%></xtags
aram>
<xtags
aram name="age"><%=b%></xtags
aram>
<xtags
aram name="study"><%=c%></xtags
aram>
<xtags
aram name="region"><%=d%></xtags
aram>
<xtags
aram name="religion"><%=e%/></xtags
aram>
<xtags
aram name="prefer"><%=g%/></xtags
aram>
</xtags:style>
</body>
</html>
I have used xtags to forward multiple parameters.
If you have any other method of passing more than one parameters please guide me.
Regards,
Ramamoorthy