Re: request.getRemoteAddr()

1999-11-07 Thread Phil
dynamically assigned from a pool. It appears these IPs do not have DNS host names. Is there a way to get domain names to which IP pools are assigned? Phil -Original Message- From: Craig R. McClanahan <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Saturday, N

Re: JSP Books

1999-11-15 Thread Phil
#x27; book, goto: http://www.the-wally-project.org/twp.jsp?cp=devbooksgoodwill I'll keep you posted. Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be

Re: here is ur JSP BOOK

1999-11-16 Thread Phil
have jsp sections. The problem will be getting an existing text that covers current specs. Learning 0.92 may be less than satisfactory. If I were buying a text for the jsp section, I think I'd wait (^: much better will be along soon. :^)   Phil   -Original Message-From: Ganesh

Re: here is ur JSP BOOK

1999-11-16 Thread Phil
>Try http://servlet.com Not sure, but I think you mean http://www.servlet.com, and more specifically their developers section: http://www.servlet.com/devdoc.jhtml Phil === To unsubscribe: mailto [EM

JSP & Servlet Sites

1999-11-17 Thread Phil
If anyone knows of JSP or Servlet sites, especially those with educational/tutorial content,  or a JSP/Java related book site, please send us the url so we may add them our resource lists.   (^: As a friend of mine says, Go Java!!! :^)   Phil    

Re: JSP & Servlet Sites

1999-11-17 Thread Phil
ome online, soon. From recent postings, many in the group seem interested in these announcements. I certainly am. Thanks for your input. Please forgive my poorly phrased request. Phil -Original Message- From: David Mossakowski <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROT

Re: attachments and viruses

1999-12-01 Thread Phil
owing they are infected does not excuse risking the rest of us. Consider it prophylaxis. I vote for no attachments sent to the group. Phil -Original Message- From: Kirkdorffer, Daniel <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, December 01,

Re: Using out.println to write on the browser - Doesn't Work !!!

1999-12-02 Thread Phil
igned to a nested instance of JspWriter. if so, what problems may this cause? The spec also says, "Jsp authors are prohibited from writing directly to... the PrintWriter... associated with the ServletResponse." Does this pose a problem with Ken's suggested code? I don't kno

Re: What's the use of [ tag]?

1999-12-06 Thread Phil
cluding: <% MyBean mybean = new MyBean() ; mybean.setSomeVar( "somevalue" ) ; %> So, why use JSP tag ? Phil -Original Message- From: Cory L Hubert <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, December 06, 1999 7:25 AM

Re: JSP .92 vs 1

1999-12-06 Thread Phil
> Migrate now while (presumably) your code base is small. We configured our server to parse .jsp files through the .9x parser and .jsp1 files through the 1.0 parser. This may ease pressure of migrate-headaches. P

Testing for java enabled browser

1999-12-20 Thread Phil
on this issue.)   (Along this line, I saw a site stat indicating that some 97% of browsers are java enabled. Is this close to accurate?)     Phil  

Re: Check this

1999-12-21 Thread Phil
Another vote for no-attachments to the group? Phil -Original Message- From: Paul Warner <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, December 21, 1999 10:18 AM Subject: Re: Check this >The "Check This" virus lives on... I hope

Re: offtopic:JavaScript & Security

1999-12-21 Thread Phil
eem interested in the topic. Please consider posting your replies to the group. Phil -Original Message- From: Radhakrishnan, Sanjay (c) <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, December 21, 1999 9:56 AM Subject: Re: offtopic:JavaScript &

Re: Complaint

1999-12-22 Thread Phil
> What Sun *could* do is set their mailing list software to not > allow attachments. Another vote for no attachments... May we take a consensus? Maybe Sun will listen, this time. Phil > And maybe messages with more than two > sequential exclam

Attachments?

2000-01-06 Thread Phil
This is getting old.   How may we, as a group, request Sun to block ALL attachments?   Phil

Re: Check this - annoying

2000-01-08 Thread Phil
their "no attachments" policy by filtering attachments? Phil p.s. Do you really think your virus detection software is so good as to anticipate viruses yet developed? -Original Message- From: Williams, Wes <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECT

FTP methods

2000-01-11 Thread Phil
k you in advance for your thoughts.   Phil     

Re: FTP methods

2000-01-14 Thread Phil
? We'll test for Netscape 3.0/IE4.0 browser compatibility.)   Any other ideas on classes or tutorials that implements an FTP style upload ( bypassing any drawback of POST uploads), would be greatly appreciated.   Thank you in advance for all your thoughts.   Phil   -Original Messa

