Re: The comparison between string and char.

2001-01-02 Thread Sachin S. Khanna
Couple of things. 1) The code which you have sent us would throw a NullPointerException as the string variable inputLine is null when you use it in the if statement. 2) Please do try to understand the difference between the == operator and the equals(String s) method, it shall relieve you of a

Re: Whats up with all these out of office replies??

2001-01-02 Thread Kevin Duffey
Well, I sent out email to 8 of the emails I got back..directly to their box. It wasn't very nice of me..but too damn bad! ;) It's amazing how some people know how to set up auto-email, but can't figure out how to avoid pissing people off on a list (or lists) they may require help from.

Re: The comparison between string and char.

2001-01-02 Thread Panos Konstantinidis
You cannot compare String like this. Use the "equals" keyword instead. For example : if (mystring.substring(something).equals(somethingElse) ) Hope this helps. From: Jean Chiang(¦¿²Q§g) [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and

That declaration tag

2001-01-02 Thread Dan Tillin
As I understood the spec, anything between %! % declaration tags is processed at compile time not request time. This means that declaring a field in a declaration tag will result in your JSP having a variable with that data. This would result in you seeing the original values when you load a

Re: Whats up with all these out of office replies??

2001-01-02 Thread G.Nagarajan
I sent out email to 8 of the emails I got back..directly to their box Did it work? You would have got 8 auto-replies :-) I don't know how many I will get for this mail. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

