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
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
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
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
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
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
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
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
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
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
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
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
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
Hi!
put that tomcat/webapps aprt away
http://localhost/examples
will be the way it works (or should work if your installation failed)
Sascha
Hello to Holland,
perhaps it would be a good idea to specifie the problem a little bit
sascha
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,
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
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
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
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
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
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
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
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
24 matches
Mail list logo