Re: Accessing Base Document Directory from JSP

2001-05-22 Thread skolski
Hi, I don't know, if that helps you, but, I get the name in JavaScript. The function window.location.pathname; gives you the local part of the url, so Myapp/myfile you can then easily put this together with your absolute part of the url. Sascha

RE: Cartes Offertes

2001-05-18 Thread skolski
how can people be stupid enough to try to unsubscribe in this way after all that discussion and BIG subjects. maybe the human race should give up this planet. Sascha "Danny Angus" <[EMAIL PROTECTED]> on 05/18/2001 05:41:17 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTEC

Re: How to get changed class to reload

2001-05-17 Thread skolski
Hi, Oooops I have the Java sources in the class directory and in addition some java sources and class files n outher directories on my machine. And whenever I touch my JSP or ine of the java files in classes directory, everything what needs to be rempiled is recompiled, even the javas in total

Re: Install Tomcat on Wíndows 95

2001-05-17 Thread skolski
Hi again, maybe but if if I have a slight look at my configuration I'm very shure that Tomcat works with JAVA_HOME pointing to c:\jdk1.3\bin ... Sascha Benoit Jacquemont <[EMAIL PROTECTED]> on 05/17/2001 05:07:20 PM Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL P

Re: Install Tomcat on Wíndows 95

2001-05-17 Thread skolski
Hi, your entry set JAVA_HOME=C:\jdk1.3 is probably not right... Yo must point to the /bin directory instad... where the executables files are located set JAVA_HOME=C:\jdk1.3\bin should work... Sascha

Re: start tomcat server remotely --Help needed

2001-05-16 Thread skolski
Hi, which OS do you use? If it's Linux or Win2000 you can easily log in via telnet and start it as if you where siting in front of the keyboard Sascha

Re: How to get changed class to reload

2001-05-16 Thread skolski
Hi, I think you are wrong and my Tomcat Server makes me quite shure about this. You can put a reloadable flag in the context defifnition in the server.xml. (See my posting from 1 minute ago for details) Sascha

Re: How to get changed class to reload

2001-05-16 Thread skolski
HI, just have a look at your server.xml in tomcat/conf directory. There are context definitions. In these context definitions you can set a flag named reloadable to true: looks like this: for the context test. Sascha

Re: upload 1 GB files

2001-05-15 Thread skolski
Hi, ok, you can upload files via multipart form data . No problem. You can handle this by a servlet and write the files to your servers discs. But as we know there is quite a big overhead if we do so. Why don't you remember that nice FTP protocol? A ftp server is set up in a couple of hours (our

Re: web-based version of mailing list?

2001-05-15 Thread skolski
Hi, Just take one hour a dy to go throw that stuff, if you really work with tomcat devoloping every day, it is worth the time. But if you don't want, you can go to: http://mikal.org/interests/java/tomcat/index.jsp And seaerch the online archives.. Sascha

Re: Jsp reloading

2001-05-14 Thread skolski
Hi crowd, what I do is to touch the .jsp file whenever I update some classes far behind. If the classes are quite direct belonging to your webapp it can be a good idea to put them to /tkhome/webapps/yourapp/web-inf/classes. You can also put the .java files there and tomcat will compile them for

Re: Posting "multipart/form-data"

2001-05-13 Thread skolski
Hi Bo, I think I use the same class then you. my .jsp File looks like this: <%@ page import="com.oreilly.servlet.*" %> <%@ page import="com.oreilly.servlet.multipart.*" %> <% try { MultipartRequest multi=new MultipartRequest(request,"\\jakarta-tomcat\\webapps\\weblight2\\uploads\\", 1000

Re: Security Issue

2001-05-10 Thread skolski
Hi, you can define a welcome file in your webapp's web.xml. For syntax have a look at tomcat/conf/web.xml. You can then put for example an index.html to the dir and everything will be fine. Sascha

Re: Testing my installation

2001-04-21 Thread skolski
Hi! put that tomcat/webapps aprt away http://localhost/examples will be the way it works (or should work if your installation failed) Sascha

Re: Does anybody know how to configure Tomcat on Win95?

2001-04-16 Thread skolski
Hello to Holland, perhaps it would be a good idea to specifie the problem a little bit sascha

Problems with url in protected site

2001-04-08 Thread skolski
Hello List, I hope I do a simpley little error, but I'm blind enogh not to see it. The problem is the following: I'm running tomcat standallone at the moment. I've tried the security sample and have the following behavior. tomcat puts the context's root path into the secured subpath. So you see,

Re: security question

2001-04-06 Thread skolski
Hello Jeff, Hello List, thank you very much for your reply. A look at this example would have prevent me from spending a lot of time and writeing the other mail. The build in example doesn't work at my installation. That j_security_check stuff is missing. But that doesn't matter, I try to use bas

security question

2001-04-05 Thread skolski
Hello everybody, the "problem" is that I should have some security on my site. I think of authentifikation by a username and password and then access rights for special areas of the site. so far, so good. I started looking arround. I know have a login form, a jsp to chaeck username and password a

Re: why wont tomcat execute jsps properly for me?

2001-03-27 Thread skolski
Hello, I had the same problem. You must add the jdk\lib\tools.jar file to your classpath. You can do that in Autoexec.bat by adding ;d:\jdk1.2.2\lib\tools.jar to your classpath in autoexec.bat. For me that worked, Sascha Kolski

Re: Adding Contexts in Server.xml

2001-03-27 Thread skolski
Hello, the easiest way is to put your web aplication to the tomcat/webapps directory. Because the paths in server.xml are relative to that webapps dir. For example you have webapps/examples defined in you server.xml. So put your test directory to the webapps folder and edit your server.xml to

Re: Excel to XML

2001-03-17 Thread skolski
Hello, the easiest way could be to use the .csv Format in Excel instead of .xsl. Then Excel stores the files in a very easy to handle format (cells seperated by commas). Then jou can read this file in your Java program as a text file and generate your xml file. Sascha Kolski

Re: AW: Tomcat, XInclude and XSLT

2001-03-14 Thread skolski
Hello everybody, first I want to thank you for your quick reaction. But the question is, how to tell Tomcat to do that for me automatically. My files are so far valid, that I can process them manually (with xt). But if I include the Tomcat starts to do the insertion but doesn't put that resultin

Re: Tomcat won't honor requests for .xml files?

2001-03-14 Thread skolski
Hello, in the servers.xml file, located in /conf directory, you should declare your projekt's path. e.g. Context path="/projekt" docBase="webapps/projekt" debug="0" reloadable="true"/> With the webapps directory located in the tomcat directory. On the other hand you have to look at the web.mx

Tomcat, XInclude and XSLT

2001-03-13 Thread skolski
Hello everybody, I am playing arround with that TomCat. It generates HTML Code of my .xml-files. That works. I use the XInclude thing to put multiple .xml files together into one large. That also works. But the question is, how to do both of that? Putting the .xml files together _and_ parse them