Re: What's the best way to access my resources ???

2002-02-08 Thread Panagiotis Konstantinidis
I always put my properties's file inside my classpath (under WEB-INF) so I never have problems retrieving it. I always use a ResourceBundle: ResourceBundle bundle = ResourceBundle.getBundle(path to your configuration file.filename); host = bundle.getString(key); 08/02/2002 16:21:33, Chris

Re: group of developers available

2002-02-06 Thread Panagiotis Konstantinidis
This is ridiculous. Please next time *respect* us... 06/02/2002 15:52:09, Sergey Croitor [EMAIL PROTECTED] wrote: I must apologize in advance for possible offtopic... A group of Russian developers is looking for telecommuting contract job. 3+ yrs of web development. Skills: JSP/Servlets/EJB,

Re: increment IP address ??

2002-02-05 Thread Panagiotis Konstantinidis
05/02/2002 14:46:47, Joe Cheng [EMAIL PROTECTED] wrote: That's good to know. But, 155.108.0.1 *is* a valid IP address, right? Is 155.108.255.1? I cannot see any reason why it would not be valid. The 155.108.255.1 is also valid (class B network) since you can have any numbers between 0 and

Re: Compilation error - cannot resolve symbol

2002-02-04 Thread Panagiotis Konstantinidis
package com.wrox.library; it should be package com.wrox.library.*; or package com.wrox.library.Book; 04/02/2002 10:35:28, Philip Steel [EMAIL PROTECTED] wrote: Hi there I have made a package called com.wrox.library and compiled the following class successfully: package com.wrox.library;

Re: Compilation error - cannot resolve symbol

2002-02-04 Thread Panagiotis Konstantinidis
Sorry, please ignore my last message. Wrong place (and wrong answer). 04/02/2002 10:35:28, Philip Steel [EMAIL PROTECTED] wrote: Hi there I have made a package called com.wrox.library and compiled the following class successfully: package com.wrox.library; public class Book { private

Re: Where to put methods for a jsp page?

2002-01-24 Thread Panagiotis Konstantinidis
I would say here *do not use EJBs until you absolutely need them*.They are advanced (if you have problems with JSP pages then imagine with EJBs), the deployment descriptor is complicated and they can be an overkill for the system. Unless you want to support thousands of users do not use EJBs.

Re: JDBC-ODBC trouble

2002-01-21 Thread Panagiotis Konstantinidis
It cannot find the clas in your classpath. Make sure it is there. You can also put the jar file that contains the jdbcobdc drivers in your /lib folder under your webapps project. Hope this helps :-) 21/01/2002 10:50:29, rookie jsp [EMAIL PROTECTED] wrote: Hi... I was trying to use

Re: MSACCESS JSP SOLUTION

2002-01-16 Thread Panagiotis Konstantinidis
No you do not, they come for free with the jdk. But as I told you I would not reccomend them for large systems... 15/01/2002 12:41:23, Wilson E. Lozano R. [EMAIL PROTECTED] wrote: ok Panos.. thanks, but, then i don't need to download any jdbc:odbc drver? ?? Thanks in advanced.

Re: JSP and MS Acces97

2002-01-15 Thread Panagiotis Konstantinidis
First of all you need to load the drivers. To do that you need: Class.forName(the whole path of the drivers here); After that the only thing you have to do is to open a connection with the speciffic DB server Connection con = DriverManager.getConnection(url of your database server,

Re: JSP and MS Acces97

2002-01-15 Thread Panagiotis Konstantinidis
? --- Wilson Ernesto Lozano RolOn Ingeniero de Sistemas --- On Tue, 15 Jan 2002, Panagiotis Konstantinidis wrote: First of all you need to load the drivers. To do that you need: Class.forName(the whole path of the drivers here); After that the only

Re: JSP, J2EE

2001-12-18 Thread Panagiotis Konstantinidis
18/12/2001 15:21:44, Chad Gray [EMAIL PROTECTED] wrote: Im pretty new to JSP, and im wondering what the big difference between JSP, and J2EE are? There is no difference. JSP is part of the whole J2EE platform. How different is JRun from JSP/J2EE? If i write code using JRun will it work on a

Re: JSP, J2EE

2001-12-18 Thread Panagiotis Konstantinidis
18/12/2001 16:27:32, Haseltine, Celeste [EMAIL PROTECTED] wrote: Lets see if I can shed some light on this for you. J2EE - Java 2 Enterprise Edition. The package from Sun the you can download, which contains all the additional libraries bundled together for you, such as the extended JDBC

Re: JSP, J2EE

2001-12-18 Thread Panagiotis Konstantinidis
Yes Forte is great. I would go for Forte. 18/12/2001 17:15:29, Chad Gray [EMAIL PROTECTED] wrote: Thanks everyone for the help! One last question. What is your favorite program to develop in? Forte? JRun Studio? Forte looks really nice so far! Probably should respond directly to me

Re: JSP, J2EE

2001-12-18 Thread Panagiotis Konstantinidis
the theoretical with what is realistic in your given development time frame, and your development teams skill level. Just my 2 cents worth! Celeste -Original Message- From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 11:10 AM To: [EMAIL PROTECTED

Re: OffBeat question...Java performance.

2001-12-14 Thread Panagiotis Konstantinidis
I think Sujit is right... The String a = aa; does absolutely nothing apart from creating a new String reference 2 times. I would expect the compiler to indicate something... 14/12/2001 10:35:10, Sujit [EMAIL PROTECTED] wrote: Is this the actual code you tested and got the output ... or

Re: OffBeat question...Java performance.

2001-12-14 Thread Panagiotis Konstantinidis
Hmmm.. Using jdk1.4 under windows 2000 I got the error message: not a statement: String a = aa; Declarign a String a; and changing the String a = aa; to a += aa; it worked but, despite my predictions, the first chunk of code run faster than the second! I would expect the second to be

Re: OffBeat question...Java performance.

2001-12-14 Thread Panagiotis Konstantinidis
and the other the value from the property length. Therefore I would expect more or less the same assignm,ent times for the a += aa; but the second one always seems to be slower. still I'm not convinced with my reasoning, can anyone else help us out. - Original Message - From: Panagiotis

Re: Problem deleting a file using JSP

2001-12-13 Thread Panagiotis Konstantinidis
this property from your code. If this does not succeed, you at least know that you are editing the correct part of the policy file. Then it is a matter of adding the correct pemissions. It seems like you have already done this, but it is the only solution I can offer. Ronald Wildenberg Panagiotis

Problem deleting a file using JSP

2001-12-11 Thread Panagiotis Konstantinidis
Hello there, I have written a test application that reads a file name from a database, creates a new File reference with the name read (e.g. File file = new File(rs.getString(filename); ) and then tries to delete it. The problem is that every time I am using the file.delete() method

Re: Drop-down box memory: Is my syntax wrong?

2001-12-04 Thread Panagiotis Konstantinidis
If you just want to print out the selected word then use: out.print(selected); instead of Response.Write('SELECTED'); And the if (rsBeachwear__orderby equals (ID)) should be if (rsBeachwear__orderby.equals (ID)) (notice the dot). 04/12/2001 15:02:39, Michael Pomeroy [EMAIL PROTECTED]

Re: Drop-down box memory: Is my syntax wrong?

2001-12-04 Thread Panagiotis Konstantinidis
And do not have space between equals and the value, i.e. it should be: rsBeachwear__orderby.equals(ID)) 04/12/2001 15:11:09, Panos Konstantinidis [EMAIL PROTECTED] wrote: If you just want to print out the selected word then use: out.print(selected); instead of Response.Write('SELECTED');

Re: JavaBean + Tomcat

2001-11-27 Thread Panagiotis Konstantinidis
Post the error you are getting and your JSP code from where you are calling the methods of the class. 27/11/2001 14:11:28, Henrik Johansson [EMAIL PROTECTED] wrote: Hi, I've created a very simple JavaBean with a getter and a setter method, just one String variable. I can compile it, but when

Re: TOMCAT APACHE?

2001-11-19 Thread Panagiotis Konstantinidis
Tomcat is a standalone Servlet/JSP engine. You could use it on its own for web sites with little traffic. For web sites with loads of traffic it si advisable to use Tomcat in conjuction with Apache. One advantage of Tomcat over JServ is that Tomcat supports JSP pages while JServ not (at least

Re: how to copile with com directory ?

2001-11-19 Thread Panagiotis Konstantinidis
javac -classpath path to com Main.java 19/11/2001 16:45:12, sufi malak [EMAIL PROTECTED] wrote: I have a class Main.java that is importing classes from a directory called com : root\Main.java root\com How to compile Main.java with com ? thanks

Re: JSP compiling

2001-11-14 Thread Panagiotis Konstantinidis
You do not have to. The Servlet engine will do it for you when you first load it in a browser. 14/11/2001 14:32:34, Alireza Nahavandi [EMAIL PROTECTED] wrote: Does anybody know hoe to compile JSP programs ? Thank you.

Re: Anyone ever tried running a web app (JSP) using Citrix 6.0?

2001-11-13 Thread Panagiotis Konstantinidis
Why are you not taking a look at Citrix's web site (http://www.citrix.com/) You might find some useful information there. 13/11/2001 17:17:37, Haseltine, Celeste [EMAIL PROTECTED] wrote: Joe, Simple answer is money. This company uses an outdated frame relay system to communicate between the

Re: javax.servlet.http.* not found

2001-11-02 Thread Panagiotis Konstantinidis
I thought the jar file that contains all the Servlet classes was called jsdk.jar... Anyhow. Your classpath seems right. Are you trying to compile the Servlets you are writing? You can run them directly from the web browser, so you would not have to worry about compiling as it will be done by the

Re: Swing - JSP

2001-10-25 Thread Panagiotis Konstantinidis
They are client side components not server side. You cannot do that unless you put them in an Applet. 25/10/2001 10:14:45, [EMAIL PROTECTED] wrote: Hi All, Any idea how to put a Swing component, i.e. JTree, JTable, etc, inside ( embeded ) a JSP page ? Thanks, Benoit

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
I think the only difference here is that Tomcat is a Servlet/JSP engine while Weblogic is a Servlet/JSP engine *and* EJB container (in a few words weblogic is a proper Application Server). Unfortunatelly while one of the most popular Servlet/JSP engines (Tomcat) comes for free, the most popular

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
You can run Tomcat in conjuction with Apache for web sites with loads of traffic. There is a version of Apache for Windows as well. Take a look at the Apache project web site http://www.apache.org and you can find loads of information about how to do it. There is an extensive documentation on

Re: Would like to know....

2001-10-24 Thread Panagiotis Konstantinidis
There is another way to do it in Windows 2000. My Computer...Properties...Advanced...Environment Variables and then append the path of your sql jar file to the end of the classpath variable. 24/10/2001 13:49:38, Praveen Potineni [EMAIL PROTECTED] wrote: Hi Alex, I have the same problem

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
for testing and possibly deployment on sites with *little* traffic (not a little traffic, sorry. :) --- Joseph B. Ottinger [EMAIL PROTECTED] http://adjacency.org IT Consultant From: Panagiotis Konstantinidis [EMAIL PROTECTED

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
! Celeste -Original Message- From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 10:52 AM To: [EMAIL PROTECTED] Subject: Re: Platform choice advice for deploying a website Take a look here: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat

entity reference is not terminated with semicolon

2001-10-23 Thread Panagiotis Konstantinidis
Hello there, consider the following code fragment (WML and JSP): go method=post href=%= response.encodeURL(/process?action=loginamp;fail= + java.net.URLEncoder.encode(response.encodeURL(/WAP/login/retryloginwml.jsp )) + amp;success= +

Error:Web server returned Error 500 (WAP browser)

2001-10-02 Thread Panagiotis Konstantinidis
Hello there. I am using JSP in order to send some WML to a WAPbrowser. I am writing th elogi in screen but every time I am clicking on the login link I am getting the following error message: Error:Web server returned Error 500 (WAP browser) It seems that the content returned from the web

JSP thread-safe

2000-08-04 Thread Panagiotis Konstantinidis
By default servlets generated from JSP pages are thread-safe. I guess that this means that the servlets generated implement the SingleThreadModel. My question is if requests to the same page will be serialized thus decreasing site performance. And what if I don't compile JSP pages