You should be able to do a isSecure() on the request object to check if the
request is thru' secure channel.
-Sameer
Jason Novotny <[EMAIL PROTECTED]> wrote:
Hi,
I have a JSP that does a form submission, and I'm wondering if
there's any way I can detect if HTTPS is supported so that I can
Hi,
When we restarted tomcat, we are getting the below error while
connecting to MySql database:
-
Catalina.start: LifecycleException: Exception opening database
connection: java.sql.SQLException: Access denied for user
'root'@'localhost.localdomain' (using password: YES)
Hi there, can anybody help me on this.
Hi Dilan have you any more clue on this.
Problem:
I am using Tomcat 5.5.17 and tried running a sample datasource
application having a jsp page (see contents below) using the Cloudscape
database. I have added the driver jar into CATALINA_HOME/common/lib
dire
Oracle also installs its own jdk and may have changed the environment settings
have you checked the java version at command prompt. Notmally Oracle jdk is 1.3
and installed inside Oracle home dir.
Also you may want to try running tomcat from command prompt, it may show some
errors.
-Sameer
vee
Garret Wilson wrote:
It's as if two instances of Tomcat are being run in two separate JVMS:
one using the server.xml configuration, and another attempting to
deploy the .war files using some default configuration. The first set
of initialized servlets continue to run and accept connections. Wha
Everyone,
I found the answer to my second question, "Why isn't myServlet2.init()
called before the second call to myServlet1.init()?" It turns out it was
being called, but my debug trace statements had been redirected because
my init() method had successfully redirected debug output.
So the
Tomcat 5.5.16 seems to call a servlet's init() method several times, and
the specific init parameter is missing in all but the first.
I have a simple server.xml that includes:
example.com
value="/var/web/data/www.example.com/"/>
In www.example.com.war I have a web.xml f
hi
even i put jsp page in protected folder i am able to access them directly in
tomcat 5.0.
i am able to access these resticted pages directly
http://localhost:8080/protected/*.jsp
what i have to do to restrict this
this is my web.xml page
http://java.sun.com/xml/ns/j2ee";
xmlns:xs
Can anyone point me to a direction? I have no clue what is wrong, and all
the posts I have found all suggest to place the log4j.properties in the
common/classes dir. I have done this and it is not working.
It seems log4j is working, but the log4j config isn't working properly for some
reason. I t
In your jsp
<%@ page session="false">
Is this what you're looking for??
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, plea
I think Tomcat creates a session, unless you tell it otherwise.
http://wiki.jboss.org/wiki/Wiki.jsp?page=DisableSessionPersistence
I repeat the popular refrain "Google is your friend."
Michael Rimov wrote:
> Environment: Tomcat 5.5.17 using http connector, Servlet API 2.4.
>
> Hi All,
>
> Try adding something like
> <%@ page session="false" %>
> to your JSP.
>
Ugh, yup! That did it -- Been programming Servlets/JSP since about '98 and
never knew that. :)
Thank you very much!
-Mike
---
Michael Rimov wrote:
> I was working on a front controller that wouldn't instantiate a session
> unless absolutely necessary - (for scalability reasons) -- To my dismay,
> I was seeing a session created anyway.
>
> After some debugging, I came across the source of my problem:
>
> The following J
Environment: Tomcat 5.5.17 using http connector, Servlet API 2.4.
Hi All,
I'm not sure where to go from here, so I'm going to assume it's a Catalina
issue and go from there.
I was working on a front controller that wouldn't instantiate a session
unless absolutely necessary - (for scalability re
14 matches
Mail list logo