Re: taglib directive URIs -- short names?

2001-10-31 Thread SUBSCRIBE JSP-INTEREST N.Arun Kumar
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

Re: anyone use log4j before ?

2001-10-31 Thread Glenn Wearen
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

Tomcat: jsp : JDBC ORACLE

2001-10-31 Thread SriHari
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

Re: Tomcat: jsp : JDBC ORACLE

2001-10-31 Thread Jan Aren
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 =

Re: Tomcat: jsp : JDBC ORACLE

2001-10-31 Thread SriHari
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

Re: Beginners tutorial

2001-10-31 Thread EJB ForAll
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]

OOT:Socket Problem

2001-10-31 Thread JavaSoft
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

getRemoteHost()

2001-10-31 Thread Miao, Franco CAWS:EX
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.

sendRedirect ???

2001-10-31 Thread sufi malak
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

Re: Tab order in a JSP

2001-10-31 Thread Chris Tucker
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

Re: sendRedirect ???

2001-10-31 Thread Chen, Gin
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-

Re: sendRedirect ???

2001-10-31 Thread Richard Yee
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

Re: taglib directive URIs -- short names?

2001-10-31 Thread Josh Partlow
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

Date() giving problems in jsp

2001-10-31 Thread charu gupta
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:-

Re: Date() giving problems in jsp

2001-10-31 Thread Chen, Gin
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.*;

Re: Date() giving problems in jsp

2001-10-31 Thread Sagar Pandit
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:

Memo: How to plug WebSphere to iPlanet on Unix

2001-10-31 Thread Richard Liu
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

Re: Date() giving problems in jsp

2001-10-31 Thread Haseltine, Celeste
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 %@

Change plataform

2001-10-31 Thread Wilson E. Lozano R.
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

Re: Problem With Weblogic

2001-10-31 Thread Joe Cheng
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

Jikes with tomcat?

2001-10-31 Thread Joe Cheng
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

Re: Date() giving problems in jsp

2001-10-31 Thread Chris Pratt
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

Re: Change plataform

2001-10-31 Thread Duffey, Kevin
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

Re: taglib directive URIs -- short names?

2001-10-31 Thread Steve Bang
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

Re: taglib directive URIs -- short names?

2001-10-31 Thread Hans Bergsten
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

Re: URI vs. URL [Was: taglib directive URIs -- short names?]

2001-10-31 Thread Hans Bergsten
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

Re: anyone use log4j before ?

2001-10-31 Thread Jean-Francois Pinero
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

capturing a user's navigation history

2001-10-31 Thread Schulz Ryan C
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.

Re: can Tomcat support EJB or JavaBean

2001-10-31 Thread Atchom Bena
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

Re: taglib directive URIs -- short names?

2001-10-31 Thread Hans Bergsten
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

Re: capturing a user's navigation history

2001-10-31 Thread Duffey, Kevin
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

Re: capturing a user's navigation history

2001-10-31 Thread Mariappan Vaithianathan (CTC)
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:

Re: Jikes with tomcat?

2001-10-31 Thread horwat
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

Re: OOT:Socket Problem

2001-10-31 Thread horwat
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: +

Re: capturing a user's navigation history

2001-10-31 Thread Duffey, Kevin
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

Embedding two MySQL cnnection statements

2001-10-31 Thread Erica Douglass
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

Re: Embedding two MySQL cnnection statements

2001-10-31 Thread Chris Pratt
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

help me

2001-10-31 Thread srinivas tadikonda
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

Re: help me

2001-10-31 Thread Saravanan Thangaraju
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,

Re: OOT:Socket Problem

2001-10-31 Thread JavaSoft
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

offtopic: oracle.jdbc.OracleTypes.CURSORS package for download

2001-10-31 Thread SriHari
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

building an intranet in jsp and java

2001-10-31 Thread Jason Cochran
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

Re: question

2001-10-31 Thread bipin_jsp
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: