What follows isn't based on struts, beans or any more formal technique,
but it works, and I hope it helps.
I find it most helpful to translate to and from objects and SQL as close to
the database as possible. In other words, you might have an object called
SkillSet with methods like
Thanks.
Just to clarify: I've been told that some containers will do this
*automatically*, that is, they will recognize links in JSP/HTML (hey, if
browsers can do it, why not servlet containers) and insert the necessary
info to handle session identification. This is done, supposedly, without
Problem is you are comparing two strings, not two dates. Strings should be
used to display the dates, not for date arithmetic.
Convert id to a Date or Calendar (depending on the type of cx), and then
use the before/after/equals methods of those classes to do the comparison.
At 06:14 PM 12/3/01
This really isn't a JSP question, there are better forums for Java
questions. However, how about using the GregorianCalendar.add(...) methods?
At 01:49 PM 12/3/01 -0700, syed huda wrote:
Is there anyway to find difference between two Date objects? For example,
how to calculate age if I have
I use mmaweb.net, not free, but seems to be highly reliable. $49.99/month
for a commerce account with your own private JVM -
http://www.mmaweb.net/commerce.html
At 06:04 PM 7/17/01 -0700, Hans Bergsten wrote:
Dylan del Rosario wrote:
All,
Any one have a reliable JSP hosting reference. I
You may also want to take a look at ServletExec from www.newatlanta.com.
At 11:33 AM 4/30/01 -0500, Celeste Haseltine wrote:
Kalyan,
In order to run JSP's on a Windows machine, you will first need to install
and configure a JSP complier/interpreter to run on TOP of IIS, such as JRUN
Server.
Well, we've had good experience with ServletExec running on NT, but as an
NSAPI process, not an ISAPI process. It seems very stable, and the
performance on our (low-volume) site is good. Visit their site at
www.newatlanta.com for pricing.
- Original Message -
From: Sudheendra Hebbagilu
This is probably a BroadVision site: BV uses the same suffix, jsp, for it's
pages.
- Original Message -
From: Tayler Mayer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 1:34 PM
Subject: Re: jsp based financial sites?
i'm not sure if www.citibankonline.com
Try: webappcabaret.com
- Original Message -
From: Ehab Taleb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 5:04 PM
Subject: any free web hosting out there
which support jsp , servlets for personal website
thanx
Don't know what is moderate, but MMA at http://www.mmaweb.net/ offers a
commerce account at $50/month that I've been happy with. Apache,
Jakarta/Tomcat, your own JVM, etc., etc.
Anyone else have any experience with them?
- Original Message -
From: Saravanan [EMAIL PROTECTED]
To: [EMAIL
Well, this is really a browser issue. The browser tries to figure out what
the url is for the page that it is viewing, and it doesn't worry too much
about what happens on the server side to generate the page. The same
problem actually exists for cgi programs, where normal HTML pages are stored
What I've found is that it is worthwhile to separate presentation from the
business logic (including database access), and from the logic that deals
with the server-side environment (the servlet container, initialization,
details of dispatching, etc.). There are very detailed and elaborate
This is seriously off-topic. Try reading up on binary vs. decimal
arithmetic. As other posters have found, this is not a problem with Java,
but it isn't a "bug" in Pentium processors either.
As for solving your problem, to display the number in the proper format,
check out the DecimalFormat
Has anyone benchmarked the Collection classes sort? On small datasets, is
the performance really that bad? If this is being transmitted over the web,
will network latency swamp any delay due to sorting? How much volume
(hits/hour) would you need to get before it began to affect server
Try using the character entity reference for '#': '#35;' (including the
semi-colon, but without the single quotes), and try finding some
documentation on url encoding.
You might also want to look at the URLEncoder class in the java.net package.
- Original Message -
From: Aravind Kumar
Here is a complete program taking your logic (after fixing the couple of
typos). It works fine; I ran it from the command line with arguments Cat
Chat Chen and Cat Chat Fen, and in both cases it worked. I believe your
error is somewhere else, not in the code you sent us.
import java.util.*;
Stupid, maybe, still the boss, definitely! The fact that most boss' can be
stupid from time to time (if not all the time) doesn't change the fact that
they are still the boss!!!
- Original Message -
From: Geert Van Damme [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December
Sorry, that is a compiler error, not a logic error (as is the misspelling of
tmpString elsewhere in the program). It will not cause the error reported.
- Original Message -
From: Peter Zhou [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 20, 2000 5:47 PM
Subject: Re:
Well, this really isn't a JSP response, but I find that I am much happier
converting from an SQL/RDBMS model of the problem to an OO model of the
problem as soon as possible in an application. That is, define an object
that you are displaying in every row on your page, with get/set methods. In
Well, the constructor isn't marked as "public"...try that.
- Original Message -
From: fau k [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 09, 2000 1:48 PM
Subject: No constructor matching Ticker() found in class Ticker.
Hi,
Can any one help me,, I am getting this
Congratulations!
Does the book deal with architecutral questions, like how/when/why to
integrate JSP with servlets, Javascript, etc.? E.g., does it talk about
MVC-type designs and how that can best be expressed in JSP?
From a more mundane perspective, we've grappled with the issue of how to
I think your problem is that you are trying to use a URI in the constructor
for FileInputStream, and you need to be using a name that makes sense to the
native file system (in NT, for example, that means something like
d:\myservletfiles\xml\students1.xml). There are a number of ways to attack
Technically, no, you can use jsp without javabeans or servlets. However, if
you build anything but a toy application you will not get the benefits of
object-oriented design/programming with a monolithic structure like jsp
alone.
- Original Message -
From: Chin Sung Kit [EMAIL PROTECTED]
If you are prepared to spend big bucks, Tidestone Technologies has the
FormulaOne product (http://www.tidestone.com/home/default.jsp). IBM also
has a free excelaccessor bean that you can learn about at
http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor. Good luck!
- Original Message
Create a "singleton" object that extends Runnable and can run as a
background thread that wakes up periodically to refresh the mapping of id to
URL. This "singleton" would also be the object that mediates the
translation of id to URL. When the "singleton" is first created, it should
launch the
You might also look at the ExcelAccessor bean from IBM.
http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor
- Original Message -
From: sridhar r [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 03, 2000 7:08 AM
Subject: read an excel file
Hi
Can anyone help me in
This is from one of our classes that connects to lotus:
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(URL, odbcProps);
Where odbcProps is a propert file with these entries:
DSN=MYODBCDSN
DATABASE=DBDIRECTORY\\DATABASENAME.NSF
Could you use the HTML base tag here? You could have it conditionally
generated to control its value in development, production, etc.
- Original Message -
From: David Wall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 9:19 PM
Subject: JSP - servlet - JSP request
I think this depends on whether you are using cookies to maintain session
state or url rewriting. If you are using url rewriting, then you should be
able to force a new session when the user fires up a new browser. Of
course, "playful" users can undermine any scheme you come up with if they
I am doing almost exactly the same thing in a servlet, but I am using
whois.internic.net as the whois server. Are you sure rs.internic.net will
work? Try telnetting to it on that port? I am also using a BufferedReader
to read the input, do not know if that makes any difference. Can you stick
Have you looked at the XML Parser for Java from IBM:
http://alphaworks.ibm.com/tech/xml4j
- Original Message -
From: Nitin Tomer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 27, 2000 1:48 AM
Hi Guys,
Currently I'm working on a web-based document management system, in
As has been mentioned before, there are other vendor products that use the
extension .jsp to designate dynamically generated web content, so I don't
think you can assume that all sites that use that suffix are using Java JSP.
- Original Message -
From: Jesse Clark [EMAIL PROTECTED]
To:
Check out INPUT TYPE="IMAGE" SRC="/myimageurl/myimage.gif"
NAME="myImageName" as one of the options for a form INPUT element
(replacing the usual INPUT TYPE="SUBMIT"... element).
- Original Message -
From: OG Project(Chennai) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February
We've had no problems with ServletExec from New Atlanta
(www.newatlanta.com), but we aren't really using it for anything very heavy
duty. I suspect that if you want to build mission-critical, LOB
applications, you want to look at an n-tier architecture, using an
application server like NAS,
IMHO, the less JSP in your application, the better. That is, no less than
needed to support the presentation tier of an application, but no more. JSP
pages are not an effective way to partition an application, compared to
solutions based on other features of Java such as packages and
And, per a 7/12 press release, Macromedia has purchased
Elemental...voila...
--
From: Gillard dIon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: JavaBeans vs. Enterprise JavaBeans
Date: Monday, August 02, 1999 1:22 AM
FWIW, Drumbeat from Elemental has JSP support WebSphere
Isn't there a JSP include directive?
--
From: Lukin Konstantin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: SSI
Date: Monday, June 21, 1999 4:03 PM
Hey everyone
Is there a way to do a server side includes in JSP?
Here is an example which is possible in ASP
!--#include
37 matches
Mail list logo