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
#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
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
>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
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
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
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,
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
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
> 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
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
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
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 &
> 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
This is getting old.
How may we, as a group, request Sun to block ALL
attachments?
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
k you in advance for your
thoughts.
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
-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
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
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
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
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
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 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
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
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 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
;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
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,
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
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
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.
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);
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
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
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
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
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
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
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.
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
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
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
- 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
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.
"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
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
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
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,
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/
by filtering all
attachments.
Phil
> 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
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
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
&
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
y Sun Microsystems, please email me
(off-line) with information about the damage.
Phil
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
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
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
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
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
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
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
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
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
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]
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
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
===
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
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
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
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
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
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
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
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
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
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
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
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.
==
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
=
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
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
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
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
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
( 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
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
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)???
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
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 =
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
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
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
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!
===
> 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
// 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
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]
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 - 100 of 121 matches
Mail list logo