Search Results

Showing results 1 to 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: amarjeetsingh ; Forum: JSP and child forums
Forum: JSP Jun 29th, 2009
Replies: 17
Views: 2,046
Posted By amarjeetsingh
<html>
<head><title>Sales Page/title></head>
<body>
<script type="text/javascript">
function ajaxFunction()
{
var xmlHttp;
try
{ // Firefox, Opera 8.0+, Safari
xmlHttp=new...
Forum: JSP Jun 13th, 2009
Replies: 17
Views: 2,046
Posted By amarjeetsingh
you want to show the itemname from the database
it is very easy,

in your servlet
by open a dao connection
get all the data from the database
set into the ArrayList
then in...
Forum: JSP Jun 13th, 2009
Replies: 17
Views: 2,046
Posted By amarjeetsingh
Use Ajax for your reqirement

i am giving solution to your problem

first create 2 jsp for your reqirement

first you show the one list itemname in the first jsp page
when user select the...
Forum: JSP May 27th, 2009
Replies: 10
Views: 2,222
Posted By amarjeetsingh
Create the variable in the javaScript
and store the value in it
then use it


function changeQuantity(form,productCode,index)
{
var z=productCode;
var y=index;...
Forum: JSP May 27th, 2009
Replies: 10
Views: 2,222
Posted By amarjeetsingh
Create the variable in the javaScript
and store the value in it
then use it


function changeQuantity(form,productCode,index)
{
var z=productCode;
var y=index;...
Forum: JSP Apr 30th, 2009
Replies: 10
Views: 2,510
Posted By amarjeetsingh
peter
this is the small application for school boys,
there is so many drawbacks
in your application


have you make any connection pool
in your tutorial

do n't ask what is connection pool
Forum: JSP Apr 30th, 2009
Replies: 10
Views: 2,510
Posted By amarjeetsingh
but the original question was that
want to make one checked radio,
based on a condition

there are 2 radio button

when the jsp load from the server end

1 radio is checked on ...
Forum: JSP Apr 30th, 2009
Replies: 10
Views: 2,510
Posted By amarjeetsingh
hi
peter

i am talking about html form elements
like radio button,checkboxes,textbox

in a jsp page how can you access them

through jstl tags
Forum: JSP Apr 30th, 2009
Replies: 10
Views: 2,510
Posted By amarjeetsingh
hi
peter,Can you tell me
how can i access the HTML
form element through the JSTL tag
Forum: JSP Apr 29th, 2009
Replies: 10
Views: 2,510
Posted By amarjeetsingh
<html>
<head>
<script language="JavaScript">
function checkedOne(str)
{

var len=document.f2.appStatusDescription.length;


for(var i=0;i<len;i++)
Forum: JSP Apr 28th, 2009
Replies: 4
Views: 673
Posted By amarjeetsingh
my dear frnd
i gave the answere of your question
Please read it carefully
when the client click the link
download file, it automatically ask from the client
do you want to save it
if client...
Forum: JSP Apr 28th, 2009
Replies: 4
Views: 673
Posted By amarjeetsingh
<a href="www.yourserver.com/java/chapter.txt" >Download file</a>



<a href="www.yourserver.com/java/chapter.zip" >Download file</a>



<a href="dynamic value get from servlet through bean...
Forum: JSP Apr 28th, 2009
Replies: 7
Views: 1,622
Posted By amarjeetsingh
<%@ page language="java" import="com.bean.*,java.util.ArrayList" %>

<%
// import the ArrayList

ArrayList arr=(ArrayList)request.getAttribute("arr")
// then iterate through the ArrayList ...
Forum: JSP Apr 25th, 2009
Replies: 7
Views: 1,622
Posted By amarjeetsingh
<logic:iterate name="arr" id = "columnsVO">
<logic:equal name="columnsVO" property="price" value="xyz">
process some work here
</logic:equal>
<logic:notEqual name="columnsVO" property="price"...
Forum: JSP Apr 24th, 2009
Replies: 7
Views: 1,622
Posted By amarjeetsingh
hi
my dear frnd

this is very un logical
u hv a ArrayList
in which 100 objects(let us consider)
each object has 3 property
product
family
price
Forum: JSP Apr 24th, 2009
Replies: 5
Views: 28,778
Posted By amarjeetsingh
Yes u can do it

but u hv to speicify from where do u want
to display the list of all the the male members

if u want that value to be get from the database
then u can use ajax from ur current...
Forum: JSP Apr 24th, 2009
Replies: 7
Views: 1,622
Posted By amarjeetsingh
ArrayList final = null;
StdprdDAO DAO = new stdprdDAO();
final = DAO.getPFP();

there is no need of For loop

For(int i = 0; final !=null && i<final.size() ; i++)
{
columnsVO VO = null;...
Showing results 1 to 17 of 17

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC