Re: Dynamic jpeg generation

2003-02-07 Thread Geert Van Damme
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

Re: Storing HTML in database

2002-10-22 Thread Geert Van Damme
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

Re: Generation of 30 digit random number

2002-09-20 Thread Geert Van Damme
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

Re: Help Urgent : JSP lines of code

2002-09-10 Thread Geert Van Damme
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:

Re: Current date in milliseconds

2002-07-01 Thread Geert Van Damme
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

Re: Doubt regarding hiding of Tool Bars

2002-06-18 Thread Geert Van Damme
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) >

Test

2002-06-15 Thread Geert Van Damme
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

Re: Some JSP Questions..

2002-06-13 Thread Geert Van Damme
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 > ---

Re: Recommend cheap/free HTML/JSP Editor for Java Developers

2002-06-03 Thread 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-

Re: sql Date

2002-05-07 Thread Geert Van Damme
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

Re: sql Date

2002-05-07 Thread Geert Van Damme
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

Re: PreparedStatement vs Statement

2002-05-03 Thread Geert Van Damme
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

Re: PreparedStatement vs Statement

2002-05-03 Thread Geert Van Damme
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

Re: PreparedStatement vs Statement

2002-05-03 Thread Geert Van Damme
> 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

Re: PreparedStatement vs Statement

2002-05-02 Thread Geert Van Damme
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

Re: Any idea of how to draw a line or a square on top of an image?

2002-04-30 Thread Geert Van Damme
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

Re: writing daily counter to the db

2002-04-14 Thread Geert Van Damme
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

Re: HTTP_REFERER

2002-02-06 Thread Geert Van Damme
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

Re: Bar graph in JSP

2002-01-22 Thread Geert Van Damme
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

Re: Problem while writting the response to an Excel file.

2002-01-15 Thread Geert Van Damme
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

Re: <%! %> (was RE: I want to make code shorter.)

2002-01-11 Thread Geert Van Damme
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

Re: <%! %> (was RE: I want to make code shorter.)

2002-01-10 Thread Geert Van Damme
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

Re: I want to make code shorter.

2002-01-09 Thread Geert Van Damme
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

Re: I want to make code shorter.

2002-01-09 Thread 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

Re: Sessions and URL-Rewriting?

2002-01-06 Thread Geert Van Damme
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

Re: Sessions and URL-Rewriting?

2002-01-06 Thread Geert Van Damme
: 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 > -

Re: Sessions and URL-Rewriting?

2002-01-05 Thread 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

Re: good webserver

2001-12-21 Thread Geert Van Damme
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

Re: BLOBs within MySQL and JSP

2001-12-03 Thread Geert Van Damme
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

Re: Heap Size

2001-11-16 Thread Geert Van Damme
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]> >

Re: JSP editor

2001-10-29 Thread Geert Van Damme
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

Re: hide JavaScript ?

2001-10-25 Thread Geert Van Damme
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

Re: Swing - JSP

2001-10-25 Thread Geert Van Damme
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

Re: More Confused!!!!!

2001-10-01 Thread Geert Van Damme
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.

Re: Is it Possible to add dynamic string in ????

2001-08-21 Thread Geert Van Damme
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

Re: What is equivalent of EJB in ASP?

2001-08-20 Thread Geert Van Damme
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

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Geert Van Damme
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 >

Re: ASP vs. JSP

2001-08-14 Thread Geert Van Damme
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

Re: Offtopic: Hiding Javascript

2001-08-09 Thread Geert Van Damme
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

Re: Pronounciation?

2001-08-01 Thread Geert Van Damme
, 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

Re: Opensource app server with Servlet/JSP support

2001-07-04 Thread Geert Van Damme
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

Re: Can we use SOCKET in SERVLET class? URGENT!!!!!

2001-06-08 Thread Geert Van Damme
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

Re: Send and get flies by FTP

2001-05-31 Thread Geert Van Damme
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

No Subject

2001-05-30 Thread Geert Van Damme
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

Re: Java depends on WinSock

2001-05-24 Thread Geert Van Damme
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

Re: Text from a database

2001-05-24 Thread Geert Van Damme
} 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

Re: JAVA2EXE

2001-05-24 Thread Geert Van Damme
} 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

Re: The End of the World is Coming

2001-05-23 Thread Geert Van Damme
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- >

Re: Filters

2001-05-22 Thread Geert Van Damme
= 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

No Subject

2001-05-18 Thread Geert Van Damme
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 > --

No Subject

2001-05-18 Thread 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

No Subject

