Hi,
I am trying to intercept the submit action of login.jsp. I am using FORM
authentication. The plan is to wrap the response in the Servlet Filter
to intercept j_security_check action to identify the username,
password and role to create a user object. In this way user profile is
available for
Hi,
This could be because Tomcat uses other -D option, which I am not
exactly sure of (refer the doc).
Besides, you need jdk 1.5XXX and you have to start the server from the
TOMCAT_HOME directory.
Also try to set the suspend=n option to suspend=y this will make the
debuggee to wait till the
This is what I found in the documentation
If using a J2SE 1.4 JRE, the compatibility package must be downloaded and
expanded inside the folder where Tomcat was installed
I am using tomcat 5.5
I was not able to get my debugger join the server until I ran the tomcat on the
command using
I thought
/distributable
XML element in web.xml does that automatically.
-Original Message-
From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 9:40 AM
To: Tomcat Users List
Subject: RE: tomcat load-balancing maintenance strategy?
You need to implement
The IP allocated to your machine must be STATIC.
If you built a internet site then ask your internet service provider to
allocate a static IP to your machine.
Otherwise, if you have built a intranet site talk to your system
administrator, probably he will find a domain controller.
I would try with using extension URL mapping. For instance,
url-pattern*.jsp/url-pattern in my web.xml.
And based on the URL sent by you and I thing the application root web context
is nbpapps. If this is true, then begin your URL under the url-pattern tag
with faces (based on the URL sent
This sound very much similar to error handling. However,If you could
explain exactly about what you are trying to do then probably we could
suggest an alternative to get it done.
Vinod
-Original Message-
From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005
sections into each jsp file. This makes adding new sections
to every page difficult.
Charles
-Original Message-
From: Ramu, Vinod [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 1:20 PM
To: Tomcat Users List
Subject: RE: {OT] Re: Jumping in and out of JSP
This sound very much
All the compiled JSP servlet classes are stored under
jakarta-tomcat-5.5.4\work\Catalina\localhost\yourwebcontext. Please
check the timestamp of the compiled file. If you think that it's a old
file then I would delete the context directory under
jakarta-tomcat-5.5.4\work\Catalina\localhost\ as
I would suggest
For JSP's,use url-pattern*.jsp/url-pattern.
And for Servlets. You could add a common starting name that maps to a
servlet path in the container. For instance, let's say all the URLs
starting with the path servlets map to some kind of servlet in the
container. Now add
This error is because you have a code that's trying to write response
after it's committed. If you can share the code that's causing this
error then may be we can be of some help.
Vinod
-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 8:45
I would achieve this be configuring my web.xml. Try this piece of code
servlet
servlet-nameMyServlet/servlet-name
jsp-file/webReg.jsp/jsp-file
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/webReg/url-pattern
/servlet-mapping
So when to
());
}
}
}
}
catch (Exception e) {
Logger.getLogger(nl.onvelvet.customer.PhotoServlet).error(LogUtil.getS
tack
Trace(e));
}
}
The rest is handled by Struts.
-Oorspronkelijk bericht-
Van: Ramu, Vinod [mailto:[EMAIL PROTECTED
You may have to use JSTL in your page.
JSTL provides a tag called import that has the capability to import
contents from other site to your page. So you may built a page that
looks like
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
c:import url=http://shoppingcarthost:8080/shopping/
Use jsp-file XML element (under servlet node) in your web.xml. Then
dispatch the request to this resource using
ServletContext.getNamedDispatcher(nameoftheresource). If you use this
method there is no need to use any path. It identifies the resources
based on the name that you pass.
Vinod
This has to do with the applicationresources.properties files that you
have configured in your struts-config.xml. It's not able to find the
properties file that you have specified under the message-resources
XML element, in the struts xml config file.
This properties file can be placed under any
Hi,
This what I did
1. I added below configuration
error-page
exception-typejava.sql.SQLException/exception-type
location/index.html/location
/error-page
2. Then added below lines to my doPost()
throw new ServletException(SQLException, new SQLException());
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 8:17 PM
To: Tomcat Users List
Subject: RE: Problem with error-handling
yeah it works. But i still cannot understand why my
code does not work. Theoretically my code should work
right?
--- Ramu, Vinod [EMAIL
Could we get the jsp code and web.xml configuration?
Vinod
-Original Message-
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 3:14 PM
To: Tomcat Users List
Subject: include / c:import problems
Hi,
We're using Tomcat 5.5.7 on Windows Server 2003 with Sun's J2SE
Hi All,
Could any one of you please let me know how to get the username?
For example, let's assume that I use BASIC authentication to authorize
the users of my site and I have a user who has logged in successfully.
During the coarse of this user's session, if I need to know the username
with
: Ramu, Vinod [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Wed, 20 Apr 2005 10:16:36
Hi All,
Could any one of you please let me know how to get
the username?
For example, let's assume that I use BASIC
authentication to authorize
the users of my site and I have a user who has
logged
21 matches
Mail list logo