Check out my graffiti wall for an example
Http://www.darling.be/wall.html
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference [mailto:[EMAIL PROTECTED]] On Behalf Of
> Partha Ranjan Das
> Sent: vrijdag 7 feb
PreparedStatements of course.
> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference [mailto:JSP-INTEREST@;JAVA.SUN.COM] On Behalf Of
> Robert Misior
> Sent: dinsdag 22 oktober 2002 16:08
> To: [EMAIL PROTECTED]
> Subject: Storing HTML in databas
However, if it just needs to be something that looks more or less random
you could just concatenate several normal random numbers.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference [mailto:[EMAIL PROTECTED]] On B
And why do you need that???
I can only think of 1 valid reason: To check that developers DON'T write
too much code in their JSP's.
Alas, I'm afraid you're planning to use the LOC for the completely
opposite.
Geert Van Damme
> -Original Message-
> From:
System.currentTimeMillis() ?
new Date().getTime() ?
Of course the first one is prefered, but if you already have a Date object,
you can use getTime().
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mail
Nope.
There's no way to really do this. After all, you can always use Telnet to
get a wab page.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Balaji M (CTC)
>
I've been cut off of this list for a few days because my email bounced.
I've tried to fix it twice, but I'm not sure I'm receiving emails.
So, just to check....
Geert Van Damme
===
To unsubscribe: mai
The difference between Class and beanName is a subtle one and it's not used
much.
It's where you want polymorphism.
beanName="Secretary" Class="Employee"
is more or less equivalent to a statement like
Employee x = new Secretary();
Geert Van Damme
> ---
The absolute best (by far) Editor for java (and JSP) is IMHO IntelliJ.
http://www.intellij.com
It's just that $395 isn't exactly 'free'
However, I didn't hesitate a moment after the 30 day trial period to buy a
licence.
Geert Van Damme
> -Original Message-
That's baaad!
You should use a PreparedStatement.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of G.Nagarajan
> Sent: dinsdag 7 mei 2002 11:29
> To: [EMAIL PROT
ay.getTime());
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Emmanuel Eze
> Sent: dinsdag 7 mei 2002 10:04
> To: [EMAIL PROTECTED]
> Subject: sql Date
>
>
> Hi al
slow, but you do issue
a select * ??
You might start with replacing the * with the correct columns. It might give
you a better performance boost that the Statement.
at http://www.javaperformancetuning.com/tips/rawtips.shtml
about 5 articles are listed that state you should use 'PreparedState
em doing it, man ;-)
- Stability and correctness:
Think about a last name lookup HTML form and I type in
O'Connor
Geert Van Damme
I also think PreparedStatements are cleaner code. Think about the parallel
with a method name and the arguments. You're not creating several methods
that do
> Performance will ofcourse play the major role in selecting
> between the two.
>
I seriously doubt that.
- Correctness
- Stability
- Security
- Maintainability
Are IMO all much more crucial than raw speed.
Geert
After all, the performance argument is certainly valid. The JDBC driver or
DBMS can cache the parsed PreparedStatements, and a web container typically
runs for weeks without stopping or restarting, so 50-100 queries is no issue
at all.
Geert Van Damme
> -Original Message-
> From
Check out my graffiti wall for an example.
http://www.darling.be/wall.html
Geert
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Villén Pizarro
> Sent: dinsdag 30 april 2002 14:33
> To: [EMAIL PROTE
In the init method, I get the
> last date from db with the count and store it in the
> vector..Would this work? Or is there an easier way? Am I
> making something that is so easy compliated?
Yes, you're making it way too complicated ;-)
Make it work firs
And to make the confusion complete,
in javascript it is called 'document.referrer' (yep double 'r')
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lanc
I would recommend the HTML method described by Arnold Shore.
But if you think this is graphically too limited,
check out my graffiti wall for an example of a dynamically created image.
http://www.darling.be/wall.html
Geert Van Damme
> -Original Message-
> From: A mailing list abou
instead of "text/xls"
use
"application/vnd.ms-excel"
Geert
Van Damme
-Original Message-From: A mailing list about Java
Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of rajacSent:
dinsdag 15 januari 2002 2:14To:
[EMA
akes a lot of hits
before that extra time is paid back.
If we're talking about very small overhead (in the order < 1ms) you should
generally choose the most convenient solution.
just my opinion
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server
ddress
information is kept in Ram memory maybe 200 times. I really think that could
harm performance.
Geert Van Damme
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto
N'T USE
DECLARATIONS AT ALL !
It's only natural that JSP will be used by the more intelligent webdesigner.
people that knwo the basics about making dynamic pages, they know what if()
for and while() is about, but don't completely get OOP or the servlet model.
Geert Van Damme
No!
I don't see how a declaration would help here.
In fact You hardly ever need to use declarations. Most people don't know
exactly what a declaration does. As long as you're not 100% sure what it is.
Don't ever use it
Geert
> -Original Message-
> From: A mailing list about Java Ser
Well,
Simply tell him the extra cost ;-)
"OK you can choose, but
- the extra maintenance for ensuring proper URL encoding is xxx$ (or xxx
days of work).
- I'm not responsible for the security problems
"
Geert Van Damme
> -Original Message-
> From: A mailing l
: in the apache
log files, and in the HTTP_REFERER field of the requests to a next page
This means that your session ID is plainly visible to other servers. Now
that's very insecure IMO. I know what I'm talking about, I've done it more
than once ;-)
Geert Van Damme
> -
Why?
Cookies are better than URL Rewriting.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Philip M. Meier
> Sent: zaterdag 5 januari 2002 13:27
> To: [EMAIL PROTE
IMNSHO Resin + Apache (on linux?) is the best combination there is.
If you don't need EJB, then Resin is absolutely the best solution. If you
want EJB's as well, add JBoss or switch to Orion.
Geert Van Damme
> -Original Message-
> From: A mailing list about J
xception()) !=
null){System.out.println(" next
"+e.getMessage()); } } finally
{ try{if (stmt != null)
stmt.close();if (conn != null)
conn.close(); } catch (SQLException
e){System.out.println(e.getMessage()); } } }
Geert
Van Damme
-Original Message-F
min and max values for a
certain application
Geert Van Damme
>
> Yes, use:
> java.lang.Runtime.getRuntime().freeMemory()
> which returns a long that is the amount of free memory in the system.
>
> -Original Message-
> From: Clayton Nash <[EMAIL PROTECTED]>
>
rt autocomplete works perfect, even in JSP files.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Cheng
> Sent: maandag 29 oktober 2001 18:33
> To: [EMAIL PROTEC
Everyone,
All those people asking questions about security and safety on the client
side (javascript, browser stuff), just forget it. You can't prevent the user
anything by using client side technology.
remember, there's always telnet to port 80 ;-)
Geert Van Damme
> -Ori
Oh no,
here we go again.
Please, think a bit about what server side java really means! A servlet runs
on a server you know. Unless you want your JTable to appear on the server
(not very likely), you need to use applets.
Geert Van Damme
> -Original Message-
> From: A mailing list
Simple answer:
Unless you really really know what <%! %> declarations are (e.g. you're a
real experienced servlet programmer) , Don't ever use them !!! It's more
trouble than it's worth.
stick with <% %> tags.
Private, protected .. has nothing to do with this.
ur app becomes successful. And at that time it's
often too late to do this type of changes easily.
DON'T EVER USE <%! %> TAGS unless you really know what theey are
(and apparently, you don't ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about J
nono, there is bno parallel in ASP.
ASP and J2EE are not so similar you know. MVC pattern in ASP is like real OO
programming in VB ;-)
Geert Van Damme
> -Original Message-
I am new to server side programming. Although I have some exposure to jsp
> and servlets, I have no expe
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
>
already has the market. Asp
is much bigger than JSP, but it's losing it's position.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of webmaster
> Sent: dinsdag 14 a
That
won't do very much.
Simply
type in the URL to the hardeep.js file and you can read it.
No,
it's very simple. You can not hide client side scripting for the user. Not a
chance.
Geert
Van Damme
-Original Message-From: A mailing list about Java
Server Pages spe
, in a few days,
I'm gonna start using my [EMAIL PROTECTED]
address ;-)
Applet
and servlet seem rather straightforward to me. Just like they're written
down.
EJB
and JSP are a often wrongly pronounced as EGB and GSP by non-english
speakers.
it
should Djeej es pi (or something )
G
There is no discussion about it.
Resin www.caucho.com is the best servlet engine you can get. Cheap, fast,
easy to set up, full-java (platform independent), stable, up with the latest
specs, anything.
If you also need EJB's Orion might be worth checking out. (or link JBoss
with Resin)
Geer
Sure you can, why not?
But I think it's cleaner design if you put this (a chat server) in a
separate class and instantiate this from the servlet.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[E
check out the package at
http://www.enterprisedt.com/downloads/ftp.html
I've used it and it worked OK.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
ead of synchronization is much lower than it used to be.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of chintha ratnasiri
> Sent: woensdag 30 mei 2001 0:48
> To: [EMAI
ntence "as Java requires a 32-bit OS" clearly shows that the
author doesn't knwo what he's talking about.
Just my opinion ;-)
AND WHAT THE HELL HAS THIS TO DO ON A JSP MAILING LIST??
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pa
}
return buff.toString();
}
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Clair e Simon
> Sent: donderdag 24 mei 2001 0:27
> To: [EMAIL PROTECT
}
return buff.toString();
}
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of paramjit singh
> Sent: donderdag 24 mei 2001 8:24
> To: [EMAI
Well, I don't know whether I'm God, but you have to realize that java is
case-sensitive.
So if you replace hello.NameHandler with hello.nameHandler. It's not the
same class anymore.
But anyway, hello.* should work as well.
Geert Van Damme
> -Original Message-
>
= new Vector();
criteria.add("sience-fiction");
criteria.add("computer");
sql.and(new ColumnCondition("category",category));
// If the vector is empty, it will not use this condition, if it's just a
single element
Get the idea?
Let me know if you think this libra
This code isn't OK at all!!!
Still the same remarkls:
- It's absolutely NOT thread safe. Avoid using <%! %> tags.
- Exception handling has a meaning. Never do
catch (SQLException e){ }
- Close the Resultset, statements and Connections properly!!!
Geert Van Damme
> --
a bit. I like this more than your code ;-)
Geert van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonas Devries
> Sent: vrijdag 18 mei 2001 11:44
> To: [EMAIL PROTECTED]
> S
Jonas,
Don't declare the variables in <%! %> tags. That's not what they're for.
just put them in <% %> tags.
Well, that might not solve your problem but it will prevent concurrency
problems later on.
Geert Van Damme
> -Original Message-
> From: A mai
your search engine to authenticate itself through its
> own web app? This is important for ecommerce site were you want
> to able list pages that are deemed protected resources.
>
Not only that, but there's also the problem that many pages need parameters
(either POSTed o
larger buffer for the page.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of horwat
> Sent: vrijdag 11 mei 2001 22:44
> To: [EMAIL PROTECTED]
> Subject: Re: respons
well,
check out my graffiti wall for an idea how you can create dynamic images
http://www.darling.be/wall.html
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Clayton Na
mails from a JSP like this
Dear <%=name%>
We blablabla in which you can use everything you normally do in JSP like <%
%> code and <%= %>
How much easier do you want it?
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specific
es? JSP seems a very natural choice for that.
Ever tried to create your XSLT dynamically by using JSP? Now that's what I
consider powerful ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECT
'forward' to the JSP.
- use custom tags. I've seen a very nice example of this, I think it was
somewhere on java.sun.com.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Be
Nope,
I'm afraid you'd need to contact Netscape or M$ with your request ;-)
Geert
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Arnab Nandi
> Sent: dinsdag 8 mei 2001 12:12
> To: [EMAIL PROTECTED]
ould do it depending on an input parameter:
<%if ("excel".equals(request.getParameter("contentType"))){
response.setContentType("application/vnd.ms-excel");
}%>
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages
u think is missing in Java???
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Henk Meulekamp
> Sent: vrijdag 27 april 2001 12:03
> To: [EMAIL PROTECTED]
> Subject:
don't want me to look at the code? Let's
find out' ;-)
the only thing I have to do is turn of javascript and it works.
And remember: there's always Telnet ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and refer
days ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dana Holley
> Sent: donderdag 26 april 2001 17:16
> To: [EMAIL PROTECTED]
> Subject: Re: JSP Book for begi
but, I just tested it out an some sites and it works fantastic ;-)
Geert
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Geert Van Damme
> Sent: woensdag 25 april 2001 10:41
> To: [
well, it only helps my in my opinion that you should use PreparedStatements
anyway.
That would have solved the problem.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of ma
The best solution IMHO is to mimic/steal the way Swing does it.
Instead of using an ArrayList, create objects that implement the swing
ListModel or TableModel interfaces.
That way, it's also very easy to create nice debugging/admin apps with the
same components (remember, reuse is what it's all a
Use a Frameset in your index page and do all your navigation in a single
frame.
But most important: Why would you like to do something like that
One of the disadvantages is e.g. that you cannot easily send a user an URL
of a specific page by email. I can think of others...
Geert Van Damme
One isn't better than the other. They help in a different way.
1) java comments : // and /* */
might be used mainly to temporarily comment out some code that might be
causing trouble.
2) JSP comment <%-- --%>
Good to use for real comments on your JSP page. I.e. code documentation
Might also be
The best starting point is Jive. A servlets/Jsp forum solution.
http://www.coolservlets.com
takes about 5 minutes to install. Very easy.
Open source, so whatever you don't like, you can change ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java S
an excellent opportunity to plug my own site once more
Dynamic JPG Graffitti
http://www.darling.be/wall.html
Regards
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Fran
Sure, it"s called JavaMail. Surprise surprise ;-)
http://java.sun.com
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Keith Kwiatek
> Sent: woensdag 4 april 2001
Well, you could (rather easily) create a 'proxy' servlet.
The servlet makes a URLConnection to the exernal page and passes the
resulting data back to the original request.
In this case, you can use forward(ServletRequest, ServletResponse) to
redirect to the servlet.
Get the idea?
the Oracle
database. Try putting an
if (conn == null) { test before you create the preparedstatement.
BTW, why are you using javawebserver?
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]
plets
Not that you shouldn't use these techniques, you just have to be aware of
the limiation.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marty McKeever
> Sent:
un(){
// your code
}
}.start();%>
But it's cleaner to put that in a separate object, not in the page directly.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PR
equals(variable)){%>
<%=variable%>
<%} else {%>
nothing entered
<%}%>
I use
<%=("test".equals(variable))?variable:"nothing entered"%>
OK, it might look hard to read, but the first case isn't very elegant as well, and I'm
lazy ;-)
Geert Van Damm
oo
difficult to alter the code so that the output is sent as well. Probably
just altering the 'return SKIP_BODY' into 'return EVAL_BODY_TAG'
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [ma
defined
scriplet tags
validity = true;
}
return validity;
}
%>
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nishit Trivedi
> Sent: dinsdag 6 maart 2
Yes, you can monitor the session timeout with a SessionBindingListener.
But that won't solve the problem since the session will only timeout after
several minutes.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and referenc
Like I mailed you personally,
no, it doesn't ;-)
I really like Resin. It's about as good as Orion ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jos
check out the security options your web server or servlet engine gives
you. Resin e.g. has a nice system for authentication.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf O
well, yes it is fired, but only after the session times out.
Which is after 15 or 30 minutes (configurable in the jsp engine setup).
There is no real good solution to invalidate a session when the user closes
the browser.
Geert Van Damme
> -Original Message-
> From: A mailing list
What the hell is going on now???
we get every mail as an attachment as well?
Geert
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tushar Sarmah
> Sent: vrijdag 23 februari 2001 13:51
> To: [EMAIL PR
me variables in the
> declaration tag <%!
> %>.
>
> Kindly, inform the way out of this problem, so that I do not have
> to declare
> the vars. in the declaration tag
> <%! %>.
>
> Thanx in advance.
> Sunil K. Roy
>
> - Original Message -
NOPE.
It has nothing to do with 'static'.
You cannot do <% static int a; %>.
<%! defines the servlet instance variables. Since there's only one servlet
instance that handles every request, you might interpret it as 'something
like global vars'. But then again, g
with
servlets and so, it's no problem.
The others, who don't know java but jump immediately to JSP have a big
problem.
For those, my only advise is: Don't use <%! %> at all.
You'll come to a point where it will become clear what it is. Untill the,
use <% %>.
Geert
NO NO NO
If you don't know what <%! %> exactly does. Don't use it.
And you apparently don't know it.
<%! %> is NOT meant to declare variables.
Again an example of a really bad post. If you don't know it. Please, don't
answer, or at least specify that it
OK,
Now this is what I hate most on this list.
This is just a stupid, plainly wrong answer to a very basic question.
About everything in the answer is incorrect.
| is both a boolean and a bitwise operator, so that's certainly NOT the
problem.
You might use the || operator, but it won't solve any
Net doesn't really exists yet! in that case it's easy to tell how
fantastic it is.
Please show me the first side that uses that technology and does something
meaningful with it.
Ok, by then, we're 4 years further. Let's talk then.
In the meantime, we use JSP.
Geert Van Damme
Isn't it terrible.
First the out of the office replies (still a problem)
Then the off topics and stupid replies (still a problem ;-)
Then the whole war around it (calming down)
And now they're sending everything again!!! Please stop!
Geert Van Damme
> -Original Message--
at I heard about it, it's
still non-existent.
COBOL?
I don't really get this. I'm almost sure it's a lousy M$ trick.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On
Use Javamail.
It's not as complicated as it looks. and there are quite some taglibs
available that make sending an email very easy.
I don't know where I downloaded the taglib I'm using, but I'm sure you can
find something on http://jsptags.com/
Geert Van Damme
>
I'm gonna do:
unsubscribe ;-)
Or maybe I should start my own moderated list.
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Normington
> Sent: dinsdag 6 fe
Where did you here that?
on a M$ .Net event?
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mathew, Binoy (CORP,
> GEITC)
> Sent: dinsdag 6 februari 2001 10:
nce and it runs for years, serving millions of
requests ;-)
Unless of course you would decide (a very stupid decision) to save the forum
messages in '.jsp' files themselves instead of saving them to the db. In
that case, you'd have a point ;-)
Geert Van Damme
=
let's compare it to ASP ;-)
One of the well known ASP performance guides is:
"don't use too much comments"
Apart from consequences on maintenance, it still made me laugh ;-)
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Page
giving bad advice. If he at least said
"well, with the DBMS I use, you could try something like ..."
but no,
Honestly, I think the average level of answers on this list is far below
zero.
What are we gonna do about that?
Geert Van Damme
> -Original Message-
> From: A mai
Well, that solution is higly dependend on the DBMS, so I wouldn't recommend
it.
A better alternative is to look at the DatabaseMetaData class.
something like
DatabaseMetaData dbmd = conn.getDatabaseMetaData();
ResultSet tables = dbmd.getTables("","","%","
idn't look good enough at first side.
- I also looked at the JSP book from Que (I think) and it didn't really look
too impressive.
Anyway, a good comparison can be found at
http://www.javaworld.com/javaworld/jw-09-2000/jw-0929-jspbooks_p.html
Geert Van Damme
> -Original Message-
P but it's very rarely done.
For more info on this, read my chapters on debugging in Wrox's 'Pro JSP' and
'Java server programming J2EE'
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
>
1 - 100 of 246 matches
Mail list logo