2001-05-18 Thread Geert Van Damme
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

Re: A Poor Man's JSP compatible Search Engine Implementation

2001-05-17 Thread Geert Van Damme
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

Re: response already commited

2001-05-12 Thread Geert Van Damme
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

Re: Building Graphs dynamically

2001-05-10 Thread Geert Van Damme
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

Re: sending emails

2001-05-10 Thread Geert Van Damme
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

Re: how do servlets and jsp work together?

2001-05-10 Thread Geert Van Damme
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

Re: Use EJB in JSP

2001-05-08 Thread Geert Van Damme
'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

Re: How can an JSP/HTML table be converted to Excel spreadsheet?

2001-05-08 Thread Geert Van Damme
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]

Re: How can an JSP/HTML table be converted to Excel spreadsheet?

2001-05-08 Thread Geert Van Damme
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

Re: Off Topic: Trim

2001-04-27 Thread Geert Van Damme
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:

Re: How to hide a user from seeing source code of web page...

2001-04-27 Thread Geert Van Damme
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

Re: JSP Book for beginners?

2001-04-26 Thread Geert Van Damme
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

Re: JHacker

2001-04-25 Thread Geert Van Damme
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: [

Re: JHacker

2001-04-25 Thread Geert Van Damme
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

Re: Displaying data in N-Tier systems

2001-04-24 Thread Geert Van Damme
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

Re: program the addresss bar

2001-04-24 Thread Geert Van Damme
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

Re: putting a comment in jsp code

2001-04-19 Thread 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

Re: Who can help me build a forum using jsp?

2001-04-07 Thread Geert Van Damme
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

Re: generating .gifs and .jpg on the fly

2001-04-04 Thread Geert Van Damme
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

Re: JSP/JAVA package to read email and handle attachments (decode)?

2001-04-03 Thread Geert Van Damme
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

Re: Forwarding / Redirecting to external pages.

2001-04-02 Thread Geert Van Damme
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?

Re: How to Efficiently Debug JSP ?

2001-03-30 Thread Geert Van Damme
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]]

Re: Disabling back button on the browser

2001-03-26 Thread Geert Van Damme
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:

Re: Spawning a thread

2001-03-17 Thread Geert Van Damme
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

Re: isset()

2001-03-14 Thread Geert Van Damme
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

Re: Save JSP page result before sending response

2001-03-12 Thread Geert Van Damme
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

Re: using variable defined within <% %> in <%! %>

2001-03-06 Thread Geert Van Damme
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

Re: How to restrict the multiple login's ?

2001-03-02 Thread Geert Van Damme
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

Re: OT Re: login servlet ??

2001-03-01 Thread Geert Van Damme
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

Re: login servlet ??

2001-03-01 Thread Geert Van Damme
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

Re: Session Maangement.

2001-02-27 Thread Geert Van Damme
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

Re: how to handle ampersand (&) in jsp:param ?

2001-02-23 Thread Geert Van Damme
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

Re: difference between variable declared using <%! %> and <% %>

2001-02-21 Thread Geert Van Damme
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 -

Re: difference between variable declared using <%! %> and <% %>

2001-02-20 Thread Geert Van Damme
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

Re: <%! %> and <% %> ??? Which is it? Im confused

2001-02-20 Thread Geert Van Damme
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

Re: difference between variable declared using <%! %> and <% %>

2001-02-20 Thread Geert Van Damme
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

Re: Can't convert int to boolean. ??

2001-02-16 Thread Geert Van Damme
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

Re: Diff bet asp & jsp

2001-02-12 Thread Geert Van Damme
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

Re: A component that generates barcharts.........Repeated Message Receipt

2001-02-08 Thread 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--

Re: Any views on the Java Web market in the US ???

2001-02-07 Thread Geert Van Damme
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

Re: connecting to mssql

2001-02-06 Thread Geert Van Damme
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 >

Re: connecting to mssql

2001-02-06 Thread 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

Re: Any views on the Java Web market in the US ???

2001-02-06 Thread Geert Van Damme
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:

Re: Diff bet asp & jsp

2001-02-05 Thread Geert Van Damme
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 =

Re: Diff bet asp & jsp

2001-02-05 Thread 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

Re: java.sql question

2001-02-04 Thread Geert Van Damme
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

Re: java.sql question

2001-02-03 Thread Geert Van Damme
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("","","%","

Re: Good JSP books/URLs?

2001-01-26 Thread Geert Van Damme
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-

Re: JSP debugging

2000-12-28 Thread Geert Van Damme
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   2   3   >