I think I’ve Solved


<%
if((request.getParameter("m"))!=null){
int me = Integer.parseInt((request.getParameter("m")));
switch (me){
case 1 : %> <%@include file="konten_1.jsp" %><% break;
case 2 : %> <%@include file="konten_2.jsp" %><% break;
case 3 : %> <%@include file="konten_3.jsp" %><% break;
default : out.print("default"); break;
};
} else {
%><%@include file="konten_3.jsp" %> <%
};
%>

Iklan

One thought on “I think I’ve Solved”

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s