Periodic getRemoteHost() results

2000-01-19 Thread Phil
-times request.getRemoteHost() produced no results. The last three, beginning at 07:49, began to capture a host name. Other than this example, results appear random.   Thoughts?   Phil  

JSP test for image size?

2000-01-21 Thread Phil
We have a JSP which loads and displays random gif format images. The images vary in sizes. We want to determine height, width dimensions and make some adjustments in our html tag.   Is there a Java, or other, method to determine the size of an image (gif) file?   Phil

history.back() stack

2000-01-29 Thread Phil
k( -2 ). otherwise we want history.back( ).   I think we need an enumeration of the history stack -- haven't found such a method...   Thoughts?   Thanks guys. (Thanks also for the interesting discussion on Jason's new article.)   Phil  

Nested and

1999-04-22 Thread Phil Thomas
these tags not allowed in the JSP .92 spec? Thanks in advance, Phil Thomas === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send

setAttribute and callPage

1999-05-18 Thread Phil Windley
I'm trying to use setAttribute and callPage but I can't find them. They should be in the com.sun.server.http.HttpService{Request,Response} extensions to the javax versions but they don't seem to be there with JSDK2.0 (looking at the jsdk.jar file). What am I mi

bean introspection order question

1999-05-25 Thread Phil Windley
I've got a JSP (GnuJSPp-0.9.8 on Apache-JServ-1.0b2) that has a number of form elements in it and calls itself via a post. The page uses a bean and introspection to store and retrieve the bean properties in the form. The page also has a submit button named "action" and a corresponding bean metho

JRun - Simple Question.

1999-12-02 Thread Phil Swenson
JRun set up so it can find the servlet.  What do I have to do?  & Where do most people put their servlets?   I'm not hugely thrilled with JRun's docs and that you have to pay for tech support from Allaire.  Is ServletExec any better?   Thanks for any help.   Phil

Jrun/IIS - Figured it out

1999-12-02 Thread Phil Swenson
Ok, I called Allaire and we figured out the problem. I didn't have the virtual Scripts directory for my site. It was that simple. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP c

Servlet deployment

1999-12-03 Thread Phil Swenson
This isn't a strictly JSP question: if you have multiple web servers for scalability, where are you storing your JSPs and Servlets (or for that matter your HTML data)? Are you duplicating the files across all your servers? Do you store your files on a network drive that all the web servers have

Hackers - how to stop?

1999-12-07 Thread Phil Swenson
Hackers can write bots to, for instance, hit an order page and submit false data over and over using a session for every hit. Eventually the system will run out of sessions. I'm thinking of using JSPs calling beans that use JDBC for the database interaction...how do I deal with the problem I jus

Error getting compiled page

1999-12-16 Thread Phil Festoso
;java" import="java.sql.*" %> This is the first jsp line in the file. The remaining jsp is a scriptlet that establishes a con to the db and executes a simple select query. I have the latest/greatest jswdk and jspengine.jar is included in the websphere classpath. What am I missing? Than

Re: ODBC error

1999-12-16 Thread Phil Swenson
You've probably got a "ResultSet result" and are calling something like "result.getInt ("INT_COL")you need to call "result.next()" before the first time you try to access the data. - Original Message - From: Rathinam Manikodi <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

importing my own classes

2000-01-05 Thread Phil Bartholo
Is there any piece of code I can use within the JSP to instruct the compiler to look at a specific directory for classes? Thanks, Phil -- ***** Phil Bartholo Java Software Division Sun Micros

problem importing my own classes

2000-01-05 Thread Phil Bartholo
Is there any piece of code I can use within the JSP to instruct the compiler to look at a specific directory for classes? Thanks, Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST&q

reloading classes used by jsp

2000-01-10 Thread Phil Stevens
My jsp pages import several classes that I wrote myself. However, when I make changes to the classes, the jsp pages still use the old versions of them even though they are no longer on the file system. It seems like once they're loaded, they are never again checked to see if they've been changed.

import problem

2000-01-10 Thread Phil Swenson
I have code in a package that I'm trying to import into a JSP using JRun on IIS. The class I'm trying to import is "com.cafepress.util.StringUtil". Here is the code: <%@ page import="com.cafepress.util.StringUtil" %> <% String b = "hello"; b = StringUtil.doubleChar('h', b); out.println(b);

Re: import problem

