pippiri venu

Greenhorn
+ Follow
since Apr 19, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pippiri venu

which one is the best?
and why?

array list or string[]
18 years ago
i am using mysql database.
so unique index is possible in mysql?
can u give some example.
Hi,
i have huge data in 1.jsp . if i submit then the data goes to d/b. if i want to avoid duplication.(if any one refresh or double clilck that 1.jsp file again).

so here r 2 ways two avoide duplications.
1) storing the entire data into a session then comparing before insert.

2) make a query then check duplications.

so which one is the best?

or is there any other ways... :roll:
r u using connection after con.close() ?
after reading the ";" the compiler looks for the next statement
which can be a blank statement ending in ";" so its okay.

IF IT IS TRUE THEN WHY

out.print("Hi..");fff; GIVES ERR?
18 years ago
out.print("hi");;

hi,
can u tell me
here why this one is not giving err? (i used ;

18 years ago
for these you can pass the variable through this
i.e href="nextPage.jsp?Name=<%=Value%>"

18 years ago
JSP
in the bellowed prg i am passing x,y into next page by 2 ways.
which one is the best and why?

test1.jsp
---------
<%
String str="test2.jsp?x=20&y=30";
%>
<jsp:forward page="<%=str%>" />


test1.jsp
---------
<jsp:forward page="test2.jsp" >
<jsp aram name="x" value="20" />
<jsp aram name="y" value="30" />
</jsp:forward>
18 years ago
JSP