AW:

2001-08-16 Thread Cossmann, Alexander
-Ursprüngliche Nachricht- Von: Cossmann, Alexander [mailto:[EMAIL PROTECTED]] Gesendet am: Freitag, 17. August 2001 08:29 An: [EMAIL PROTECTED] Betreff: AW: -Ursprüngliche Nachricht- Von: Jerrin Jos [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 16. August 2001 18:03 An: [EMA

AW: Error in setting error-code in web.xml

2001-08-16 Thread Cossmann, Alexander
-Ursprüngliche Nachricht- Von: bipin_jsp [mailto:[EMAIL PROTECTED]] Gesendet am: Freitag, 17. August 2001 07:27 An: [EMAIL PROTECTED] Betreff: Error in setting error-code in web.xml Dear All, I want to set when client makes request from xxx.jsp that jsp is not in our list then it wil

AW:

2001-08-16 Thread Cossmann, Alexander
-Ursprüngliche Nachricht- Von: Jerrin Jos [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 16. August 2001 18:03 An: [EMAIL PROTECTED] Betreff: How can we implement Push Technology in jsp? regds Jerrin ibs === To

Error in setting error-code in web.xml

2001-08-16 Thread bipin_jsp
Dear All,   I want to set when client makes request from xxx.jsp that jsp is not in our list then it will display the error-page.   so i set in web-xml like     404     /404.jsp   and place 404.jsp in our application with jsp. sometime it works and sometime it didn't works.   anyone know

Building Jsp Application

2001-08-16 Thread SriHari
Cheers all Can any one tell me how to build webapplication archive using ANT tool === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTE

Re: EJB and Tomcat

2001-08-16 Thread xgao
- Original Message - From: "Nguyen, Thang P" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 4:48 AM Subject: EJB and Tomcat > Hi, > > I would appreciate if you drop a few lines on your experience using EJB with > Tomcat (especially the EJB(s) for accessing da

Re: EJB and Tomcat

2001-08-16 Thread xgao
- Original Message - From: "Christopher K. St. John" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 6:16 AM Subject: Re: EJB and Tomcat > "Nguyen, Thang P" wrote: > > > > I would appreciate if you drop a few lines on your experience using EJB with > > Tomcat

WebLogic 6.0

2001-08-16 Thread Sharath Paul
Hi friends, I have just started working on WebLogic Server and am not able to find out where to place my JSP/Servlet files in the weblogic directory of the domain that I use. Please help me out! Regards, Sharath === To uns

Oracle forms to Java

2001-08-16 Thread Cathy Mousavi
Does anyone know of any good source related to migrating oracle form to java? Thanks in advance... === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body

Re: Encryption tips

2001-08-16 Thread Foster Allison
Vivek, Try www.OpenJCE.org or Sun's JCE implementation. -al > -Original Message- > From: vivek tiwari [mailto:[EMAIL PROTECTED]] > Sent: Friday, 17 August 2001 1:36 > To: [EMAIL PROTECTED] > Subject: Encryption tips > > > Hi All , > > I want to use encryption to encode sensitive > infor

Re: EJB and Tomcat/Servlet and JSP

2001-08-16 Thread Nguyen, Thang P
First, would like to thank Christopher for pointing me to EJB sources. Secondly, I have another question, if I want to build a web application, mainly to access the database (delete/add/modify, etc). Should it be good enough if I put these codes inside servlets, in other words, use servlets to c

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Harendar Bozza
hi to all, in my application ,i need to the user to input dates into html form. user will be asked to put the from date and to date and even the specific times.this information will be inserted into database(oracle 8i). this information is very important. can anyone help me how to parse this i

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Haseltine, Celeste
David, Dates are very difficult to handle in Java, compared to other languages/development environments, in my opinion. Having said that, have you looked into some of the free shareware tag libraries out on the net? The Jakarta project has some, Orion has some also. I don't know if the tag libr

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Jann VanOver
Check out java.text.SimpleDateFormat It is one of my BEST FRIENDS! Used something like this: static SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/"); ... Date myDate = new Date(); ... out.println(sdf.format(myDate)); -Original Message- From: Rice, David [

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Chris Pratt
Basically get a Calendar instance using Calendar.getInstance() then use the Calendar.setTime() [strangely named] method to set in the Date (either java.util.Date or java.sql.Date/Time/Timestamp will do). Once that is done you can use the Calendar.get() method to get any piece you want. Calendar.g

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Rice, David
Chris, Unfortunately, I do have to parse dates to extract needed information. The app I'm building is a log analysis tool that expects not only the complete timestamp, but also needs the day_of_week, day_of_month, et cetera, broken out. We take that information, along with other environment va

Re: URL reading

2001-08-16 Thread Chris Pratt
Check the REFERER header (note it's mispelled on purpose). (*Chris*) - Original Message - From: "Duffey, Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:39 PM Subject: Re: [JSP-INTEREST] URL reading > That doesn't get the JSP or HTML page that ac

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Chris Pratt
The best way is to use PreparedStatement's and the setDate/setTime/setTimestamp methods. Then you don't have to parse the dates at all. (*Chris*) - Original Message - From: "Rice, David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:20 PM Subject: [JSP

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Geert Van Damme
for a good overview of Date and Calendar: check out http://www.mindprod.com/calendar.html However, for parsing a Date, check out the java.text.DateFormat Class. Geert Van Damme > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMA

Re: URL reading

2001-08-16 Thread Duffey, Kevin
That doesn't get the JSP or HTML page that actually made the call. I think the idea is to get the exact page that the call is coming from, so if any error occurs, you can forward back to the calling page. In my MVC framework, I wanted to do a similar thing..so that if for some reason no mapping ex

Re: URL reading

2001-08-16 Thread Jann VanOver
"http://"+request.getServerName()+":"+request.getServerPort()+request.getCon textPath() -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 5:07 AM To: [EMAIL PROTECTED] Subject: URL reading Hi All, How can read the URL of a page. Some m

Using DATE and CALENDAR objects...

2001-08-16 Thread Rice, David
All, I need to parse dates for some DB insertions we're doing. the specifics aren't really important. Does anyone know of a good tutorial on using the DATE and CALENDAR objects? Any help or advice will be greatly appreciated. "A man has truly began to discover the meaning of life when he plant

Re: Learning servlet before start learning JSP

2001-08-16 Thread Rice, David
Aftab, I am new to JSP/Java as well, so take this reply with a grain of salt, please. I have found through my research and coding the various examples I have used from numerous books/online references that JSP, Servlets and Beans work hand in hand for the most part. If one is doing enterprise

No Subject

2001-08-16 Thread Jerrin Jos
How can we implement Push Technology in jsp? regds Jerrin ibs === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some rel

Re: Pre compiled jsp's

2001-08-16 Thread Haseltine, Celeste
SriHari, I'm not sure why you would need a tool to reverse engineer a servlet back to a JSP. Remember that a JSP is just a RAD (Rapid Application Development) way of creating a servlet, and your JSP server will compile that JSP into a servlet. Unless you are doing something unique, you should b

Encryption tips

2001-08-16 Thread vivek tiwari
Hi All , I want to use encryption to encode sensitive information. What is a good Third Party tool or freely available software/API that I can use for this. Anyone has used any of this before ? Thanks __ Do You Yahoo!? Make international calls

Invoking shell script in a JSP

2001-08-16 Thread vivek tiwari
How can I invoke a shell script through a jsp page? A solution given earlier in the forum does not work: import java.io.*; String cmmd="ls -l "; Runtime rt = Runtime.getRuntime(); Process p = rt.exec( cmmd ); if( p.waitFor() != 0 ) { System.out.printl

Re: pls recommend a good book for java & xml.

2001-08-16 Thread Shah, Urvesh (CAP, GEFA Contractor)
"JAVA and XML" from O'Reilly, ISBN# 81-7366-148-0. Regards, Urvesh B. Shah. Patni Computer Systems Ltd. -Original Message- From: ivy chen [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 12:43 PM To: [EMAIL PROTECTED] Subject: pls recommend a good book for java & xml. There

Internationalization Issue

2001-08-16 Thread vivek tiwari
I an designing a web page using JSP which has several text boxes. It is to be used in both English and Chinese locales. So the input can be in Chinese or English charset. Value entered is captured using request.getParameter("txtBoxName"); After that it is stored in Oracle database table. "Inser

Re: URL reading

2001-08-16 Thread Anubrata Chowdhury
Try "http://"+request.getHeader("host")+ request.getRequestURI() thanks Anu Alireza Nahavandi <[EMAIL PROTECTED]> wrote: >Hi All, >How can read the URL of a page. Some methods like getRequestURI(), >getRequestURL(...), ... return the full path of the calling program. > >Thank you. > >

JSP Page directive vs HTML META tag

2001-08-16 Thread Peter Claesson (EUS)
Title: JSP Page directive vs HTML META tag Is the JSP Page directive, more specifically, <%@page contentType="text/html; charset=tis-620"%> be equivalent and substitutable with HTML tag The reason for asking is that I need to use Thai characters for all platforms, Windows, Unix, and Mac.

Re: URL reading

2001-08-16 Thread Tuan Trinh
HttpUtils.getRequestURL(request) will get you the URL of the page making the request. - Original Message - From: "Alireza Nahavandi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 5:06 AM Subject: URL reading > Hi All, > How can read the URL of a page. S

How to set Admin permission in RdbmsRealm

2001-08-16 Thread SUBSCRIBE JSP-INTEREST N.Arun Kumar
Placed At : Hello, I need to reset the connection pools of a Weblogic 5.1. The application uses RdbmsRealm for authentication.I am using certain API's of weblogic to reset the connection pools. But I am getting an exception as follows jav

URL reading

2001-08-16 Thread Alireza Nahavandi
Hi All, How can read the URL of a page. Some methods like getRequestURI(), getRequestURL(...), ... return the full path of the calling program. Thank you. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-

Re: printer friendly pages

2001-08-16 Thread sufi malak
Here is an asp version of printer friendly pages in : http://coveryourasp.com/PrinterFriendly.asp It will be very appreciated if someone can translate it to jsp . thanks. >From: "Haseltine, Celeste" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >referen

Pre compiled jsp's

2001-08-16 Thread SriHari
Hi Hari here Does all servers support Precompiled JSP's is there any tool that convert Precompiled jsps / _java files to jsp's (jsp reverse engineering) I am working on both iPlane and Tomcat server for my application how safe are these pre compiled jsp's ? Thanks in adv Sri Hari ==

Re: Learning servlet before start learning JSP

2001-08-16 Thread CHAKCHOUK, Anis
Hi, It's very important to have a small idea about servlet before learning JSP. -Message d'origine- De : Aftab Ahmad [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 15 août 2001 11:29 À : [EMAIL PROTECTED] Objet : Learning servlet before start learning JSP Hello Is it necessary to learn

SELF

2001-08-16 Thread Dinesh Somasundram
Hi There, How do I get the value of the currentpage? Is there something like a "SELF" variable that I can read? Thanx, === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAI

Right way to deploy same classes into multiple web-apps?

2001-08-16 Thread Kevin Duffey
Hi all, I am deploying five web-apps in one application. I have a single /src dir that is built into one app, then copied to the other four apps. All five apps use the same classes. First, I am wondering if this makes sense to copy the compiled classes to each web-app, or if there is a "central"