2000-01-10 Thread Phil Swenson
OK, forget it. All I had to do was stop the JRun service and restart it and then it picked up the class path. Stupid me - Original Message - From: Phil Swenson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 10, 2000 3:24 PM Subject: import proble

JDBC Problem

2000-01-10 Thread Phil Swenson
I'm running JRun on IIS 4.0... I'm getting the following exception: "Error verifying store existence. [Class: com.cafepress.bizobj.Stores, Method:Exists] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified " when hitting SQL Server thru a class called by a

Another JSP Session scope question

2000-01-14 Thread Phil Swenson
I have a class "StoreManager" with a static method "public static Store getStore(String storeID)", which returns an object of type Store. I'd like to make this store object's lifespan "session". How do I do this? I don't necessarily need to use the USEBEAN tag, I actually prefer writing scriple

Session mechanism

2000-01-14 Thread Phil Swenson
For JSP/servlet sessions, what is the mechanism? Is it setting a cookie to do the sessions? (I'm using JRun if that matters) === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be

Re: Is Global Session Possible?

2000-01-17 Thread Phil Groschwitz
tart. I'm missing something basic here. I hope you can help! Thanks in advance, Phil At 10:30 AM 1/17/00 , you wrote: >Nikolas, >I don't believe that what you are asking is possible. In particular, there >is no way to keep >the same session across two different browsers

Re: Is Global Session Possible?

2000-01-17 Thread Phil Groschwitz
data from the second request. I know I've got to be missing something obvious here, but I just can't find it! I'm using IBM WebSphere 2.02. Again, thanks very much for your help! Phil At 06:09 PM 1/17/00 , you wrote: >Hi, > >I have been able to utilize the HttpSession ob

Re: null in HTML fields plus other stuff

2000-01-21 Thread Phil Swenson
I personally don't allow nulls for most things...I have a little utility method that blanks nulls (StringUtil.blankNull(String s)) that I call in all my "set" methods in my Java classes.  Using this method you will just be printing empty strings and won't see any "null" in your presentation.

Forms with ENCTYPE="multipart/form-data" - new ?

2000-01-24 Thread Phil Swenson
Has anyone dealt with stopping posts on ulta-low speed uploads? We've seen 200 bit per second upload transfers before - that takes a LONG time on a 5 meg upload. & does the class deal with the post being cancelled in the middle well? Thanks to Jason for writing the classshould save a lot of

tomcat, exception when using method=post

2000-01-29 Thread Phil Stevens
er an internal problem. Any ideas anyone? Thanks! Phil Error: 500 Internal Servlet Error: java.lang.IllegalArgumentException: Short Read at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.lang.RuntimeException.(Compiled Code) at java.lang.IllegalArgumentExce

SSL

2000-01-31 Thread Phil Swenson
ite. RSA wants some ungodly amount of money (30K + revenue sharing). Or I can get an ActiveX control for $200 and use JIntegra to call it. What other options do I have? Thanks, Phil === To unsubscribe: mailto [EMAIL PROTE

Re: SSL

2000-02-01 Thread Phil Swenson
- Original Message - From: Richard Vowles <[EMAIL PROTECTED]> To: Phil Swenson <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, February 01, 2000 12:59 AM Subject: Re: SSL > What web server are you using? > - Original Message - > From: Phi

Re: SSL

2000-02-01 Thread Phil Swenson
we also have to authorize the CC transaction/post the transaction with the bank Thanks... Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.

No Subject

2000-02-03 Thread Phil Campbell
"Referrer" ) string the current url will track a refresh... though not telling you how it was accomplished (i.e. [refresh] button or through an href link). Hope this helps. Phil -Original Message- From: Ashwani Kalra <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECT

Re: emails

2000-02-05 Thread Phil Campbell
dable send mail class.   Good luck.   Phil -Original Message-From: Aimn <[EMAIL PROTECTED]>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Date: Saturday, February 05, 2000 12:34 PMSubject: emails Hi everyone, Does anyone know how to use JSP to send

Re: uploading files

2000-02-05 Thread Phil Campbell
end you get it. Useful.   The issue of doing it with JSP is the same as with servlets -- same technology.   Phil   -Original Message-From: Aimn <[EMAIL PROTECTED]>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Date: Saturday, February 05, 2000 3:37 PMSub

Re: MS SQL Server JDBC Driver

2000-02-05 Thread Phil Swenson
You definitely don't want the SQL Server 7 JDBC/ODBC driver for serious apps. It is single threaded so performance quickly degrades. It's also pretty buggy. I had a lot of problems with it and switched to a type 4 driver. We use the inet driver, but there are many out there: jturbo, weblogic,

Re: ListServer to News Group

2000-02-08 Thread Phil Campbell
you the option to read digests and archives and to not receive email. Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/

Re: check this again...

2000-02-08 Thread Phil Campbell
by filtering all attachments.     Phil    

Re: Check this

2000-02-09 Thread Phil Campbell
> This is a known virus,... and the next one will be unknown... until it is too late. The group rules say "no attachments." Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff J

Re: Check this

2000-02-10 Thread Phil Campbell
you think Sun will react, if forced to litigate negligence claims stemming from this practice? It is in our best interest, as individuals and as a group, to insure that Sun stops this practice by enforcing the "no attachments" policy of this group. Let's make this message clear. Phil

Re: (should be: passing value from applet to servlet)

2000-02-14 Thread Phil Campbell
ack of Get method -- Post may be more appropriate to many applications). Hopefully others will expand on this topic. Phil -Original Message- From: Zhu Jiang <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, February 14, 2000 9:45 AM >Hi, all &

