Originally posted by Sanjay, Lalwani:
HI
Is there any one who has solved problem of communicating info from servlet to jsp.
Cheers
Sanjay
Originally posted by shahzahid hussain:
i am connect to microsoft database(SQL Server Or Access)
with out using JDBC:ODBC
If any one Achive this task plese send me mail with script
at
thanx
Originally posted by mani dalal:
Hello Servlet /JDBC experts,
I need some urgent help regarding ConnectionPool .
I have created connection pool of max 15 connections in init()method of servlet.
I am creating a connection object from the pool and passing that object to a class trhough its constructor .This class uses the connection object and fetches the data and returns the same trhu a string object to the main servlet.
Problem here is that the connection used by another class is not getting released thru the'release connection' method of connectionpool trhu finally clause in the main servlet.Connections are stopped after 15 connections.
Can anyone help me for the saem.
public class servlet {
init(){connectionpool}
doget{
connection con=conpool.get....
someclass class=new someclass(con);
String r=class.str();
p.println(r)
}
finally(!con=null){conpool.releaseconnection)
}//doget over
Originally posted by v venkatesh:
Iam able to work with jsp when i kept my .html files and .jsp in the same folder.I want to have a separate folder to keep all my
.html and .jsp pages .how can i do.Can any body give me some ideas based on this situation?
Originally posted by karan, chopra:
hi folks,i have the following problem,wonder if anyone could help me out..
1.)in my servlet i execute a SQL query on one of the tables of my database,the query returns a couple of tables and stores the result in the resultset.then i display the result in my servlet.everything is fine till now..but when my query is run so that it returns some columns from 2 tables of my database then each value of the resultset is displayed 12 times on the servlet,ie,say each row is displayed a couple of times and not a single time which i want(because i am storing the different values of the resultset into different arrays)..why is this so..plz help....
thanks in advance
regards
karan
Originally posted by Honey Nanwani:
Howdy Folks,
I am using a Bean and calling a method in a JSP. Tomcat says method not found when its in the bean and its public.
Is this a bug with tomcat. Its driving me crazy. It works on one instance of Tomcat but not on another.
Any Ideas?
Thank you
Honey
Originally posted by Ajit Kanada:
Hi
I have one class which has some vectors.I want these vectors to send to servlet.How can i do this.I tried with URLConnections...
Can anyone help me
AJit
Originally posted by paddy singh:
i have started fresh with java and am writing servlets in jsp.
i am retreiving a date field from the database(ms-access)in mm/dd/yy (01/02/01) format but i have to display it on the front end as january,02,01.
on the jsp page ,i retreive the date in a string variable:
String dt=el.elementAt(i).toString();
even if i break this string for date,month,year..how do i convert month from 01 to january.
i would be really glad if u would guide me with this.
thank u in anticipation.
Originally posted by rishi, yagnik:
Hi friends
I am new to JSP
can somebody tell me how can i send a mail in JSP infact In ASP CDONTS Object is there for sending a mail wht is there in JSP?
can i use Java mail API for the same?
Rishi
Originally posted by ellen berry:
Hi, there:
I am a new learn, But I do not know which softwares I need to install, then I can run .jsp file. Please give me some suggestion. Thanks a lot.
Originally posted by Vanitha Sugumaran:
Hi,
I want to learn JSP, I don't know where to start, can anyone suggest good books, sites ...
Thanks,
Vanitha.
Originally posted by Rinku:
Dear sir,
i want to display 10 records per page from my data base
usinf JSP technology
i want to know, can i write any sql query for that or i have write seprate coding .
pls do send any coding you have that in this mail id rinkuraj@yahoo.com
thanks in Adavance
Rinku
Originally posted by vasuma puljety:
Whenever I try to visit Javaranch site, I am getting the following error these days.
An unexpected error occured. Do you wish to debug? Error : Object expected.
What is this? Any of you are getting this ?
Originally posted by Mahajan Bhupendra:
Hi
My friend is having cyber cafe..
He told me that can i make a program like...
If one sits on a comp and started surfing my program
should start counting the time after finishing one hour
it should prompt to server that this this comp has finished
one hour as well as the user should get the prompt..
Is it possible to do in JAVA ??
Or do i need some microsoft thing???
If i can use java what exactly i should start with???
I m confused??
plz help me.....
Thanx in advance...
Bhupendra
Originally posted by sateesh kommineni:
Hi
I am generating a report in a servlet and sending the report to the Browser in an Excel sheet format. Now how can we format the cells in the Excel sheet. For Example if we want to freeze one column(which can be done in Excel) in the report we are generating then how to get control over the Formatting...
Shall we need to know the File Formatting of the Excel...
pls suggest some good links ....
Thanks in advance..
Sateesh