Hello,
When exceptions are thrown in my servlets and the Stack Trace is printed, I can see
that java can find the line where the error ocurrs in some classes, and in some others
not. For example:
In some classes here, actually my own classes, it says Unknown Source
On Mon, Feb 16, 2004 at 03:44:53PM +, James Neville wrote:
Cancel that - this is called *before* any of the servlets are initialised :(
Any better ideas?
James, do you need the servlets to be already initialized???
Because Tomcat can be completly set up, and still none of the servlets
I don't think you can.
In web.xml you only make the named DataSource available for your webapp, but the
DataSource must be setted up already (in server.xml)...
Therefore, I think there is no possible way to do it. Does anyone know a solution, I
will be interested to know it too!
Jose
On
connections.
I'd be interested to see if it works,
Adam
On 10/03/2003 12:30 AM Jose Alfonso Martinez wrote:
On Wed, Oct 01, 2003 at 11:37:39AM -0500, Matt Raible wrote:
I already do this, but when I reload my context, I get two database
connections, rather than one. So each time I reload, I
On Wed, Oct 01, 2003 at 11:37:39AM -0500, Matt Raible wrote:
I already do this, but when I reload my context, I get two database
connections, rather than one. So each time I reload, I get an additional
connection - eventually resulting in an OutOfMemory Error (which I'm
attributing to this)
Hardy wrote:
On 09/28/2003 06:09 PM Jose Alfonso Martinez wrote:
Do you really need to maintain a session, even when the user is just
browsing static html files (before logging in)??? If the answer is no,
then you could have an html login form.
Try it! If tomcat doesn't have a session id
Adam,
I am in the same issue as you and haven't come out with any workaround yet...
However, in my site, the login form could be an html because I don't need to maintain
a session until the user has logged-in.
Do you really need to maintain a session, even when the user is just browsing static
Hi guys,
Does any one know if there is a possibility of tomcat, for any reason, to reload a
context without telling it to do so
I am having a problem that after 2 or 3 days without reloading tomcat,
pooled-connections from the datasource get exahusted.
The only case I have seen that the
: Alfonso Martinez [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 01, 2002 6:00 AM
Subject: Re: Form auth
One way to do this is to create a filter for the protected resources. When
accessing them, the filter gets invoked. It checks on the session wheter
)) %
jsp:forward
page=web-inf/classes/BookStore/DispatchServlet/
Thanks in advance.
Nalini
--- Alfonso Martinez [EMAIL PROTECTED]
wrote:
I am not really sure about your form sintax:
FORM method='POST' onsubmit=jsp:forward
page='DispatchServlet'/
...
try
FORM method
One way to do this is to create a filter for the protected resources. When accessing
them, the filter gets invoked. It checks on the session wheter the user has already
logged in or not. If not, it redirects to the login page which in turn redirects to
the protected resouce. What do you guys
I am not really sure about your form sintax:
FORM method='POST' onsubmit=jsp:forward
page='DispatchServlet'/
...
try
FORM method='POST' action=/DispatchServlet
...
I hope this helps.
Jose Alfonso
On Thu, Oct 31, 2002 at 09:16:19AM -0800, Nalini wrote:
Hi,
I am writing my first JSP,
I guess Tomcat complies too, at least on my expierence. The error ocurrs when the
jsp gets converted into servlet code:
%=blah();%
into
out.write(blah();); // servlet code
... therefore the semicolon should be omitted for the servlet to be compiled
To enable sessions without cookies one must do an encodeURL() on every link. Are there
any other alternatives??? Does it really work???
+That's a lot of work, so I wanted to ask before doing it. Thanks a lot, and sorry if
+this tread is a little out of topic.
Jose Alfonso
--
To unsubscribe,
I use PostgreSQL. I needed transactions and foreign keys. To enable transactions in
MySQL you have to use InnoDB (or Gemini I guess). I did not have much time to learn,
so I better switched to PostgreSQL with good results.
Jose Alfonso
On Wed, Sep 25, 2002 at 09:17:05AM +0800, Atif Shahab
.
thanks,
Paul
Alfonso Martinez wrote:
Hi Paul,
I am a newbie too, but trying to help. I had a problem like yours recently and
found an error in my server.xml. I know you checked that file already, but can you
send those (also web.xml) files to me please to see what I can do? Thanks
Hi Paul,
I am a newbie too, but trying to help. I had a problem like yours recently and found
an error in my server.xml. I know you checked that file already, but can you send
those (also web.xml) files to me please to see what I can do? Thanks
Jose
On Fri, Sep 20, 2002 at 11:10:41AM -0500,
Thanks, thanks, thanks a lot Jake. It is working now!!!
As you said, user should be username,
also ds.getConnection(, ) should be ds.getConnection()
My system was running OK on Tomcat 4.0.1/mysql. Problems arrised when I
migrated to Tomcat 4.1.10/postgresql.
I really thank you. You saved me
18 matches
Mail list logo