Hello,
Can any one tell me the difference between URI URL .
If I interchange the two while using in taglib what is the effect.
Regards
Arun
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
Can
you post the example to the list, I'm interested in this
-Original Message-From: Jean-Francois Pinero
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, October
30, 2001 2:52 PMTo: [EMAIL PROTECTED]Subject:
Re: anyone use log4j before ?
We
use it here at work, it is becoming a
I am using Stored(Functions) in oracle which return cursors type(multiple
rows)
How can i allot them to resultset in jsp /Java code
How to call the function in java code so that i can use the rows just like i
have used the result using SQL server/Access as my database
ie i have used Resultset
Here is how I do
rs = ResultSet
cstmt = CallableStatement
cstmt = conn.prepareCall(begin PACKAGE.procedure(?,?,?); end;);
cstmt.registerOutParameter(1, OracleTypes.CURSOR);
cstmt.setString(2, para1);
cstmt.setString(2, para2);
cstmt.execute();
rs =
Thanks for the code
i am using classes111.zip
i was not getting
OracleTypes from oracle.jdbc.OracleTypes
can u point me to the resource
Thanks Again
Srihari
-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 6:09 PM
To: [EMAIL
visit
http://www.roseindia.net/jsp/jsp.htm
--- Grantham, Jeff [EMAIL PROTECTED] wrote:
Here's a pretty good tutorial:
http://www.jsptut.com
-Original Message-
From: Henrik Johansson
[mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 2:55 PM
To: [EMAIL PROTECTED]
Hi,
Anyone knows how in socket programming to make a client connects to a
server with specific local port ?
I mean if the server provides port 1000.. i wanna make my client connect to
the port 1000 in server side using port 5000 in client side.
I have been looking in the Socket class in the
Modified my code many times with getRemoteHost(), still only remote host's
IP, no host name. DNS lookups are enabled by default, setting is
enableLookups=true .
Any advise? thanks!
Franco
Here is my server.xml file, created by installation.
I have this line in a servlet :
httpservletresponse.sendRedirect(s4 + ?name= +s);
But when I go to the jsp file s4, %=request.getParameter(name)% return
always null
Thanks
_
Get your FREE download of MSN Explorer at
This thread would be much better addressed to a JavaScript forum than a JSP
one: head over to www.devshed.com for some good JS discussions, or check out
pages like http://developer.irt.org/script/form.htm for a load of sample
code that should cover some, if not all, of what you want to do.
Chris
Silly question but are have u checked to make sure that s is not null?
What is the resulting pages URL? In otherwords, after the redirect.. u
should see something like http://whatever s4 is?name=whatever s is. If
you dont see that.. then there is something else wrong.
-Original Message-
Sufi,
What is s assigned to in your code? You should also encode the URL before
you use it as a parameter sendRedirect in case the variables have special
characters in them. I don't think this is causing your problem though.
Have you done a System.out.println(s = + s); before your
Steve Bang wrote:
According to the JSP 1.1 specs, the description of the taglib-uri setting
can be a short name. In both the Sun spec and in WebLogic docs, they give
examples of using short names, such as myPRlibrary (in the JSP 1.1 specs)
and myTLD (in WebLogic docs). And, Hans uses
Hi all,
In my jsp page I am passing date as a parameter.
The code is as follows:-
Date startdate=Date();
if(request.getParameter(date)!=null)
{
startdate=request.getParameter(date);
}
I am getting the following error message on
compilation:-
Hey,
I've actually had the same problem a few times already :-P I dont
know why Java creators decided on having different packages for dates. But
the solution is actually pretty simple.
I'm guessing that you probably put
import java.util.*;
import java.sql.*;
Charu:
Date startdate=Date(); is incorrect
You have to instantiate using the new operator
Date startdate = new Date();
Also, be sure you import the right package
java.sql or java.util
Hope this helps.
Sagar
-Original Message-
From: charu gupta [mailto:[EMAIL PROTECTED]]
Sent:
Hi, every one,
I was required to plug WebSphere to iPlanet 4.0 running on Unix. Is there
any one has this experience? Some one has already got iPlanet and WebSphere
installed. What I have to do is to plug WebSphere to iPlanet and configure
it. I have experience setting up other Java servers, but
At the top of you JSP page, specify which Date library you are using. For
example,:
%@ page import=java.util.Date %
specifies the Date class as defined in the java.util.Date package. Note
that using
%@ page import=java.util.* %
will not work IF you also have the sql import statement
%@
Hi java gurus!
I need to instal jsp in a sun server with solaris 8.0. I belived that
Apache + GNUjsp1.0 + jdk 1.2 + ApacheJserv is a good election, but
somebody tell me that ApacheJserv to present probles with Solaris. Can
anybody help me in this moment the server is under Linux Redhat 6.2
Could any one of a million things. Does the JSP app not display this
behavior on other app servers?
Last time I saw this happen, the developer forgot to write code to close
JDBC connections each time he opened them. So after a while, the database
connection pool was getting used up and
Anybody know how to make Tomcat (3.x or 4) use Jikes for compiling JSP's?
Also, is there an easy way to precompile JSP's using Tomcat?
thanks-
jmc
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
You can also say:
import java.sql.*;
import java.util.*;
import java.util.Date;
Date date = getDate(...)
(*Chris*)
- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001 10:11 AM
Subject: Re: [JSP-INTEREST] Date() giving
What I recommend is either Orion or the use of Jetty + JBoss. Orion is full
J2EE compliant (minus some minor bugs) and is free for all use except
production which will set you back a mere $1500 per server (not cpu). Orion
is used by Oracle in their 9i product so you can be sure its a pretty solid
Based on Josh's comment, I thought a bit more about this issue, and looked
at the finalized JSP 1.2 specification. Although Sun still has one example,
which uses a shortname (myPRlibrary), I noticed something that others may
find interesting. Since in JSP 1.2, the emphasis seems to be to
Steve Bang wrote:
According to the JSP 1.1 specs, the description of the taglib-uri setting
can be a short name. In both the Sun spec and in WebLogic docs, they give
examples of using short names, such as myPRlibrary (in the JSP 1.1 specs)
and myTLD (in WebLogic docs). And, Hans uses
N.Arun Kumar wrote:
Hello,
Can any one tell me the difference between URI URL .
If I interchange the two while using in taglib what is the effect.
URI is an acronym for Uniform Resource Identifier, which basically means
any old string that uniquely identifies a resource within some
Found
one, here it is: properties file comes first:
log4j.rootCategory=info, stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#
Pattern to output the caller's file name and line
Has anyone tried capturing a user's history, capturing where they've been as
they work their way through an application. In turn, I would like to create
a breadcrumb trail of navigation, giving them the ability to go back to
any part of their work in the application for a particular session.
Unfortunately Tomcat is a simple Servlet and JSP Engine and
does not have an ejb context to support ejb's.
- Original Message -
From:
Jason Au
To: [EMAIL PROTECTED]
Sent: Tuesday, October 30, 2001 3:07
AM
Subject: can Tomcat support EJB or
JavaBean
To
Steve Bang wrote:
Based on Josh's comment, I thought a bit more about this issue, and looked
at the finalized JSP 1.2 specification. Although Sun still has one example,
which uses a shortname (myPRlibrary), I noticed something that others may
find interesting. Since in JSP 1.2, the
Yes..we have. It can be easy or hard, depending on some situations. For
example:
a | b | c | d
If they are on page d, then click on b, potentially they can modify
something on page b that may alter how page c (and then d) are displayed.
Therefore, while it isn't difficult to allow them to go
best way is to maintain stackcreate a stack object and keep placing the
files in that like
o_Stack.push(sessObj.getValue(TerminatingJSP)); and then retrieve them
accordingly! it will be LIFO as u might have guessed!
Rgds
Mariappan
Ph.: 6256437 Extn.: 321
-Original Message-
From:
In Tomcat 4.0 look at the $CATALINA_HOME/conf/web.xml file. In there look
for the word Jikes and you will see the necessary configuration
information on what parameters you need to set.
For jsp pre-compilation, take a look at the jspc utility available with
Tomcat.
Justy
- Original Message
It's been a while since I did socket programming but if you setup your
socket as follows:
InetAddress localAddress = InetAddress.getLocalHost();
int localPort = 5000;
Socket sock = new Socket(destinationAddress, destinationPort, localAddress,
localPort);
System.out.println(Socket: +
I have seen this approach, but I frankly don't see how it is any easier, as
well as it adds more objects than what I proposed. I say this mostly because
when you get to page C you almost always got there by way of page b. The
stack on page C would be a, b and c (c refreshing itself basically, or
Hi,
I have a MySQL relational database with two tables linked via primary key. I need to
look up information in the second table based on the value of the primary key in the
first table, which is being passed as part of a while loop. The relevant code follows:
// add connection parameters
You probably want to just use a more complex SQL statement. Something like:
select a.* from table a, another_table b where b.primary_key=a.primary_key;
(*Chris*)
- Original Message -
From: Erica Douglass [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001
Hi,
my requirement is to display the data on the front end without any time interval when ever the data changes in the table that perticular field of the record only must change on the front end without refreshing the entire page. (please don't recomend meta tags)
Regards
SrinivasGet your FREE
if you use some applets also the communication is from client to
server only and not from server to client. So you can go for RMI in applets ,
that would help you. But i have not tried yet..
-Original Message-From: srinivas tadikonda
[mailto:[EMAIL PROTECTED]]Sent: Thursday,
Thxhorwat, i did the same thing as u told and it works.
There's something that i missed, but not the socket method its self but
others setting.
==thx,a Java Addicted
- Original Message -
From:
horwat
To: [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 4:57
AM
Hi
Where can i find drivers or oracle extension packaqge for download
containing
oracle.jdbc.OracleTypes.CURSORS classes
for Download
Regards
Hari
I don't know, i'm sorry... I use Oracles JDeveloper (3.2) and all classes I
have I got in the installation.
I guess you may find it at
Does anyone here have any experience with building
intranets with jsp and java? Do you know of any good books or websites that
feature building intranets?
Thanks in advance.
Jason
CochranGeeWilikers.comWebsite Design, Hosting, and Consulting
Email: [EMAIL
if u r using orilley component for upload
then u can get filename
using this code
MultipartRequest mp = new MultipartRequest(request, directory path where u
want to store file);
filename = mp.getFilesystemName(fname);
bye,
- Original Message -
From: sufi malak [EMAIL PROTECTED]
To:
43 matches
Mail list logo