Hi,
Lets say I have a Welcome.jsp page. How can i get the completely URL to
this page from within the Welcome.jsp page ?
Welcome.jsp could be under
http://mydomain.ding.com/blah/bloop/Welcome.jsp
OR
http://yourdomain.dong.com/yum/dum/Welcome.jsp
So how do i access what URL was used to access
Hi,
Lets say I have a Welcome.jsp page. How can i get the completely URL to
this page from within the Welcome.jsp page ?
Welcome.jsp could be under
http://mydomain.ding.com/blah/bloop/Welcome.jsp
OR
http://yourdomain.dong.com/yum/dum/Welcome.jsp
So how do i access what URL was used to access
Hi,
I have a JSP page on which i need to create two lists side by side and
have two buttons between them - Add and Remove. I have other stuff on
the same JSP page as well. like text boxes, check boxes etc.
How do I get my add and remove buttons to work so that i can capture a
mouse click on
Hi,
I have a JSP page on which i need to create two lists side by side and
have two buttons between them - Add and Remove. I have other stuff on
the same JSP page as well. like text boxes, check boxes etc.
How do I get my add and remove buttons to work so that i can capture a
mouse click on
-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:52 PM
To: Tomcat List
Subject: Need to create two lists and add remove data between
them ?
Hi,
I have a JSP page on which i need to create two lists side by
side and
have two buttons between them - Add
Hi,
Many times we come across a lot of out.println( ... ) statements in our
servlets:
public class MyServlet extends
{
doPost( ... )
{
.
.
out.println(html);
better ideas to do this ?
Mufaddal.
On Tuesday, February 25, 2003, at 01:57 PM, Mufaddal Khumri wrote:
Hi,
Many times we come across a lot of out.println( ... ) statements in
our servlets:
public class MyServlet extends
{
doPost
Hi
I have a user defined as admin having admin, manager roles. I can
access the tomcat - manager utility thru the browser but am unable to
access the admin utility. When i try to goto
http://localhost:8080/admin it says - Access to the specified resource
() has been forbidden.
am i missing
Hi
I have a user defined as admin having 2 roles: 1. admin, 2 manager.
I can access the tomcat - manager utility thru the browser, but am
unable to access the admin utility.
When i try to goto http://localhost:8080/admin it says - Access to the
specified resource () has been forbidden.
Am i
Hi ,
Am i doing something wrong while using jsp:setProperty ... / ?
My bean has the following properties:
/
/---
DBReader dbReader = null;
DBWriter dbWriter = null;
public void setDbReader(DBReader
Hi ,
Am i doing something wrong while using jsp:setProperty ... / ?
My bean has the following properties:
/
/---
DBReader dbReader = null;
DBWriter dbWriter = null;
public void setDbReader(DBReader
.. its throwing an
exception at this line :
if (pageContext != null) pageContext.handlePageException(t);
On Monday, March 3, 2003, at 11:24 PM, Erik Price wrote:
Mufaddal Khumri wrote:
[...]
In my JSP page i have the following code
jsp:useBean id=faqHelper class=FAQHelper scope=session
jsp:setProperty name=faqHelper
property=dbReader
value=%=
(Object)session.getAttribute(DBREADER)% /
I have the following taglib descriptor defined
//
__
taglib
tlib-version1.0/tlib-version
jsp-version1.2/jsp-version
short-namecw/short-name
urihttp://www.wmotion.com/tomcat/coursewizard-taglib/uri
be from the email client.
Erik
Mufaddal Khumri wrote:
I have the following taglib descriptor defined
//
__
__ __
taglib
tlib-version1.0/tlib-version
jsp-version1.2/jsp-version
short-namecw/short-name
urihttp
Sorry, abt that ... that was a typo, I do have it defined as:
tlib-version 1.0/tlib-version
The problem persists .. any cues ?
On Tuesday, March 4, 2003, at 02:14 AM, Erik Price wrote:
That taglib descriptor has a tlib-version of .0
Mufaddal Khumri wrote:
Yes, I do have the XML declaration
/rtexprvalue
/attribute
/tag
/taglib
On Tuesday, March 4, 2003, at 02:36 AM, Erik Price wrote:
Mufaddal Khumri wrote:
Sorry, abt that ... that was a typo, I do have it defined as:
tlib-version 1.0/tlib-version
The problem persists .. any cues ?
Well, I just checked my own taglib descriptor
Hi,
Thanks Eric .. that was the problem .. the order ! ... the taglib
documentation just said .. you need these elements .. never knew that
order would matter.
Thanks for your help.
On Tuesday, March 4, 2003, at 02:59 AM, Erik Price wrote:
Mufaddal Khumri wrote:
Hi ...
From the error i
I have a .jsp page which has the following contents:
/
/---
html
%
// if the user is not authenticated, we need to send them to the login
page
if(session.getAttribute(USER_AUTHORIZED) ==
I have a .jsp page which has the following contents:
/
/---
html
%
// if the user is not authenticated, we need to send them to the login
page
if(session.getAttribute(USER_AUTHORIZED) ==
)
at java.lang.Thread.run(Thread.java:554)
On Wednesday, March 5, 2003, at 02:43 AM, Erik Price wrote:
Mufaddal Khumri wrote:
Now if the USER_AUTHORIZED attribute is not set, it will enter the if
block and get redirected to the login.jsp page. The browser shows me
the content of the body
I have a .jsp page which has the following contents:
/
/---
html
%
// if the user is not authenticated, we need to send them to the login
page
if(session.getAttribute(USER_AUTHORIZED) ==
- it specified by the JSP spec.
-Tim
Mufaddal Khumri wrote:
I have a .jsp page which has the following contents:
/
/-
--
html
%
// if the user is not authenticated, we need to send them
Now, since a request.sendRedirect( .. ) wont work from within an
included .jsp page ... i am trying to use the jsp:forward ... / tag.
/
/---
html
%
// if the user is not authenticated, we
Hi
I have a tag handler class called Context ... what does the following
error mean ? cannot access member of class XYZ with modifiers ?
org.apache.jasper.JasperException: Class
org.apache.jasper.runtime.TagHandlerPool can not access a member of
class
Hi
I have a tag handler class called Context ... what does the following
error mean ? cannot access member of class XYZ with modifiers ?
org.apache.jasper.JasperException: Class
org.apache.jasper.runtime.TagHandlerPool can not access a member of
class
Filip
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:37 PM
To: Tomcat List
Subject: Does anybody know what this error implies ?
Hi
I have a tag handler class called Context ... what does the following
error mean ? cannot access member
The problem:
We have some codebase that uses a legacy connection pool manager (cpm)
to manage database connections with mysql. The very first time the
login.jsp is used by a user causes an instance of cpm being created
and stored in the application context. The cpm gets and frees
Hi:
I implemented ServletContextListener in my class. I then wrote the xml
in the web.xml file and started tomcat. The error tomcat threw tells me
that it did not recognize the listener and listener-class elements ?? i
have them declared in the web.xml as:
web-app
!--
: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 6:41 AM
To: Tomcat List
Subject: Servlet Context Listener problem...
Hi:
I implemented ServletContextListener in my class. I then wrote the xml
in the web.xml file and started tomcat. The error tomcat threw tells me
that it did
CHANGED the reference to the dtd and it worked. That was the error
because I was referencing the old dtd which does not recognize listener
or listener-class.
I had:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
I have defined a listener class that implements:
public void contextDestroyed(ServletContextEvent sce) { ... }
The problem is this method is being called twice when i use the tomcat
admin manager to reload the webapplication by clicking on the Reload
link. Why does this happen ? Is this
hi,
Is there a way to control the refreshing of html pages in tomcat ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
caching is also easy. Again - google is your friend. (cache jsp)
-Tim
Mufaddal Khumri wrote:
hi,
Is there a way to control the refreshing of html pages in tomcat ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
,no-cache);
response.setHeader(Pragma, no-cache);
response.setDateHeader(Expires, 1);
%
Mufaddal Khumri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well i have the following in all my jsp pages.
meta http-equiv=Cache-Control content=no-cache
meta http-equiv=Pragma content=no-cache
Hi,
Am using tomcat 4.1.24.
Have a XYZ.jsp with a form on it take data from the user. Once the user
clicks submit the data is stored in the database and the data that the
user entered is shown to him on ABC.jsp.
The problem is that the user can enter anything in the text field and
text
();
}
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:51 AM
To: Tomcat Users List
Subject: Suggestions ?
Hi,
Am using tomcat 4.1.24.
Have a XYZ.jsp with a form on it take data from the user. Once the
user
clicks submit the data is stored
();
}
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:51 AM
To: Tomcat Users List
Subject: Suggestions ?
Hi,
Am using tomcat 4.1.24.
Have a XYZ.jsp with a form on it take data from the user. Once the
user
clicks submit the data is stored
Hi,
I have a taglib that needs to include a .jsp file .. .how can i do so ?
if i try doing a out.println( %@ include file=\ + mySomething.jsp
+ \ %) in my taglibrary called myTag it just spits out the exact
same line in the output. The same happens when i use a
out.println(jsp:include
to your problem - Better define the code in mySomething.jsp
as
java function and call that function in include file as well custom
tag, and
use one at a time.
Regards
KP
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 1:45 AM
To: Tomcat
The root cause below told me that the Cataglog_jsp.java threw an error
at Line 75.
Line 75 in that file is:
JspRuntimeLibrary.include(request, response, /include/header.jsp,
out, true);
The above code corresponds to the following line in Catalog.jsp:
jsp:include page=/include/header.jsp
thanks a zillion, that worked :)
On Friday, August 15, 2003, at 09:17 AM, Bill Barker wrote:
Assuming that your Tag extends TagSupport try:
pageContext.include(mySomething.jsp);
Mufaddal Khumri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I know what the problem is and I know
Hi,
Sometimes when a user clicks on a link on one page it becomes necessary
to send parameters to the next page
lets say i have a href='MyFavourite.JSP'?id
=2,path=/myproject/mydirectory/MyOtherJSP My Favourite JSP/a
when i will click on the above link it will get transformed into :
When I do a getParameterNames() . i get the id back ... but not
the path is my parameter seperator not correct ? i am using a
, (comma) to seperate two parameters.
On Thursday, March 6, 2003, at 04:55 PM, Mufaddal Khumri wrote:
Hi,
Sometimes when a user clicks on a link on one
Hi,
I have a custom tag. Inside the tag i am accessing a database and
populating a vector. The contents of the vector are then rendered as
HTML by using the tag on a JSP page.
Problem is that when i add new data to the database and refresh the
page being rendered. It does not show me the new
Hi,
I have two jsp pages. : First.jsp Second.jsp
In First.jsp i do:
input type=hidden name=id value=%=u.getId()%
jsp:forward page=Second.jsp/
In Second.jsp I need to access id :
String sId = request.getParameter(id);
When i do this ... i get sId = null. How do I pass this parameter from
Have you edited your server.xml ?
!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8443 minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=100 debug=0
The certificate that you generate ... is your certificate generation
application associating the host name and the certificate ? Lets say
the host tomcat is running on is my.webserver.com then is your
certificate generating app associating this with the certificate its
generating ?
this with the certificate its
generating ?
Thanks.
On Friday, March 14, 2003, at 03:19 AM, Mark Liu wrote:
Hello, thank you very much for your reply.
I think server.xml is irrelevant to my problem, since
I am able to run Tomcat SSL using the certificate that
is generated by keytool.
--- Mufaddal Khumri [EMAIL
Is your certificate format generated by your little java program
exactly like the keytool generated certificate ? Have you tested your
certificates with other applications to see if you are producing them
correctly ?
thanks.
On Friday, March 14, 2003, at 09:21 AM, Mark Liu wrote:
I know you
tomcat.
Anywhere I can check the format of the
keytool-generated certificate?
--- Mufaddal Khumri [EMAIL PROTECTED] wrote:
Is your certificate format generated by your
little java program
exactly like the keytool generated certificate ?
Have you tested your
certificates with other applications to see
wrote:
Well, I've never tried any other application. I only
know that I can import it into the keystore, I can
also import it into the browser (IE).
--- Mufaddal Khumri [EMAIL PROTECTED] wrote:
Do your certificates work with other applications in
other scenarios ?
On Saturday, March 15, 2003, at 12
conjecture sound reasonable?
Thank you for your continued education.
Mark
--- Mufaddal Khumri [EMAIL PROTECTED] wrote:
I suggest that you try using your certificate with
other applications
for instance send yourself a digitally signed email
using your
certificate. If your certificate works
What error or exception shows up ? Can you paste the logs from the log
file ? Not knowing what exception shows up its difficult to understand what
the problem might be.
Thanks.
At 06:30 PM 3/15/2003 -0800, you wrote:
Hi All!e
Not sure if this is valid for our topic but it does
involve Tomcat
Hi ,
In my servlet I have the following code:
String str = request.getParameter(name);
if(str.equals(xyz) == true)
{
str = ChangedName;
request.setParameter(name, str); // - how
do i do this ??? There is no method as request.setParameter()
}
try
{
String path =
is there for.
you can also look at JSP forward, that allows you to set parameters,
not sure how this translates to a servlet
http://java.sun.com/products/jsp/syntax/1.1/syntaxref1110.html
filip
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 12:33
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 12:33 AM
To: Tomcat List
Subject: request parameter question ...
Hi ,
In my servlet I have the following code:
String str = request.getParameter(name);
if(str.equals(xyz) == true)
{
str
What is at line 250 ... paste your code here helps in debugging
issues like this.
On Thursday, May 29, 2003, at 08:13 PM, chanan braunstein wrote:
Hello,
I have a page that uses a sendRedirect. There is a bunch of logic
at
the top of the page, but really nothing much is being sent
I get the following error in tomcat:
java.lang.ClassCastException
at
org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:129)
I looked at EditOffering_jsp.java and it has this at line 129:
locationHelper =
(com.wavesinmotion.cw.classes.jsphelpers.LocationHelper)
Made a typo in my previous email .. heres the corrected email:
I get the following error in tomcat:
java.lang.ClassCastException
at
org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:129)
I looked at EditOffering_jsp.java and it has this at line 129:
locationHelper =
chance the class
com.wavesinmotion.cw.classes.jsphelpers.LocationHelper
resides in more than one place?
or did you reload the context?
Filip
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 3:17 AM
To: Tomcat Users List
Subject: Class cast
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 3:31 AM
To: Tomcat Users List
Subject: Re: Class cast exception ...
no ... its just in one place neither have i reloaded the context. Even
if i did reload the context .. it should have found
)
On Friday, June 13, 2003, at 07:16 AM, Yoav Shapira wrote:
Howdy,
Print out the value of session.getAttribute(DBREADER) before you set
it: that
way you can see what its real runtime class is. It probably won't be
that
locationHelper class you're trying to cast into...
Yoav Shapira
--- Mufaddal
I am using Tomcat 4.1.29
I have a bodytag called Page
In the constructor of this Tag I do this:
HttpSession session = null;
try
{
session = pageContext.getSession();
}
I have got a ServletContextListener that does initialization and
cleanup for my webapp. I was wondering if there was a way to invalidate
all sessions to my webapp in this Listener ? If not, in what way can I
invalidate all sessions when i start / reload my webapp ?
Thanks
and
comments in server.xml.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 2:31 AM
To: Tomcat Users List
Subject: cleaning up sessions ...
I have got a ServletContextListener that does
do i achieve this ?
Thanks.
On Wednesday, September 17, 2003, at 12:34 PM, Mufaddal Khumri wrote:
When i specify saveOnRestart:false and reload or start my webapp,
the users navigating the website now have an invalid session .. on top
of all pages i do a checkAuthetication .. how do i check
Exactly. I have a session attribute in my session that i set to true .
and if that session attribute is not present or is false i redirect
them to the authentication page.
I did the following to my server.xml :
Manager className=org.apache.catalina.session.PersistentManager
sessions between
restarts.
To check your code works correctly, don't restart Tomcat... close your
browser window and start a new instance of the browser (or let the
session time out in a single browser).
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Wednesday
());
}
}
On Wednesday, September 17, 2003, at 02:08 PM, Mufaddal Khumri wrote:
To test I did the following:
1. started tomcat.
2. started a browser, logged into MyApp and used it.
3. stopped tomcat and restarted tomcat . (kept the browser window
open).
4. went back to my browser window and tried
Hi,
I am trying to implement the HttpSessionListener (the same class
implements ServletContextListener). The code for which is below.
1. I open a browser window , use MyWebApp after logging in it.
2. I open the tomcat manager and reload my MyWebApp. I go to the
console at this point and see
if sessions
were
persisted by the container prior to the contextDestroyed event? ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 11:27 PM
To: Tomcat Users List
Subject: Problems
, tomcat would detect an invalid session being used
and invalidate the old session . How do I deal with this problem ?
On Thursday, September 18, 2003, at 09:16 AM, Mufaddal Khumri wrote:
No, it would not . But if i understand it right .. .the code below in
server.xml should not persist any
Hi,
I am using tomcat 4.1.18. I want to be able to redirect a user to a
standard error page 500 when someone tries to access a .jsp in my
webapp. Is there a standard mechanism to do this in tomcat or will i
have to do:
Hello,
I get a pop up icon for org.apache.catalina.startup.Bootstrap on
my doc on MAC OS X when I click on the link in my web app which
generates
and sends a pdf file to the client browser. Once this popup is there
the application
works as expected, but if I quit this popup, tomcat shuts off
Hello,
I get a pop up icon for org.apache.catalina.startup.Bootstrap on
my doc on MAC OS X when I click on the link in my web app which
generates
and sends a pdf file to the client browser. Once this popup is there
the application
works as expected, but if I quit this popup, tomcat shuts off
Hi,
I have a web app and am running it under Tomcat 4.1.18. This might be a
very common issue that I am facing. Basically the first time a .jsp
page gets hit .. it gets compiled into a .class file. This happens for
every .jsp file in the webapp. Is there a way that I can tell tomcat to
in
web.xml)
Filip
- Original Message -
From: Mufaddal Khumri [EMAIL PROTECTED]
To: Tomcat List [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:29 AM
Subject: pre compile and deploy - ?
Hi,
I have a web app and am running it under Tomcat 4.1.18. This might be a
very common issue that I
Hi,
Am running my webapp under tomcat 4.1.18. Everything was fine till
yesterday (always is:)).
I am facing this issue today. I wrote a new taglib for a jsp page
called PotatoList.jsp.
cw:nextPrevLink listSize='%= getTotalNumberOfPotatoes()%'
Hi,
Am running my webapp under tomcat 4.1.18. Everything was fine till
yesterday. I am facing this issue today. I wrote a new taglib -
nextPrevLink for a jsp page called PotatoList.jsp.
cw:nextPrevLink listSize='%= getTotalNumberOfPotatoes()%'
Hi,
Does anybody know why I would get the following exception:
org.apache.jasper.JasperException: /MyJsp.jsp(103,2) Attribute
pramValues invalid according to the specified TLD
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:94)
at
Hi,
I have noticed that when my jsp pages get compiled the first time i get
the following error msgs:
ParserUtils: warning org.xml.sax.SAXParseException: URI was not
reported to parser for entity [document]
ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope
URI is absolute:
Hi,
Why would I get an error on this ? -No base URI; hope URI is absolute:
http://java.sun.com/dtd/web-app_2_3.dtd ?
On Monday, October 13, 2003, at 01:27 PM, Mufaddal Khumri wrote:
Hi,
I have noticed that when my jsp pages get compiled the first time i
get the following error msgs
I feel that we have discussed this topic enough. Could you please take
this OFF TOPIC elsewhere ?
On Saturday, October 18, 2003, at 02:46 AM, Ruben Gamez wrote:
Does anyone else think that what I'm asking for is so difficult?
-Original Message-
From: David Rees [mailto:[EMAIL
Hi,
Am using Tomcat 4.1.18. I have this problem on IE on Windows and Mac.
I am trying to get a huge amount of text from the database and want to
stream it to the user/s browser. Netscape and Safari work fine and
start displaying the text as soon as they start receiving it. IE waits
for the
Hi,
I have an instance of MyMailScheduler - mmsched in a ContextListener
class for my webapp. mmsched spawns threads to do some work regarding
sending emails. In my contextDestroy method I do : mmsched = null;
I was under the impression that if tomcat was shutdown or the webapp
was stopped my
Hi,
The problem is that stop / suspend are deprecated. The destroy() method
has yet not been implemented ? What does one do then?
I have a solution -
Keep a reference to the instances of the threads spawned in a
hashtable. In contextDestroy make all these references null . Will this
solution
I have my webapp up and running and am stress testing it. After a while
I get this:
Nov 4, 2003 1:50:12 PM org.apache.tomcat.util.threads.ThreadPool
logFull
SEVERE: All threads are busy, waiting. Please increase maxThreads or
check the servlet status75 75
I have no idea why all threads would
time I will upgrade to 4.1.29 and see if
that fixes the problem.
If you do upgrade, please post your results to the list!
Erik
Mufaddal Khumri wrote:
I have my webapp up and running and am stress testing it. After a
while I get this:
Nov 4, 2003 1:50:12 PM
Hi Tamsin:
I might face the same problem like you did. I am just wondering if you
are still trying to find a way to make your webapp run on the new
hardware with hyperthreading turned on? If yes, what if the compiler
used to compile your code wasnt optimised for a hyperthreaded
environment ?
Hi,
Is there a way to find the projected released date for Tomcat 5 ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In order to enable URL rewriting as opposed to storing cookies
automatically we need to use the encodeURL(String url) or
encodeRedirectURL(String url) method in the Servlets and/or JSPs. Is
there a more easier way to do this as opposed to going thru the entire
webapp and doing this for every
Wouldnt it be nice a feature like this that one can turn on or off
globally in a container like tomcat ? The existing way to granularly do
it should remain, but a global way to do it would be nice ..
On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote:
Mufaddal,
Are there
Hi,
I have a one.jsp on which i am using a taglib called pf:mytag
somepath='path'/
Inside the taghandler class i do the following:
try
{
pageContext.include(path);
}
Hi,
I have two taglibs.
1. myTag1
2. myTag2
Both taglibs essentially do the following:
I have a one.jsp on which i am using a taglib called pf:mytag
somepath='path'/
Inside the taghandler class i do the following:
try
{
off it starts normally. Any ideas whats going on here?
Mufaddal Khumri
Software Developer
Waves In Motion
Phone: 602 956 7080 x 26
Email: [EMAIL PROTECTED]
Sorry, mistake on my part. The Log4j.properties is under /classes .
Works fine now.
On Oct 29, 2004, at 9:29 AM, Mufaddal Khumri wrote:
Hi,
I am new to Log4j and am trying to read the configuration settings
from WEB-INF/classes/log4j.properties
I am using Tomcat 5.0.27. I have been trying
AM, Shapira, Yoav wrote:
Hi,
Don't use getRealPath, it won't work when running from a packed WAR.
Use Class#getResource(AsStream) or the equivalent methods in
ServletContext.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent
.file ? or
something else? I do not get any exceptions in catalina.out.
I am trying to understand if this problem is due to my configuration of
Tomcat or the configuration of my logger?
Mufaddal Khumri
Hi,
I am using Tomcat 5.0.27. I am using a FileLogger as the appender
(log4j) to write my logs to under WEB-INF/log.
How do I configure tomcat to send output resulting from exceptions in
my webapp to this log file? Do I have to configure server.xml to do so?
Mufaddal Khumri
1 - 100 of 150 matches
Mail list logo