Java and Twain Devices

2000-02-19 Thread Phil Campbell
Does anyone know how to open and process twain device (scanner, digital camera, etc.) images?   We have a Java application in which a servlet needs to retrieve images directly from twain driver devices...   Any help or direction is appreciated.    Phil   

VIRUS WARNING

2000-03-05 Thread Phil Campbell
y Sun Microsystems, please email me (off-line) with information about the damage.     Phil  

Instructions for Removal of Happy99 virus

2000-03-05 Thread Phil Campbell
The following are NAI instructions for removing the Happy99 virus that Sun emailed to the group, today. For additional information, go to http://vil.nai.com/vil/vpe10144.asp (When is Sun going to stop willfully spreading viruses to Sun market support groups?)  "Removal Instructi

Reporting with JSPs

2000-03-09 Thread Phil Swenson
I'm curious - what are the common ways of doing HTML reporting against java classes? The type of data I want to display on my reports can change a lot so it seems like creating a bunch of classes to hold all the data for a specific report is not the way to go...but what is? I'll use a very simpl

Virus Wars...

2000-03-10 Thread Phil Campbell
In case you're not counting, Sun has distributed 3-viruses to members of this marketing support group in the past few days.   At this rate, Sun could easily distribute a dozen viruses this month.   While one might think this is a disaster waiting to happen; it is more accurately a disaste

Kudos to Sun

2000-03-15 Thread Phil Campbell
text only messages for the time being. If so, any inconvenience caused is minor, compared to the many problems solved. From our perspective, Sun deserves great praise for their leadership in ending this growing industry problem. Phi

opening new response window

2000-03-20 Thread Phil Campbell
What's the trick to directing a JSP/Servlet response to a new window? (On certain requests, we'd like our JSP/Servlet to retain the original form-window and pop-up a small information-window (sans tool bars) for, say, context sensitive help messages.) Any thoughts are apprecia

Validation patterns

2000-03-21 Thread Phil Swenson
I'm curious as to what kind of patterns people are using for data validation in JSPs? I assume most would have beans to the validation... say you are taking credit card information for an order (CC #, CC Expiration date, billing address, email). Would you have the bean throw an expection to the

Help - problem using

2000-10-16 Thread Phil Hedley
Many thanks, Phil Hedley === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esper

Re: Help - problem using

2000-10-16 Thread Phil Hedley
From: Phil Hedley@MITEL on 10/16/2000 01:27 PM GDT Hi Louis, This does not appear to work :- [snip] >If you want to use setProperty, then your field name (or parameter name) >must same as the bean property name. E.g, if you have a textfield which name call >SurName, in your bean you

Where do I store beans when using jswdk

2000-10-23 Thread Phil Hedley
ean in web-inf\jsp\beans\bgate. Then it works ok. Why does the server complain that it cannot find the bean in the first instance ? Are we limited to a certain directory structure using jswdk. Thanks Phil Hedley === To u

Can anyone expalin the .property files

2000-10-23 Thread Phil Hedley
rties wepapp.properties Also what is the reason for the \webpages directory ? Setting the property files in this seems to affect how my own we application works. Thanks, Phil Hedley === To unsubscribe: mailto [EMAIL PROTECTED]

jsp:setProperty and List items

2000-10-23 Thread Phil Hedley
Hi all, I can use jsp:setProperty to call my setter method to pass the value of the currently selected list item of my form. How do I do the same for multiple selections of the same list ? Also what do need to do to select the list items using jsp:setProperty ? Thanks, Phil Hedley

