Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #16.0K
Ranked #4K
~5K People Reached
Favorite Forums

7 Posted Topics

Member Avatar for Albert Pinto

Hi Albert, We wil use Radio button for single selection, so we need to use same id/name for that buttons. If we have other catogery radio buttons then we can use other id/name. Use same name to both inputs then u will get single value. example : <input type="radio" name="subs" …

Member Avatar for kalpanakovuru
0
2K
Member Avatar for cdudefire

Hi, In the above code the logic is they divided the give number by 2 and again checking the condition by modulo 2 its not correct . Gust we can check the condition by modulo 2 with the given number as i mentioned below. //if result has no remainder print …

Member Avatar for sridhar_sam
0
2K
Member Avatar for newbeejava

Hi newbeejava, This is the JSTL code to populate the combobox .... [code]<select id="day" name="day" > <c:forEach var="daylist" items="<%=JdbcQueryBean.result()%>"> <option value='<c:out value="${daylist}" />'><c:out value="${daylist}" /></option> </c:forEach> </select>[/code]

Member Avatar for newbeejava
0
186
Member Avatar for koushikroy1989

Hi Koushik, Below code is to set the session [B]//This code goes in server side (servlet).[/B] [code]HttpSession session = request.getSession(true); //create a session object session.setAttribute("key", "value"); [/code] [B]//This code goes in client side (jsp).[/B] [code]// this will return the value in session String value=(String) session.getAttribute("key"); [/code] After getting the session …

Member Avatar for javaAddict
0
142
Member Avatar for raul8

Hi Raul, This is the code to set and get the values from vector variable, [code]Vector<String> vcountry =new Vector<String>(); // <E> Element type of Vector e.g. String, Integer, Object ... // add vector elements vcountry .add("country 1"); vcountry .add("country 2"); vcountry .add("country 3"); for(int i=0;i<vcountry .size();i++) // This loop is …

Member Avatar for kalpanakovuru
0
201
Member Avatar for siva87

Hi siva, For this u need to check weather session object (which u created) is null or not if it is null then u need to redirect to login page. I am giving some example: [B][U] this is in server side code ..[/U][/B] [code]HttpSession session=request.getSession(false); //here u are geeting the …

Member Avatar for siva87
0
136
Member Avatar for JamesLogan

JavaScript is a programming language Ajax is shorthand for "Using JavaScript to send or receive information to/from a webserver without leaving the current page" jQuery is a library of functions (written in JavaScript) that perform some commonly desired things so that author's don't need to reinvent some common wheels.

Member Avatar for kalpanakovuru
0
181

The End.