I have the following code for an access filter. If I log in with the
role of admin everything works as expected. If I try to log in with
the role of user I immediately get a permissions error that denies access.
I've added ${sessionScope.USER} to the jsp pages as well as adding
entries for
I'm trying to clean up a few files that have JNDI data access. I want
to move the datasource name to the web.xml for easier maintenance and to
avoid having to hardcode it into the app.
If I have a datasource in the context-param area of the web.xml file,
how can it be called?
context-param
David:
In JSTL v1.0.x it's:
%@ taglib prefix=c uri=http://java.sun.com/jstl/core%
In JSTL v1.1.x it's:
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
It has never been what you indicated.
Jack
David Short wrote:
I just upgraded from Tomcat 5.0.28 to 5.5.4 and now my taglib declaration
I'm getting the following error in an insert, the update works fine.
Is there a way to get a more informative error message about the error?
Does anyone see a syntax error that I missed?
I'm using MySQL 4.1.8 and Connector/J 3.0.16.
19:13:20,906 INFO [STDOUT] -SQLException-
19:13:20,906
I'm getting the following error when my JSP form POSTs:
17:15:23,500 INFO [STDOUT] -SQLException-
17:15:23,500 INFO [STDOUT] SQLState: 42000
17:15:23,500 INFO [STDOUT] Message: Syntax error or access violation
message from server: You have an error in your SQL syntax; check the
manual
I'm using the following code to return results from drop down menues and
user input text.
It works fine as long as the text is an exact case sensitive match to
the data record.
What I want to do is evaluate the output the results of a user input
search based on
'param.field' in figure 3. i.e.
{
public static boolean match(String s, String regex) {
return s.matches(regex);
}
}
-Tim
Jack Lauman wrote:
I'm using the following code to return results from drop down menues
and user input text.
It works fine as long as the text is an exact case sensitive match to
the data record.
What I
done
for you.
-Tim
Jack Lauman wrote:
Tim:
This app is deployed with JBoss 3.2.7RC1/Tomcat 5.0.28. The JDK is
1.4.2_06.
The custom tag libraries were developed using JSTL 1.0. I'm not sure
how to
convert them. Can you use a 1.0 tag in 1.1? Below is an example of
an SMTP mail
tag the I'm using
I have an access control filter that is supposed to grant all access to
users wirh the role of 'admin' and limited access to those with the role
of 'user. Specifically a 'user' can only manipulate the data that
belongs to them. It uses 'contextPath.startsWith' and the users 'id'
(int) from
is /cowbell.jsp.
-Tim
Jack Lauman wrote:
I have an access control filter that is supposed to grant all access
to users wirh the role of 'admin' and limited access to those with
the role of 'user. Specifically a 'user' can only manipulate the
data that belongs to them. It uses 'contextPath.startsWith
Tim:
Thanks for your help. It's fixed.
Jack
Tim Funk wrote:
You probably want to ignore context path. Its servletPath you really
care about.
-Tim
Jack Lauman wrote:
Can you append the two together to get the desired result?
Jack
Tim Funk wrote:
getContextPath is the path name of the webapp
I'm using the following JavaScript to create lists of restaurants by
Location and Cuisine.
Is there a way to modify the script to accept a value for the restaurant
name that would
be similar to a %LIKE% function in MySQL when the user hits the submit
button?
Thanks,
Jack
script
I have the following piece of code that changes a password. Eclipse
gives the following
error message for line 11: duplicate local variable 'values'
Any help would be appreciated.
Thanks,
Jack
else if(pathInfo.equals(/changePassword)) {
sql.setSqlValue(SELECT * FROM User WHERE UserID = ? AND
I'm using the following code in a servlet to get a JDBC connection:
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(java:comp/env/jdbc/DBNameDS);
Connection conn = ds.getConnection();
It works fine... but I would like to be able to substitute DBNameDS
with the actual
I've posted this same question on the apache and tomcat lists for the
past six weeks and gotten no answers. Not even an insult saying the
question was stupid. If I could find the answer in the docs I wouldn't
be asking.
I have virtual host in apache 2.0.49 with mod_jk2 its DocumentRoot is
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 5:08 PM
To: Tomcat Users List
Subject: Repost... no response from numerous posts
I've posted this same question on the apache and tomcat lists for the
past six weeks and gotten no answers. Not even an insult
I have a similar problem with a simpler situation. I have a simple JSTL
tag and bean that alternate the colors in a table. If delpoyed under
JBoss 3.0.7 with Tomcat 4.1.24 it works. If I deploy it under JBoss
3.2.3RC2 with Tomcat 5.0.24 I get the same Unable to find setter method
for
This doesn't... http://www.domain.com/members/minutes/index.jsp
In mod_jk and webapp it was possible to do this. How can it be done
using mod_jk2?
Thanks,
Jack
Nikola Milutinovic wrote:
Jack Lauman wrote:
I have a site where users enter the members area through a URL like this:
http://www.domain.com
I have a site where users enter the members area through a URL like this:
http://www.domain.com/members/minutes.jsp
My workers2.properties file
[uri:/minutes/*]
group:ajp13:localhost:8009
How do you remap the members directory so that jk2 know that it point to
a tomcat app called minutes in the
Is there a JK2 equivalent of JkMount? If there is what is the JK2
syntax for:
JkMount /members/minutes/*.jsp worker1
Are there any docs or examples for this?
Jack
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This worked for me just subsitiute your path to workers2.properties
JkSet config.file /usr/local/apache2/conf/workers2.properties
Jack
Stefan Burkard wrote:
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use a
I want to add a variable to the web.xml file and be able to call in
from within a servlet, taglib or bean.
In a JSP 2.0 page using JSTL 1.1 I can use:
%=application.getInitParameter(variable_name)%
Can this be done? If so, what's the correct syntax to do it.
Thanks,
Jack
I'm trying to deploy a simple JSP(2.0) page with JSTL(1.1) core tags
using Tomcat 5.0.19. The project was build using eclipse(2.1.2) and
builds and deploys without errors.
Any help resolving this problem would be appreciated.
type Exception report
message
description The server encountered
I'm using JBoss with Tomcat 4.1.27. I manipulate the URL by adding
param-values that are parts of the actual URL to the web.xml file
I think this will work with a stand alone Tomcat. It looks like
'commons-sandbox' project 'chains' is similar.
i.e.
web-app
context-param
I'm trying to get apache 2.0.47, mod_jk-cvs to work with tc-4.1.27.
I can successfully load and execute the tc examples.
I have 3 webapps that are for a single url ie: www.java.com
They are all accessed from a subdirectory called members which
has a simple .htaccess .htpasswd scheme.
When I
.
Thanks,
Jack
Bill Barker wrote:
Doing the easy part only (mind you, I haven't tested this)
JkSet server.root /usr/local/apache
Jack Lauman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Are there ary docs for JkSet, JkSet2 JkUriSet?
Also is ther a way to override {$server.root
without any problems. I believe
the problem with mod_jk2 is that it doesn't inform apache2 where
it's config file is.
Jack
Jack Lauman wrote:
I think this is part of the problem. My server root is:
/usr/lib/apache2 with a sym link from /usr/lib/apache2/conf to
the actual config dir at /etc
to be set?
Any help would be appreciated.
Jack Lauman
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
file in /etc/httpd/conf/workers2.properties
Any help would be appreciated.
Jack Lauman
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Im getting the following errors with mod_jk v1.2.4, apache v2.0.46,
JBoss v3.0.7, RedHat v9.0 with the latest patches and j2sdk1.4.1_03.
Contrary to the messages in /var/log/httpd/mod_jk.log , mod_jk is
actually working.
I would apprecate any help on resolving this.
Regards,
Jack Lauman
[Tue
Sandra:
Get the J2SDK not the J2SDKEE
Set JAVA_HOME to C:\j2sdk1.4.1_02 or jdk1.3.1_07
Set J2EE_HOME to C:\j2sdkee1.3.1 (Not needed to run Tomcat)
Set CATALINA_HOME to C:\jakarta-tomcat-4.1.18 (or whatever you run)
Regards,
Jack Lauman
nwcascades.com
Birch Bay, WA
Hunter, Sandra wrote:
I
I get the following error in catalina.out with todays build from the
cvs. Tomcat will not start as a result of this error. Ran fine
yesterday.
Would appreciate any suggestions on how to resolve it.
Regards,
Jack
log4j:ERROR No appenders could be found for category
I'm getting the following error in my log files after each webapp is
loaded:
StandardContext[/soap]: Cannot find message associated with key
standardContext.namingInitFailed
I assume this has something to do with JNDI... how can I fix it?
Jack
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For
Tomcat 4.x (CVS 12-25-2001) fails to start.
I'm using the following configuration:
RedHat 7.0 (glibc 2.2.4-18.7.0.3)
jdk1.3.1_02
commons-utils-1.1
commons-collections-1.0
commons-digester-1.1.1
commons-dbcp-20011222
commons-modeler-20011222
commons-pool-20011222
crimson-1.1.3
xerces-1.4.4
I
I asked the same question about 2 weeks ago and never got a response.
The docs in web.xml are pretty vague, maybe a commented out example
could be added the distributions web.xml to reduce the confusion.
Regards,
Jack
Jakob Lemler wrote:
Hi all,
tried to install Jikes 1.15 and Tomcat
What is the correct syntax for setting Jikes as the default JSP
compiler in Tomcat 4.1-DEV. (I'm cvs sources).
I've tried adding the following initialization parameters, Tomcat
starts and loads without errors but it doesn't seen to be using Jikes.
servlet
servlet-namejsp/servlet-name
Try the following, your're 'server-info' report does not indicate
that mod_jk is configured:
Make sure you have something like the following the Apache
httpd.conf file:
Include /usr/java/tomcat/conf/mod_jk-auto.conf
JkWorkersFile /usr/java/tomcat/conf/workers.properties
JkLogFile
or you're using
a RPM?
Pier
Jack Lauman [EMAIL PROTECTED] wrote:
Apache 1.3.20, php 4.05, mod_perl 1.26, etc are all on the system.
They and other thing also compile and execute just fine. I just
don't have a clue whats causing this.
Jack
Roberto B. wrote:
To compile
in to your system APX ( Apache
webserver development kit ), libtool v1.3.3 or newer and autoconf
Roberto.
- Original Message -
From: Jack Lauman [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 2:16 AM
Subject: mod_webapp errors
), libtool v1.3.3 or newer and autoconf
Roberto.
- Original Message -
From: Jack Lauman [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 2:16 AM
Subject: mod_webapp errors
I have been trying to compile mod_webapp from the cvs sources
-tc40b7/apache-1.3'
make: *** [local-all] Error 2
Configuration:
RedHat 7.0 on a P3 w/1Gb RAM
GCC: 2.96
libtool: 1.3.5
automake 1.4
make: 3.79.1
bison: 1.28
JDK: 1.3.1 (Sun)
I'd appreciate any help in resolving this.
Thanks,
Jack Lauman
[X] +1 - Plain Text only. Strip HTML on the mailing list.
I agree strip out the HTML.
Original Message
Subject: Re: VOTE: HTML in Messages and politeness
On 29 Jul 2001 15:42:01 +0100, Pier P. Fumagalli wrote:
One thing I can ask to you guys is, do you want me to strip
Matt:
I ran into the same problem several days ago. If I used the
poolman.xml.example as poolman.xml... tomcat just plain died without
warning. No errors, nothing.
When I tried using the poolman.xml.template as poolman.xml...
it worked flawlessly.
Hope it helps,
Jack Lauman
Matt Barre
I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
jni_md.h. I put them in /usr/include and the problem went away.
Hope it helps,
Jack
joan wrote:
hey,
I tried to build mod_jk.so on openbsd but I failed...
My environment is as follows:
* OpenBSD 2.8 Current/ i386
To all:
You have my appologies... the damn thing was being configured when
it received some questionable mail. It's been fixed.
Regards,
Jack
Steve Downey wrote:
Some HTML mail triggered the virus detection software on our mail system.
The virus wall is set to return a message to the
Does anyone know the proper syntax for configuring mod_webapp
in server.xml (tomcat 4.0dev5) and httpd.conf (apache 1.3.19)?
The notes in server.xml referr to 'WebAppMount' which apparently
doesn't exist.
server-info provides the following:
Module Name: mod_webapp.c
Content handlers:
It's looking for the IBM Bean Scripting Framework you can find
it here: http://oss.software.ibm.com/developerworks/projects/bsf
Jack
Tommaso Righetti wrote:
HI, I am finally able to deploy services. However, when I'm running the
sample code which comes with the packet form apache (the
I downloaded the tomcat v4.0 from CVS, how do I get the Apache module
to compile under RedHat 7.0?
Jack
48 matches
Mail list logo