bishal chhetri

Greenhorn
+ Follow
since Apr 11, 2012
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by bishal chhetri

Rob Spoor wrote:

bishal chhetri wrote:

Rob Spoor wrote:

bish chh wrote:please help me i am in hurry,


Please EaseUp.

You need to check out how attributes work. You can't use the page scope, so you should focus on request scope or session scope.




thanks for response, but please can you teach me by showing example of my problem


jsp attributes example. Shouldn't be too hard to find a few examples.





no examples found in google for my problems so i have posted hear;
please any one help me
11 years ago
JSP

Rob Spoor wrote:

bish chh wrote:please help me i am in hurry,


Please EaseUp.

You need to check out how attributes work. You can't use the page scope, so you should focus on request scope or session scope.




thanks for response, but please can you teach me by showing example of my problem
11 years ago
JSP
hi,
i have 2 jsp page bill.jsp and coll.jsp ;
there is 2 button in bill.jsp when first is clicked controll is passed to coll.jsp where only pure java code is written to insert data to db,
and when 2nd button is clicked coll.jsp have to extract data from db, which i have done by:

Connection conn=null;
Statement stat=null;
ResultSet rs=null;
stat=conn.creatstatement();
String retrivingqry="SELECT * FROM Menu1";
rs=stat.executeQuery(retrivingqry);

now i want to pass this rs back to bill.jsp to manipulate this data and show in tabular form;


so please can anybody help me to send this rs using pure java code in coll.jsp to send to bill.jsp,

and recive this data in bill.jsp (note: no need pure java code in bill.jsp)

please help me i am in hurry,
thanks for your response
11 years ago
JSP