I put a 'return' statement after every 'forward' statement in all my jsp
pages and now it seems to be working. Thanks for your feedback.
Actually, my linebreak occurs in the <% %> tags. I think my email
client might have reformatted my output before sending.
[EMAIL PROTECTED] wrote:
You w
e?
[EMAIL PROTECTED] wrote:
Actually, the line end after the first line is sent back to the client,
with apropriate html headers invented.
<%@ page language="java"%><% // now the line end is in java not in html
Yep, looks ugly.
What is even worse is code that sends a redirect
I have a jsp page that processes a login. The (simplified) code is
something like this:
<%@ page language="java"%>
<%
String userid = request.getParameter("userid");
String pw = request.getParameter("pw");
/* code to check user id and password */
if (user not found)
pageContext.forward("log
KEREM ERKAN wrote:
OK, start with downloading and installing a binary version of Tomcat for
your OS and also download the 1.2.10 version of mod_jk. I think we should
handle the rest off list not to bother the list anymore.
Just to give you another option if you like. I don't even use mod_jd.
Peter Flynn wrote:
If you have a tomcat webapp that serves jsp's such as
http://localhost:8080/mywebapp, then you can map jsp requests to that
webapp using JkMount /mywebapp/*.jsp
Ah...this exposes the gap in my understanding.
Where do I get a "tomcat webapp that serves jsp's"?
This is
I have a MySQL database in which I created a database named, javatest,
and I am using Tomcat 5.5.9. I have unable to connect my database using
Java's DataSource method. Here is my ROOT.xml setup for my application
context:
username
javauser
Caldarale, Charles R wrote:
To again quote from the Tomcat doc for the path attribute of the
element:
"The value of this field must not be set except when statically defining
a Context in server.xml, as it will be infered [sic] from the filenames
used for either the .xml context file or the do
Allistair Crossley wrote:
Hi,
The docBase is just the folder where your web applications are located. You
need to have a folder in applications for your web application. For the empty
path application this is /ROOT.
Thus
Means a folder at
/home/tomcat/applications/ROOT/META-INF/context.
Allistair Crossley wrote:
Nearly. Rename your file ROOT.xml and a path of /ROOT and you're away. The
other alternative is create in your web application folder META-INF/context.xml
Allistair
Thank you for your prompt replay, Allistair. I choosed the second
option and created the META fold
This is probably an obvious question to most but I am new with tomcat
5.5 so I am still trying to figure things out. I want to create a web
project with the document base in /home/tomcat/applications as opposed
to the normal webapps folder. This is what I have in my server.xml:
Just curious, what version of apache are you using? I am trying to get
tomcat 3.2 to work with apache 2.0 but I couldn't compile mod_jk. It
says something like it couldn't find http_global_conf.h.
Regards,
Michael.
maarten hartsuijker wrote:
>we have been running tomcat 3.2.2 with apache, m
Hi. I am trying to configure Apache(2.0.16) on my linux system (redhat
7.1) with tomcat (3.2). According to tomcat's documentation, I should
try to compile my own mod_jk module by downloading the source for
jakarta-tomcat. I downloaded it and then I ran the command as per
documentation:
ap
12 matches
Mail list logo