Bug using HttpUtils.parsePostData ?

2000-11-01 Thread Phil Hedley
each form element, then everything works fine. Does the call to HttpUtils.parsePostData() from my servlet somehow invalidate the subsequent call to the same method ? Is this a bug ? I'm using Tomcat and Linux. Thanks, Phil Hedley ===

Servlet Controller - a few questions

2000-11-07 Thread Phil Hedley
Would a web-application with hundreds of jsp pages have a sinlge servlet controller ? or would there be a single servlet controller handling the pages for each function of the web-application ? Thanks, Phil Hedley === To unsubs

Re: Servlet Controller - a few questions

2000-11-07 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/07/2000 11:52 AM GMT I have seen this article before. But the example given could never be implemented on a large scale web application.unless the servlet controller is one of many controllers. Each controller would process a defined function within the web

Can I get the Form name ?

2000-11-07 Thread Phil Hedley
Hi all, How do I get the form name from the form tag of a posted html page in my servlet? thanks, Phil Hedley === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant F

Re: Java Developer's Guide to Servlets & JSP

2000-11-13 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/13/2000 09:47 AM GMT Dont' know about this one but check out the following javaworld site which gives a review of other jsp books http://www.javaworld.com/javaworld/jw-09-2000/jw-0929-jspbooks.html cheers, Phil Hedley Sloan Michael <[EMAIL PROTEC

Re: Can a JSP extend a servlet

2000-11-14 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/14/2000 09:24 AM GMT I'm not sure what you are asking here. A jsp page is compiled and executed as a servlet. However, it is possible to use a pre-compiled implementaion of a jsp page. Checkout the JSP specification at http://www.javasoft.com/product

Re: Difference between Servlet and Bean?

2000-11-16 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/16/2000 09:27 AM GMT Checkout thisdocument as an idea of how to approach the problem http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html The example is not perfect, but the model states that the recommended approach is to have a single servlet to

Re: Why use Java Beans?

2000-11-17 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/17/2000 11:16 AM GMT The directive is misleading as these are not true Java beans, they can be regular Java class objects. The JavaBean structure only needs to be applied when using the set/get property directive. The following is valid where MyObject is NOT a

Servlet and Bean as One

2000-11-01 Thread Phil Hedley
class. The first instance is created when I load abc.jsp, the second is created when I submit the form on abc.jsp which calls the servlet. What I need is for the server to use the same instance created by the jsp page. Is there a way round this ? Thanks, Phil Hedley

Webservers/Servlet Contianers on NT

2000-12-18 Thread Phil Swenson
Any advice on which is the best webserver/Servlet container combo to run for Win2K? We are running ServletExec 3.0 on Win2K with IIS5.0 right now. We aren't satisfied with the results. I don't know whether it's SE or IIS, but the stinkin' IIS service hangs way too often when we have to restart

Re: help on CallableStatement

2000-12-18 Thread Phil Swenson
Uhh, this is not a JSP question, it's a database question. You really shouldn't be embedding SQL in your JSPs. Write a bean and call the bean from your JSP. That will make it much easier to debug as well... I personally don't recommend using stored procs anyway. Embedding SQL in Java code is

Re: Performence about Resin

2000-12-19 Thread Phil Swenson
Do you have any problems with the IIS service not restarting when using resin? We are using ServletExec and IIS hoses about 20% of the time when I restart the service. ServletExec requires an IIS restart when you change java class files. You using IIS 4.0 or 5.0? THanks - Original Messa

Serving images from a database

2001-01-17 Thread Phil Swenson
I have images that are stored in a database which I wish to serve over a web page. Someone want to point me in the right direction? Surely I don't need to pull the image from the DB and save to diskit seems I should be able to use a JSP or servlet to retrieve and display. ==

session/servlet container question

2001-02-01 Thread Phil Swenson
t. To avoid any confusion: I am talking about servlet sessions here, for storing objects via session.setAttribute/getAttribute. And what does Orion use for a servlet container? Did they write their own? Thanks much! phil =

Re: handling Query strings

2001-02-24 Thread phil swenson
go to servlets.com and download the oreilly servlet package. it has a nice parameter parser that will handle the cases you are looking at. - Original Message - From: "Venkat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 24, 2001 5:41 PM Subject: handling Query stri

Include Page Performance - GURU question

