Hi All,
We have one Web Application called Hummingbird BI Web Report. It is browser
based Application.
It is Reporting Application.There user can view Reports which is created in
one more tool called BI Query Admin and published into BI Web.
To View a Report user has to have valid username and pa
Dear Friends,
I need some info/suggestions/guidlines/work arounds from you all.
Currently I have an requirement to port an application which
is running on iPlanet version4.0 (Not on iPlanet Application Server).
This has the following structure
html & jsp => /usr/netscape/server4/doc
Dear Friends,
I have a problem in my IBM HTTP server which has been built on top of Apache
web server.
My problem is like this
I have a virtual folder which has been mapped to Crystal Report's sechduler.
This scheduler will generate files and put them in to this folder...
Then our users will
Dear Ramesh,
You are missing ":" next to thin...
If you give as follows it will work
try this...
conn =
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1",
"oaxapr","oaxapr");
Yogaraj
-Original Message-
From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
Sent
Hi Vikramjit,
IMHO, both the practices are not much laudable.
Yes its overhead to the resources to open and close the physical connection
to the database for each request that arrives to your application.
So, this is not better practice to use it.
What your colleague is doing is also wrong. It mi
>From JDK documentation...
public interface Statement
The object used for executing a static SQL statement and obtaining the
results produced by it.
Only one ResultSet per Statement can be open at any point in time.
Therefore, if the reading of one ResultSet is interleaved with the reading
of a
Dear Vishali,
I don't know whether there is a problem in the pseudo code that you have
displayed was wrong or you had made the same mistake in your code also.
First of all you can not execute/run a query/cmd in a result set but your
code shows rs2.executeQuery(cmd).
If you really want to execute
Hello Friends,
Hello Friends,
I read an article about Understanding JTS
(http://www-106.ibm.com/developerworks/java/library/j-jtp0410/?loc=j#7) in
IBM web site. It was really an interesting and eye opening stuff for me with
respect to my understanding about transactions.
So I just wanted to t
This code will surely throw up an error if name variable is null
you have to check like
if(!name == null || !name.length() ==0 ) { instead...
because you are checking the lenght of the String first which possibly
null...
Happy Programming..
YOgaraj
-Original Message-
From: Da
Hi First check if your ename is ename or EName ...some times this might be a
problem...
Then before assigning into the variable...just do like
if (request.getParameter("ename")!=null &&
!request.getParameter("ename").equals(""))
String name=request.getParameter("ename");
just be sur
After writing some thing into the output stream..
If you try to make any changes in your header information ...
This error will come...
Example...
Out.println(blah blah);
response.setHeader("pragma","no-cache");
Then...the error that you are getting will come...
Yogaraj
-Original Message--
You should have used
String d = request.getParameter(txtdesc[r]);
It would work the way you want it
-Original Message-
From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: can not get parameter (It's urgent)
no,
Hello Ramesh,
This is not browser that does force the file to download...
Its basically a content type property that you are setting...
the following code will force your browser to give your file as download.
response.setContentType("application/csv");
response.setHeader("Content-Disposition","a
HI Friends,
I have a question. Say, In one of my JSP pages I am instansiating a
connection which is already there in the connection pool.
Then My JSP page sets Conn.setAutoCommit(false); If my JSP page did not set
it again to true, will it be the same auto commit false in the next request
in the
,
Murali
"It, Cockpit (CAP, Contractor)" wrote:
> Hi Murali Mohan,
> Use this java script function which takes care of converting lower case
into
> upper.
> // Function which Converts the lowercase letters entered by user to upper
> case letters
>function t
Hi Murali Mohan,
Use this java script function which takes care of converting lower case into
upper.
// Function which Converts the lowercase letters entered by user to upper
case letters
function toUpper()
{
if ((window.event.keyCode>=97) && (window.event.keyCode<=122))
{
Better you can try Using GregorianCalendar which has the facility to take
timezone as an argument and works fine according to the given timezone.
Actually we used it in our project and succeeded.
Thanx
Yogaraj
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Thursday
Hello Sameer,
Are you using frame set with in which you have this html file which will
call a servlet and that servlet will actually download the .txt file that
you are giving it as download, isn't it?
And your download file name is "downloadFile.htm" right?
If you use frame set and inside that
Just insert a return; statement in the middle then the execution of JSP will
be terminated in that point.
Regards
Yogaraj
-Original Message-
From: Dmitry Namiot [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 4:54 PM
To: [EMAIL PROTECTED]
Subject: Re: STOPPING A JSP
See for exa
hance, you might want to upgrade to Websphere Application
Developer. It doesn't use the WTE which is the flakiest part of VAJ. Plus
it has better tools for web development if you have a need for that.
good luck
-Original Message-----
From: It, Cockpit (CAP, Contractor) [mailto:[EMAIL
Dear Friends,
I am using Visual Age For Java 3.5.
It was working very fine till before 30 Mins.
Suddenly my Websphere test environment is not working.
When I start my servlet engine it shows in the consol window that
the webserver is running on local host on the port 8080.
But when I call my pages
helps,
Smita
"It, Cockpit (CAP, Contractor)" <[EMAIL PROTECTED]>:
> Dear Friends,
> Do any one know where can I find source code in servlet to read mails
> from
> pop3 server.
> Actually my requirement is to read a subject line of one particular mail
> id,
> a
Dear Friends,
Do any one know where can I find source code in servlet to read mails from
pop3 server.
Actually my requirement is to read a subject line of one particular mail id,
and should parse the body message then should update them into the database.
My database is Oracle, and my pop3 mail se
Hi Friends,
I need to send mail from my jsp page. I have code to send mail. But my need
is, is there a default SMTP server available in Websphere Application Server
4.0. The admin server has provision to create the mail session. Is that
enough for me to send mail or Should I have to have a separat
Call this function in your body load as
Yogaraj
-Original Message-
From: Henry S. Hayden [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 2:13 AM
To: [EMAIL PROTECTED]
Subject: Setting focus in JSP
I would like to be able to set a form's focus to the first textbox on a
JSP. As
Actually the value in Vector is object.
So you can do like this
int totalNum = 100;
int tempTotal = Integer.parseInt(pollVotecount.elementAt(i).toString());
or you can do like this.
int tempTotal =((Integer)pollVotecount.elementAt(i)).integerValue();
int tempNum = tempTotal / totalVotes);
Eithe
Hi all,
I am in a serious problem, I am downloading one CSV file from a jsp page.
Which contains complete csv data.
Actually I have a jsp file in the name of admin.jsp from this file Onclick
of a button I will call file name AdminFileDownload.jsp with
moveTo(1000,1000) and periodically I will cal
Dear Friends,
I have set cookies in my web site.
If I want to log out the user I have to remove the cookie manually, right..?
How do I do that in JSP?
I am not able to overwrite the cookie using "" value.
Please help me.
Yogaraj
"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FO
Hi Ajit,
Basically this error was not because of your tomcat, You would have written
code only for doPost method inside your receiver servlet, if you did so,
please make some changes as
public void doGet(httpServletRequest request,HttpServletResponse
Response)throws HttpServletException{
doPost(re
p you.
Sami.
-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de It, Cockpit (CAP,
Contractor)
Enviado el: Miércoles, 20 de Febrero de 2002 10:35 p.m.
Para: [EMAIL PROTECTED]
Asunto: How do I ?
Dear Friends,
I ha
Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?
Help me please!
Yogaraj
"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
Dear Friends and Experts,
I have an interesting query for which I expect a good solution from you
guys.
I have IIS running on Windows NT, And my Websphere Application Server is
running on Sun Solaris.
Now my question is, Is there any way out there to configure IIS as my Web
Server for my Applica
Hi Guys,
I have a problem, my application should give a template of some format.
Which is going to be a CSV file.
So I am using
response.setContentType("application/csv");
response.setHeader("Content-Disposition","attachment;
filename=UPLOAD.csv;");
When I tried this the download was very fine w
Hi Paulo,
Its really a magic, I never knew that %>
<% will add a new line...
Thanx a lot..
Regards
Yogaraj
-Original Message-
From: Paulo Henrique de Abreu Pontes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 12:41 AM
To: [EMAIL PROTECTED]
Subject: Re: CSV file generation us
Hello ALL,
I am generating CSV file on the fly.
So I am using
response.setContentType("application/csv");
response.setHeader("Content-Disposition","attachment;
filename="UPLOAD.csv;");
These two lines, Now problem is, the downloaded file contains unnecessary
new lines in the beggining.
My firs
-
From: "It, Cockpit (CAP, Contractor)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 16, 2002 2:15 AM
Subject: Websphere Application Server V4.0
> Dear Friends,
>
> Currently I am handling WAS v4.0, Here I have a problem in administring
the
>
Dear Friends,
Currently I am handling WAS v4.0, Here I have a problem in administring the
same.
My problem description is this, I have created my web application using
AAT(Application Assembly Tool).
I have installed the EAR file on the server. After the installation of the
Enterprise Archive(EAR
!
Importance: Low
Hi,
If you are Using Oracle Database Version 8i or higher you can use "Execute
Immediate" Statement in a JDBC call.
Regards
Juergen
-Ursprüngliche Nachricht-----
Von: It, Cockpit (CAP, Contractor) [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 15. Februar 200
Hi Friends,
I have one requirement, I have to frequently add a field in my particular
table.
Currently we are doing it manually.. Is there any work around to automate
this.
I should be able to alter my table through JSP/Servlet is this possible..?
Can I do that..?
Regards
Yogaraj
"THIS E-MAIL
Try to use Oracle Rownum property and you will get a good result.
Say If your query returns 1000 records put another condition in your query
as rownum<100 and then for next time put the condition as rownum>100 and
rownum<200
you will get it solved.
Thanx
Yogaraj
-Original Message-
From: J
I am in the need of your help.
Currently I am working on a web site development which is in JSP and
servlet.
Actually we are using Visual Age for java for the development of the same.
But I have a problem in this regard.
I am having an SQL query which runs fine in Oracle client.
But its not retur
41 matches
Mail list logo