Oops !
Maybe it doesn't with JDK1.3 on Linux, because I've 4 servers running with
long up-times and my own machine using tomcat 3.1 AND JDK1.3. The problem I
found on NT was when using Tomcat as a service as soon as you logged off the
JDK was being shut down, but even this was a problem on the
I have been having problems getting tomcat to run JSPs for the last
week.
I have tried with 3.2b4, b5, b6 and now b7... and still get the same
problems: "cannot load servlet name: jsp"
I'm currently using RH Linux 6.2, with Sun's JDK1.3. I've also tried
this
on NT4, and Win2000 with the same
Hello Tomcat developers and advanced users!
I have following question:
I would like to use Jasper engine for template processing. I use
Tomcat with JSPs and its good, but I would like to alter Jasper usage
this way:
An JSP page is compiled into a Java source where the user's JSP
page extends
I wrote a small MVC framework and I have my controller mapped to a common
name like "dispatch.htm" and I send all requests directly to it, with a
parameter specifying the action. So, all the requests are always like:
a href="dispatch.htm?ACTION=XXXPARM1=YYY..."do something/a
It's working fairly
There are two getRequestDispatcher() methods.
One in the ServletContext that uses absolute paths (start with /).
One in the request that uses relative paths.
Looks like you need the absolute path one.
No. My understanding is that the one in ServletContext takes paths relative to
the
Hi, does anyone know how Apache can be used as server
for dial up ISP?
If so, can someone briefly explain how?
Thanks!
__
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
Hi,
I am currently working on a virtual hosting solution for JSPs / Java
Servlets for my company
fyi: i am using redhat 6.2, tomcat 3.2 beta6 (eagerly awaiting the final
3.2) and the SUN JDK 1.2.2 as the platform for all of this
i am doing all fine configuring virtual hosts and i think i have
Gal Shachor wrote:
At 09:30 AM 6/23/2000 +0200, you wrote:
This does require you to change mod_jk.conf, or just to change the
ApacheConfig task
and recompile...
From the above statement, it sounds like the only way to get Tomcat to
spit out a mod_jk.conf-auto file that uses ajp13 rather than
It appears to be an error that occurs while parsing jar files. ze probably
refers to a ZipEntry object. Perhaps, one or more of your jar files are corrupt?
jim
- Original Message -
From: "Christian Mallwitz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 13, 2000 8:36 AM
I have a huge tree of static html. Does this mean that anytime I serve
a page, I would have to first parse all the URLs and run them each
through the encodeURL method for every link that appears on every page?
Is there another (more automatic) way? The performance hit seems
prohibitive.
theo
i am writing a web based mail client in jsp. i have tomcat3.2 running
on a freebsd machine.
i am using java mail package and have managed to connect to the pop
server and get a list of the unread mail. but when i try to view mail
that is just plain text something strange happens.
the message
Hi,
i try to start apache with mod_jk. I compiled mod_jk using the source-dist
and copy mod_jk.so to APACHE/libexec. The lines in my httpd.conf are:
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
when i try to start apache i got this error:
That's the problem with not using cookies. Since (in most cases) you will
be using tomcat in conjunction with some other web server (tomcats limited
web server is not sufficient for heavy use), the web server will directly
serve your static pages - tomcat will never see them. If you need to
Title: RE: non-cookie session tracking?
Another option, assuming you know ahead of time which URLs on a page should have the session ID propagated, would be to use Javascript to grab the session ID off of the current page's URL, add it to the new page's URL, and then ask for the new page.
hey! that actually worked. thanks for the tip.
peter choe
CPC Livelink Admin wrote:
Maybe its that you need to replace "\n" with "BR" (Break Line) to get the
new lines in HTML, since HTML ignores the formatting of the input text.
(Unless you use the PRE tag I think)
-Original
Hi,
How do I stop tomcat from automatically loading applications in /webapps?
do I uncomment the ...context.AutoSetup ContextInterceptor in server.xml?
Will this effect anything else?
thanks!
This approach sounds promising, with much less of a performance hit than
doing it dynamically on the server side. Has anyone actually tried this
approach before?
The way the site works right now, any page that leaves the site is
brought up in a separate window anyway. So by the same token we
I've been delving through the Tomcat archives and various guru site
out there, trying to piece together a sound approach to handling
user authentication and rights access. I've seen some threads and
articles on using sessions, some references in the Tomcat archives
to JDBCRealm (which I cannot
I would like to write the output of a jsp file to a static html file
instead of sending it out to a browser. I have a pagebuilding system
that uses the power of jsp to do a lot of things, but I need to write
the resulting jsp to a file instead of streaming it out. Has anyone
done anything like
On Mon, 13 Nov 2000, John Ellis wrote:
All you need to do is create a virtual browser:
URL pageYouWant = new URL(completeRequestString);
InputStream in = pageYouWant.openStream();
// burn off the header from in, then write the rest to a file...
This will all be done, of course, in a
Hi,
Whenever I download a file using Tomcat (i.e. it uses
org.apache.tomcat.servlets.DefaultServlet) it works, except when I try to
download a Word document. Then the client side seems to get stuck. This is
reproducable on different client machines using different servers (Linux and
Sun). Is
Title: RE: non-cookie session tracking?
Well,
for the first one, they don't have a session yet - so the JavaScript just needs
to be smart enough to behave when it's not there. As sson as they hit a
dynamic page, they will get a session, and then the 'static' pages can use
it.
Hello,
I am trying to build 3.2b7 for Windows.
Using
WindowsNT 4.0 SP5
suns jdk1.3,
jaxp v.1.01
servlet.jar 2.2
here is the output of the compile:
Searching for build.xml ...
Buildfile: D:\Tomcat\jakarta-tomcat-3.2-b7-src\build.xml
prepare:
[mkdir] Created
Is it just word, or excel, powerpoint, etc too? Could this be the Frontpage
extentions/Office SP1a bug rearing it's ugly head? This bug causes issues
when Word tries to download the file, but it doesn't share the same browser
cookies/sessions and so it gets sent to a login page or something
Hi Jaroslav,
I already make use of user-defined JSP templates on my site
http://www.zzpost.com/. The
webapp runs a user-defined JSP then uploads the output to the users own
website.
The question you need to ask is, for what reason would you take the time and
trouble to "decouple" servlets from
Hello,
I've noticed a difference in behaviour in Tomcat 3.1, 3.2b7, and 4.0m4
regarding Windows SMB paths, like this one:
Context path="/ctx" docBase="\\machine\share\path"/
I included this same element (paths are altered here for security) on all three
server.xml. Tomcat 3.1 and 4.0m4
Remember, Servlets are not necessarily HTTP beasts. The servlet spec (from
my perusal) specifically leaves open what kind of environment the servlet
will live in. This is why there are specific HTTP extentions of the base
servlet classes. Now, that being said, I don't know of any other way to
Hi,
I followed the tomcat-IIS how-to to configes tomcat with IIS. It works
fine with http://localhost:8080; http://127.0.0.1 and
http://www.test.com/examples/, but if I changed the url to my project with
http header, for example, http://www.test.com,
it does not work. It asks me for username,
Just a guess, but try setting the content type to application/msword
instead of application/x-www-form-urlencoded.
Juan
CPC Livelink Admin wrote:
Is it just word, or excel, powerpoint, etc too? Could this be the Frontpage
extentions/Office SP1a bug rearing it's ugly head? This bug causes
Hi,
After configed with IIS 4.0, the url www.test.com/examples and
www.test.com:8080/myproject work well, but www.test.com/myproject does not
work. I con not change the port number to 80 because it is used by IIS.
Waiting for your reply.
Thanks,
Eric Min
DigitlaEmissary.com
Looks like it is not picking up the proper servlet.jar.
If I compile with the 2.3 servlet.jar, I get the same compilation
errors as you do...
-- Pierre
[EMAIL PROTECTED] wrote:
Hello,
I am trying to build 3.2b7 for Windows.
Using
WindowsNT 4.0 SP5
suns jdk1.3,
jaxp v.1.01
I had the same problem until I realiazed that I didn't have the tomcat_32
branch of jakarta-servletapi.
cvs co -r tomcat_32 jakarta-servletapi
-Original Message-
From: Pierre Delisle [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re:
Mark Franz wrote:
on my dev machine running Workstation 4.0 and the option
pack PWS I have to use
http://machinename:8080/dir/file.jsp
I have gone through all the properties I can think of but
nothing works to alieviate this requirement to use
8080 in the URL.
Your PWS option pack
Not Found (404)
Original request: /jakarta/isapi_redirect.dll
Not found request: /jakarta/isapi_redirect.dll
Mark G. Franz
-Original Message-
From: Michael J. Suzio [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Why do I have to
I'm having the same problem on solaris(apache_1.3.14, gcc version 2.95.2 19991024
(release))
Any tips or pointers are greatly appreciated! I've tried everything mentioned on
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
I have also collected kernel trace - apxs tries
Is jk_nt_service only available for the Tomcat beta builds?
Hi Richard,
Sorry for the misunderstanding. I think I finally see what you are
trying to do.
Suppose you have two web apps app1 and app2.
You are in a servlet in app1 and you want a RequestDispatcher
for a JSP (say my.jsp) in app2. You would:
RequestDispatcher rd;
String uri =
I run it with 3.1
Mark G. Franz
-Original Message-
From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 2:48 PM
To: '[EMAIL PROTECTED]'
Subject: jk_nt_service
Is jk_nt_service only available for the Tomcat beta builds?
I need to store the username/password entered by the user in order to use
them later to connect to an external system, so I tried changing login.jsp
to post to a jsp file rather than j_security_check.
The jsp then stores the username/password and tries to call j_security_check
as follows:
At 03:11 PM 11/10/2000 -0500, you wrote:
I'm using tomcat 3.2 and jdk1.3 and it works fine on debian. Haven't
tryed tomcat 3.1 with jdk1.3
-- I've had many problems trying to get this to work,
I started with the Debian tomcat, and have posted a few notes to this
group, but not gotten much
I just installed Tomcat for the first time and am trying to run a simple JSP
that uses a very simple custom tag. When I run the JSP, I am getting the
following Jasper compiler exception:
org.apache.jasper.compiler.ParseException: C:\tag_test.jsp(0,4) Invalid
directive at
-Original Message-
From: ' [SMTP:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 7:37 PM
To: [EMAIL PROTECTED]
Subject: auto-loading
Hi,
How do I stop tomcat from automatically loading applications in /webapps?
do I uncomment the ...context.AutoSetup
Uncomment, no ... comment out the interceptor for
AutoSetup and this will stop it loading everything
in $TOMCAT_HOME/webapps
Ypu'll then need to create a context for anything
you want loaded from there (admin/examples/test)
' wrote:
Hi,
How do I stop tomcat from automatically loading
The error is in the first line of your JSP file 'tag_test.jsp'.
org.apache.jasper.compiler.ParseException: C:\tag_test.jsp(0,4) Invalid
directive at...
The error message says it is a directive, but without the details, it is
hard to tell exactly what is wrong.
If you tell us what's
Well, I did it, and it was too easy.
Adding a line in SessionInterceptor.beforeBody():
response.addHeader("jsessid", (reqSessionId!=null) ? reqSessionId
: rrequest.getRequestedSessionId() );
And in httpd.conf:
LogFormat "%h %l %{jsessid}o %t
Hi Tomcat,
I have tried 3 times to sign out the mail list. Who can help me?
Best Regards,
Leslie
¸Ï¿ì×¢²áÍøÒ×È«ÐÂ163.comÃâ·ÑÐÅÏä
http://images.163.com/images/163com/
WAPÊÖ»ú--ÖÁ¿á´ó½±µÈ×ÅÄ㣡
I am getting this while using request.getOutputStream() to write binary data
is a JSP.
I did some more hunting and it looks like this is not allowed, and should be
done only in a servlet.
I is a shame, because it was only three lines of code and to go through all
the servlet sets just for just
Hello,
I have installed TOMCAT with Apache. I followed your user guide and then
tomcat faqs to install tomcat.
Now I am able to run .jsp files using both tomcat as well as Apache. I can
also run sample servlet provided alongwith examples. But I cannot run my own
servlet.
I have stored itin
Hello,I have installed TOMCAT with Apache. I
followed your user guide and then tomcat faqs to install tomcat.Now I am
able to run .jsp files using both tomcat as well as Apache. I can also run
sample servlet provided alongwith examples. But I cannot run my own
servlet.I have stored itin
try adding
this
servlet-mapping
servlet-namehi/servlet-name
url-pattern/hi/url-pattern
/servlet-mapping
to your
web.xml
-Original Message-From: Rasika
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 14, 2000 5:06
PMTo: [EMAIL PROTECTED]Subject: difficulty
in
Hello,I have installed TOMCAT with Apache. I
followed your user guide and then tomcat faqs to install tomcat.Now I am
able to run .jsp files using both tomcat as well as Apache. I can also run
sample servlet provided alongwith examples. But I cannot run my own
servlet.I have stored itin
Hi,
We are having a wierd problem here... here's the (short) story.
We are generating JPEG Images from one of our servlets (Java2D and the sun
Jpeg codec).
It shows up correctly in IE without problems... but when we try to print the
page (yep, some of our users want to do that), the images do
For Solaris:
apxs -o
mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris
-c *.c ../jk/*.c
On some systems, this will build the module correctly, but will fail at
runtime with a "symbol "fdatasync" not found". To fix, add -lposix4 just
before the -c in the above command.
hi,
is it possible to deny all access to a context
of my tomcat server except for clients
with a specific ip adress?
tnx
Hi,
I do have have the same problem, I am interested in sharing any solution
you can find.
Etienne
-Original Message-
From: Michel Lehon [mailto:[EMAIL PROTECTED]]
Sent: mardi 14 novembre 2000 8:17
To: [EMAIL PROTECTED]
Subject: Problems getting generated images through the IIS
On Mon, 13 Nov 2000, Michelle wrote:
I've been delving through the Tomcat archives and various guru site
out there, trying to piece together a sound approach to handling
user authentication and rights access. I've seen some threads and
articles on using sessions, some references in the
I am wondering if there is any SSL support in Tomcat 3.1.
If yes how do I do it?
Christian
57 matches
Mail list logo