2001-02-24 Thread phil swenson
I ran a quick test on the performance of using the "include page" tag versus "include file" tag. Using ServletExec I found include files to be about 200 times faster Include pages are a much more elegant approach than include files, but the question is does the elegance outweigh the perfo

Re: using session information across different web applications

2001-02-26 Thread Phil Swenson
what about sessions across webservers? Is this possible? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevan

Re: OFF-TOPIC: ResultSet.getDate()

2001-07-30 Thread Phil Lopez
Try using the get/set Timestamp methods. At 04:56 PM 7/30/01 -0700, you wrote: >Sorry everyone: can anyone help me here? > >The following line: > >java.sql.Date date = rs.getDate("..."); > >gives me the following: > >date = '2000-08-20' > >The hour and minutes are missing. > >The same happends wi

ServletConfig - easy Question

2000-03-23 Thread Phil Swenson
Simple question: how do I sent ServletConfig information to a servlet I'm posting to from my JSP? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be foun

Re: Automatically Submitting Forms

2000-03-23 Thread Phil Campbell
( Zhu Jiang suggested JavaScript; don't know if his idea is plausible and can find no reason to use client side technology in this application. Besides, this is a server side technology group ;-) If you need help or an example, let me know. Good luck. Phil -Original Message- From: wee

Re: Automatically Submitting Forms

2000-03-24 Thread Phil Campbell
you're seeing it happen, so... Perhaps you could map this one out and pose it to a different thread. Someone may see what is happening... Phil -Original Message- From: Paul Allton <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, March 23, 2000

Testing MultiPart Request U/L

2000-03-27 Thread Phil Swenson
Anyone know of a tool that can be used to stress test a multipart request upload?? I'm using Jason Hunter's library. Thanks! And in general, anyone have recommendations on web site stress testing tools (must support posts)???

Re: Request.getParameter() question

2000-04-03 Thread Phil Campbell
do i get around > this problem? There has been some discussion on jsp methods -- I think others have posed that it is possible. Further, there are other ways to accomplish this design goal, such as implementing a java-bean for needed utility methods. Let me know if I can help furt

calling a JSP form a JSP

2000-04-15 Thread Phil Swenson
What is the best method for calling another JSP from a JSP? I don't want to redirect and I don't care about the output. The following works, but I thought there might be a simpler method: URL url = new URL("http://blah.com/cp/blah.jsp?parm=" + param); URLConnection connection =

Java VM max heap size

2000-04-17 Thread Phil Swenson
We are using New Atlanta's Servlet Exec. It works great but after 1 day up being up we got an out of memory error. New Atlanta suggested boosting the Java VM max heap size to 64Meg from 16 meg. My question is why would it default only 16meg? And why only boost to 64 meg? The server currently

Re: html character escaping: is it possible?

2000-04-18 Thread Phil Campbell
with < and ">" with >. I don't think "*" and "%" will cause browser problems. If you are having problems beyond this, I'd suspect a problem with your JSP code. Tell us more. I'm sure someone in the group will see something that may help you o

Off Subject, client side question

2000-04-18 Thread Phil Campbell
application, such that myApp.class is executed as myApp.exe rather than java myApp? Any thoughts are appreciated. Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant F

Synchronizing static methods called from JSPs? Do I need to?

2000-04-28 Thread Phil Swenson
If I have a static method I'm calling from a JSP such as: public static String cleanString(String s, String validCharSet) Do I need to synchronize it? I'm assuming I don't unless it accesses static data. Is this correct? Thanks! ===

Re: JSP Web Hosting

2000-05-01 Thread Phil Campbell
> Does anyone know of Web Hosting > companys that support JSP and JDBC? www.wantjava.com -- one of the better ones out there. Phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff J

Re: using "while" statement

2000-05-15 Thread Phil Campbell
// etc. } %> It looks like you used = (assignment), rather than == (comparison), in your while condition statement. Either way, I think you want to use equals() method, as shown. String objects are compared with equals() to show if the values are the same and == to show if the objec

POSTing to a JSP from a Java class - Getting desperate!

2000-05-25 Thread Phil Swenson
lush (); outStream.close(); I've hit JavaSoft message boards and tried everything that was posted...it just doesn't work. Please help if you have any solutions. phil === To unsubscribe: mailto [EMAIL PROTECTED]

Re: absolute url

2000-05-26 Thread Phil Campbell
gic of these options, eliminating, for example, the need for out.println(). Hopefully this answers your question. Please forgive me if I misunderstood it. Phil -Original Message- From: Yunyun Cai <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, May 26,

  1   2   >