Re: JSP-INTEREST Digest - 28 Dec 2000 to 29 Dec 2000 (#2000-286)

2001-01-02 Thread Dan Tillin
Set the scope in the page directive to session for all your JSPs (%@page language="Java" session="true"%). The data held in the session object will be available for all JSPs and servlets within a given user's session.

[Question] About SWING APPLET(JApplet) with Code Signing

2001-01-02 Thread ???
- Original Message - From: "SEUNG-IL, CHOI"[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 02, 2001 4:05 PM Subject: Fw: [Question] About SWING APPLET(JApplet) with Code Signing Hello All ! Our Development System(java based Web Application)for which Clients Browser are

A EJB Problem

2001-01-02 Thread shashi bhusan
Hi All!! Happy new Year! I have a question in EJB. What is the use of Primary Key class in EJB. Is it must ?. Shashi _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

web.xml

2001-01-02 Thread Marina Kalkanis
Hello All, I use Tomcat and am having problems correctly formatting the web.xml file. I have added an entry for a taglib but then I get a parse error in my jsp when attempting to use the taglib. If I remove all the other entries from the web.xml except the taglib entry then the parser doesn't

Re: A EJB Problem

2001-01-02 Thread bahram Sheibani
Hi when u have more than one field as a primary key , u have to get a class ! regards bahram === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body:

Re: web.xml

2001-01-02 Thread Kevin Jones
You haven't closed the tags properly taglib taglib-uri/testtagstaglib-uri taglib-location/WEB-INF/taglib.tldtaglib-location /taglib should be taglib taglib-uri/testtags/taglib-uri

ErrorPage

2001-01-02 Thread Matthias Müller
Hy, i have a problem with an Error Page. When an Error occures i become the following message: Any Ideas ? Thanks in advance for your help. Matthias java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained at

Re: Servlets v. JSP

2001-01-02 Thread Sandarbh Sharma
hi all, follow this link to get more details on the debate http://www.servlets.com/soapbox/problems-jsp.html sandarbh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: web.xml

2001-01-02 Thread Marina Kalkanis
Sorry I did fix that error but have sent the original version. Even with the tags correctly closed I still get parse errors. -Original Message- From: Kevin Jones [mailto:[EMAIL PROTECTED]] Sent: 2 January 2001 13:03 To: [EMAIL PROTECTED] Subject: Re: web.xml You haven't closed the

Re: How to disable Back on Browser?

2001-01-02 Thread Sandarbh Sharma
script language=JavaScript var message="Sorry, right click function disabled"; function click(e) { if (document.all) { if (event.button==2||event.button==3) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) {

Maximum size of file uploads?

2001-01-02 Thread Risto Reinpld
Hi, Does anybody know whether it is possible to limit maximum size of file upload in Tomcat. At the moment, if I try to upload file larger than 1MB the server gives me an error "Cannot find server or DNS Error". On what this size is dependent on? Thanks, Risto

Re: ErrorPage

2001-01-02 Thread Rui Santos António
You probably have already written something to the "outputStream". Check out the "jsp:forward" tag's reference (i assume this is what you're using) : "... if the output is not buffered (page directive with buffer=none) and if anything has been written to the buffer, using jsp:forward results in

Re: How to disable Back on Browser?

2001-01-02 Thread Kemei Zou
Would you mind providing the examples to show how to use the JavaScript function below. I mean when am I support to call this function. Thanks in advance. -Original Message- From: Sandarbh Sharma [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 11:40 AM To: [EMAIL PROTECTED]

Re: Maximum size of file uploads?

2001-01-02 Thread paul
What are you using to process the uploaded file? I know that on the O'Reilly class there are two methods. One where you specify the max size and one where you don't. On the one where you don't the max size is 1M. Perhaps this is your problem? Hi, Does anybody know whether it is possible

Re: Maximum size of file uploads?

2001-01-02 Thread Sandarbh Sharma
is it working fine for size 1MB From: Risto Reinpõld [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Maximum size of file uploads? Date: Tue, 2 Jan 2001 18:40:28 +0200 Hi, Does anybody know

Re: How to disable Back on Browser?

2001-01-02 Thread Bozidar Dangubic
this function disables right-click BACK, not Back button on the Browser. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sandarbh Sharma Sent: Tuesday, January 02, 2001 11:40 AM To: [EMAIL PROTECTED]

Beginner JRun question

2001-01-02 Thread Scott Burkey
How do I tell where I can put .jsp files on my IIS machine so that they will work? Running IIS on Win2k with JRun Server and JRun Studio Thanks. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

about SingleThreadModel

2001-01-02 Thread Dawei Jiang
Hi, All: I am woking on an existing Servelet code. That Servelet implements SingleThreadModel interface. This cause a big performance problem, because it appears that each new request must wait untill all previous requests finish. Every single thread seems to be queued up. If I remove that

IPlanet Cache Control

2001-01-02 Thread Eduardo Alves Côrtes
Hi people, I am having a problem with the IPlanet cache-control. I change my JSP files and receive the same response. Even I set to no-cache the cache still creating the same problem. Anyone know if it's a BUG or a CONFIGURATION ERROR? Thanks, Eduardo Alves Cortes Neoris MLab - Analista de

Re: IPlanet Cache Control

2001-01-02 Thread Kemei Zou
Try the following, Go to "iPlanet Server Manager", Select "Servlets", then "Configure Global Servlet Attributes", set "Reload Interval" to 1. -Original Message- From: Eduardo Alves Côrtes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 1:58 PM To: [EMAIL PROTECTED] Subject:

How to set resultSet size

2001-01-02 Thread S. Chen
Happy New Year to All! Hi, I have a JDBC question. I have a database and I need to retrive the latest 100 transactions into my jsp page. I am planning to do it this way: String query = "select * from table1 order by trans_date desc"; ResultSet rs = stmt.executeQuery(query); int count=0; while

Re: How to disable Back on Browser?

2001-01-02 Thread Bhushan Bhangale
Hi This is my first mail to this forum. Only two days before I subscribed to this mailing list. Here is a tricky solution to your problem. script language=JavaScript window.history.forward(1); /script This will disable the browser menu back button as well as the back menuitem of the

debugging JSPs

2001-01-02 Thread Kunal Bhowmick
Hi all, Any idea on how to debug JSPs in JBuilder. mon __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ === To unsubscribe:

Re: Maximum size of file uploads?

2001-01-02 Thread Bhushan Bhangale
Hi I know little about Tomcat. What type of upload you are talking about. Is it a Tomcat inbuild method to upload files. cheers Thanks Regards Bhushan Bhangale http://www.bbhangale.com -Original Message- Hi, Does anybody know whether it is possible to limit maximum size of file

Re: The comparison between string and char.

2001-01-02 Thread Bhushan Bhangale
Hi Hey Jean only Sachin has given you the right solution. He is right that you will get a NullPointerException according to your sample of code. But I think probably you have missed one line which should be : % BufferedReader in = new BufferedReader( new

Re: How to set resultSet size

2001-01-02 Thread Michael Sweeney
This is actually a SQL question instead of JDBC - if your database engine supports it, you can use the LIMIT parameter to your select query which will limit the result set to the specified number of responses. Check your database engine documentation for details. Michael At 12:32 PM 1/2/01

Re: How to disable Back on Browser?

2001-01-02 Thread Bozidar Dangubic
I do not need this functionality ... but I tested your little trick ... and it is no good. both right-click back and browser back button are operational. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of

Newbie Configure Questions

2001-01-02 Thread Ed Swartz
Hi, I'm quite new to JSP, etc. and need some help on configuring Tomcat. I've managed to download and install Tomcat and Apache and have done some configuration. I'm able to start Apache and Tomcat successfully. I created a new sub dir 'myapp' off of TOMCAT_HOME\webapps\examples\jsp and then

Re: Help!!!!!!!!!!!

2001-01-02 Thread Christian Hamann Linares
Friend!! My pics are of 1KB each one.. so i can put in my Database and i think that these will be easy to open.. there is any way ? atte Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Straight, Christian

Re: web.xml

2001-01-02 Thread Kevin Jones
If I create a new app and put your web.xml in then I get this error 2001-01-02 08:04:36 - Ctx( /jobs ): Mapping with unregistered servlet invoker which may be a difference between our setups, but the xml parses fine, Kevin Jones DevelopMentor www.develop.com -Original Message- From:

Re: Newbie Configure Questions

2001-01-02 Thread Richard H. C. Seabrook
Try creating a subdir under $TOMCAT_HOME\webapps\ROOT called ED and stick an index.html in there which points to your .jsp file. Then you should be able to hit the index.html page with http://localhost:8080/ED Good luck.. Dick S. At 02:30 PM 1/2/01 -0500, you wrote: Hi, I'm quite new to JSP,

Re: Help!!!!!!!!!!!

2001-01-02 Thread Scott Burkey
I have found repeatedly the best thing to do is to store the images on the server and put the path to them in the field in the db. It's not the size of that pictures that are the problem, it's the fact that they are images and that data type is tricky. I just point to them from the database as

Re: How to disable Back on Browser?

2001-01-02 Thread Bhushan Bhangale
I don't know whether you need or not, but it works fine in both IE and Netscape browsers. I used it many number of times. -Original Message- I do not need this functionality ... but I tested your little trick ... and it is no good. both right-click back and browser back button are

Re: Beginner JRun question

2001-01-02 Thread Mahesh Chhatlani
If u want to start with minimum fuss and use jsp for testing right away, use "jrun\servers\default\default-app" directory. Any jsp files stored there are automatically executed. Read the JRun docs, where u can configure using the "Admin sign on" to run jsp from a directory you create. --mahesh

A EJB Problem

2001-01-02 Thread Bhushan Bhangale
Hi Shashi Primary Key Class is used to define all the primary keys for that table. But its not must. I know some one with that name. Do you know me ? Thanks Regards Bhushan Bhangale http://www.bbhangale.com ---Original Message Hi All!! Happy new Year! I have a question

performance number

2001-01-02 Thread Pankaj Jain
Can someone please point me to the performance number for different servlet engines(especially for sun-solaris)? best, Pankaj === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest:

Re: Servlets v. JSP

2001-01-02 Thread Craig R. McClanahan
"Duffey, Kevin" wrote: As above, it is not forced. In fact, you as a page developer have the right to tell the JSP compiler to use your own base class, instead of its own, if you want to: %@ page ... extends="com.mycompany.MyJspBaseClass" ... % However, you are explicitly

Re: A EJB Problem

2001-01-02 Thread prashant kadam
if your primary key type is of type String or one of the wrapper class type u dont need to define it... But if it is a compound primary key i.e returning combination of two columns from a table u need to define Primary key class From: shashi bhusan [EMAIL PROTECTED] Reply-To: A mailing list

Re: How to set resultSet size

2001-01-02 Thread S. Chen
Sorry for my ignorance, but where can I check the database engine documentation? From: Michael Sweeney [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to set resultSet size Date: Tue, 2

Re: How to set resultSet size

2001-01-02 Thread List Resident
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit "S. Chen" wrote: String query = "select * from table1 order by trans_date desc"; [...] while (rs.next() count 100) { [...] The problem is soon enough there will be over 10,000 transactions

Re: Servlets v. JSP

2001-01-02 Thread Duffey, Kevin
Trust me Craig..I'll stick to the standards!! :) No rolling my own compiler here. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 2:19 PM To: [EMAIL PROTECTED] Subject: Re: Servlets v. JSP "Duffey, Kevin" wrote: As

Re: Whats up with all these out of office replies??

2001-01-02 Thread T A Flores
And if that wasn't enough you have the S.L.U.Gs (selfish, lazy, useless, gobers)that want their knowledge spoon fed to them by those of us who have taken the time and effort(of course, not to forget the hair that we pulled out of ours heads) learning and perfecting our craft. - Original

Re: Beginner JRun question

2001-01-02 Thread Pete Ehli
JRun plug into IIS just like tomcat. Unlike Tomcat JRun comes with a huge amount of documentation in the docs directory. You need to read and figure it out. Asking where your files go in a web application is like asking where the start button is in windows. I started out with JRun and have moved

Re: debugging JSPs

2001-01-02 Thread M. Simms
You MUST use the built-in Tomcat 3.1 servlet/JSP engine.no other versions work...yet. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Kunal Bhowmick Sent: Tuesday, January 02, 2001 1:34 PM To:

Re: Maximum size of file uploads?

2001-01-02 Thread Risto Reinpõld
To problem I think is that the web server sees that the content length is too big and cancels the transfer, so that the servlet does not get a change to process anything. I am using my own jsp page for file upload reading the content line by line. With smaller files it works fine. -

Re: Maximum size of file uploads?

2001-01-02 Thread Risto Reinpõld
To problem I think is that the web server (Apache in my case) sees that the content length is too big and cancels the transfer, so that the servlet does not get a change to process anything. I am using my own jsp page for file upload reading the content line by line. With smaller files it

Re: Maximum size of file uploads?

2001-01-02 Thread Ramesh, Kesav
hey we have a separate application using oreilly's class but care should be taken that when you are uploading the files you are going to send that uch thru the req object. it works well for size 10 mb.see oreilly for much details about this class /** * A utility class to handle

Code Security.

2001-01-02 Thread Bhavesh Vakil
Hi to all, In my project, I use JSP pages + several Beans (Process bean, Database bean, Session control bean, etc). This all beans is simple classes (.class file). My all main logic is in this beans, when I distribute this application to client, then I only distribute JSP pages + Beans (only