Its a Connector attribute. In 5.5.3 or better.
server="WayTooParanoid/1.618"
-Tim
Andras Balogh wrote:
Hello,
We are running a web application with Tomcat5.0.
As i have seen Tomcat returns this as Response Headers:
"Server: Apache-Coyote/1.1"
It is possible to change this value? According to
I believe JDT with tomcat does not support 1.5. Only 1.4.
-Tim
Connor Barry wrote:
I'm trying to compile this code:
<% Collection a = new ArrayList();%>
And I get this error:
-
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred a
You may want to look at a 3rd party SSO solution. They do exist for java and
there are some open source ones.
-Tim
Paulo Alvim wrote:
Hi,
I'm using a cluster with two machines each one running 4 identical war
files.
But I'll need to keep another application isolated in a third machine...The
point
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
-Tim
Kay Farin wrote:
Hello.
This is my first post at this list...
I`am currently trying to set up some webapps on a TOMCAT 5.5.6
installation.
There is a HTML page index.html containing an applet. Let`s call this
app "ball".
When I hit a cer
The implicit scripting variable called session is unavailable. If you still
want access to the session - a JSP scriptlet *must* explicilty ask for it.
HttpSession mySession = request.getSession();
-Tim
Razi Ansari wrote:
Thnx for the reply people, one thing that Andreas pointed out to me from
th
Yes. By default, a session variable is implicitly created for every JSP. The
session variable is then initialized with the exsiting session or creates a
new session if needed.
This behavior is disabled via <%@ page session="false" %>.
But you are still allowed to code in your JSP:
<% HttpSession
docs.
Thanks,
Michael
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 3:30 PM
To: Tomcat Users List
Subject: Re: TC4.1.30: AccessLogValve
No can do with the existing logger.
You can instead use a filter to place the value you desire int
at'll probably do it. But how do I code it in
the server.xml
file? My first experiments aren't liked by tomcat:
How do I get the quotes right?
Thanks again,
Michael
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 1:15 PM
To:
the quotes right?
Thanks again,
Michael
-----Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 1:15 PM
To: Tomcat Users List
Subject: Re: TC4.1.30: AccessLogValve
%{Content-Length}i
-Tim
Lemke, Michael IZ/HZA-IOR wrote:
Hi,
I've got TC 4.1.30 runnin
%{Content-Length}i
-Tim
Lemke, Michael IZ/HZA-IOR wrote:
Hi,
I've got TC 4.1.30 running. How can make the AccessLogValve report
the bytes *received* for PUT/POST requests? Or is there another way to
log
it?
Thanks,
Michael
-
Look at MyLogin.jsp since its throwing the exception.
- Root Cause -
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at org.apache.jsp.MyLogin_jsp._jspService(MyLogin_jsp.java:141)
-Tim
[EMAIL PROTECT
Combined has the referer.
Use the copy or move command to a name webalizer likes.
-Tim
Guy Katz wrote:
hello;
i have the line below in my server.xml
what is the difference between the 'common' and 'combined' values?
also, the files the serer creates are access_log.2004-12-11.txt
because i am usin
http://jakarta.apache.org/tomcat/faq/misc.html#version
-Tim
Billy Ng wrote:
Hi folks,
Is there any way to find out the tomcat version from the command line?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
No. The newer version of tomcat looks for changes in
<%@ include file %> and recompiles on demand.
-Tim
Altug B. Altintas wrote:
I thing in the new versions of Tomcat these below to code
<%@ include file="time.html" %>
make the same effect. When i make changes in time.html; i always see the mai
(My opinion) - JDK1.4 is prefered. (With all the patches)
I haven't tried JDK1.5. It is still "relatively young" so your comfort level
with it will probably be inversely proportional to the size of the company
where you need to deploy it. ;)
-Tim
Hari Mailvaganam wrote:
Can anyone point me to wh
A few possible reasons
- Use a 2.3 DTD in your web.xml
- web.xml says el is disabled for that page
- the jsp has el ignored
- you haven't included the fn tag lib (doubt this)
-Tim
haimra wrote:
I am having this wired problem driving me crazy.
I am using JSTL and Tomcat 5.0.30.
Some times for unkn
Have your JSP provide some expiration data headers and then mod_cache might
do the trick ...
http://httpd.apache.org/docs-2.1/mod/mod_cache.html
-Tim
Mieke Banderas wrote:
What's the simplest way of caching jsp-generated pages, built by Tomcat
4, so that Apache 2 serves most of these (except a fe
Because the jsp spec says so.
-Tim
zerol tib wrote:
Howdy,
When I am reading the servlet compiled from JSPs, I find that
There are some variables and methods have leading "_" while others
not:
_jspxFactory
_jspx_out
_jspx_includes
Why these identities have the leading underline? Is there a namin
http://jakarta.apache.org/tomcat/faq/memory.html#why
After a long battle with HP-UX - I love the performance I get on it. Odds are
- your memory issues have to do with process/thread limits.
If you are running apache and tomcat on the same machine - run them as
different userids since the sum of
http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate
Hint - you are performing a redirect after the response is committed.
-Tim
Pradeep Chauhan wrote:
Hi,
Please any body provide any hint on following error.
Because of this User got "INTERNAL SERVER 500 Error".
2004-11-26 12:50:48 StandardWr
I second using JMS. Having a JMS server "somewhere" and tomcat as a JMS
client. Then all the events are sent to the JMS server. Then the server can
decide to consume the messages on demand and log as needed.
-Tim
Allistair Crossley wrote:
this strikes me as being something JMS would handle well,
e EL is done
by JSP 2.0.
What do I need to do here? Any suggestions would be appreciated.
Thanks,
Jack
Tim Funk wrote:
If your webapp's web.xml is a 2.4 webapp. Then tomcat will do the EL
translations before the value is passed to your custom tag. You won't
have to use ExpressionEva
If your webapp's web.xml is a 2.4 webapp. Then tomcat will do the EL
translations before the value is passed to your custom tag. You won't have to
use ExpressionEvaluatorManager because it would have been done for you.
-Tim
Jack Lauman wrote:
Tim:
This app is deployed with JBoss 3.2.7RC1/Tomcat
Ideally you'd be using tomcat5. (and jdk1.4) Then you can use JSTL functions
like below ...
match
my.Foo
boolean match(java.lang.String,
java.lang.String)
--
package my;
public class Foo {
public static boolean match(String s, Strin
If you run tomcat in a cluster where all the webapps are identical, we use
the exact same (copy) of server.xml for all the tomcat instances. So when one
server.xml is changed - we copy it to all of the tomcat installations.
Then we rely on variable substitution in server.xml for items which migh
Or as a shortcut, look at the Manager webapp and see what it does to reload a
Context.
-Tim
Shapira, Yoav wrote:
Hi,
Yes, it's possible. You walk down the container hierarchy of the
org.apache.catalina classes, starting with the factory like
ServerFactory.getServer, then Service, Engine, Host, e
When Mysql is at 100%, you go to the Mysql list and ask for help.;)
A database at 100% could be any number of reasons:
1) A bad join
2) An inefficient query
3) Not enough memory on the server
4) Not enough memory for Mysql
5) Lack of indexes or poor index choices
6) ...
Get a second machine. Perfor
In the cvs browser, you can view by a specific tag. From there you can easily
determine which revision is associated with which version.
Next - it will probably be much easier to not use container based
authentication based on your requirements. Servlet Filters would probably be
much easier.
A
5.5.5 is about to be tagged "soon." (See the dev list)
If there are no showstoppers in that release - I (IMO) would say its
realistic to start consider moving your 5.0.X releases to 5.5. But be warned
that if you have custom modules (valves, realms, etc) against 5.0 - you will
need to recompile
Use sam to tune the kernel parameters to allow more threads, process limits,
and memory limits.
-Tim
David Teruel wrote:
Hello everyone.
I'm having one little problem with the memory of my Tomcat 5.5.4.
I'm doing a little test for knowing how many concurrent sessions of my
application can I hav
(I was wrong) It was voted stable ...
http://marc.theaimsgroup.com/?l=tomcat-dev&m=110011482407630&w=2
-Tim
Tim Funk wrote:
Are you running with the security manager turned on? If so - do you get
the same error with it turned off?
(BTW 5.5 has not been voted &quo
Are you running with the security manager turned on? If so - do you get the
same error with it turned off?
(BTW 5.5 has not been voted "stable" yet)
-Tim
Kevin A. Burton wrote:
Kevin A. Burton wrote:
Whats up with this?
java.lang.ClassCastException
org.apache.jasper.compiler.TagLibraryInfoImpl.c
http://issues.apache.org/bugzilla/show_bug.cgi?id=19765
Tomcat uses Ant to do a compile. Ant creates a temp file to assist in
compliation. I am guessing the tempdir is not set correctly. (or something
similar)
-Tim
M.Hockings wrote:
Tim Funk wrote:
Ant is trying to create some temporary files
Ant is trying to create some temporary files to compile the JSP. Ant cannot
write the temp file. Somewhere in the archives or in bugzilla there was a
discussion about this.
-Tim
M.Hockings wrote:
Hello,
I apologize for the length of this note but I have attempted to shorten
it as much as possib
You'd have to let your web app also be able to use the server classloader.
You can do this by setting server="true" in the declaration.
That being said - whatever your trying to do is probably a very bad idea.
-Tim
Brij Naald wrote:
Hi,
i'm creating a filter which needs to know if the request is
jasper-compile.jar is not meant to be copied.
jasper-runtime.jar is for use when you precompile your jsp's so they may be
used in any container (including a newer tomcat version)
If you precompile your jsp's against tomcat 4 - they will run fine in tomcat
5 if you copy jasper-runtime.jar into WE
FAQ!
http://jakarta.apache.org/tomcat/faq/misc.html#listing
-Tim
Lee Chin Khiong wrote:
How to disable directory listing under Tomcat 5 ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Not really.
-Tim
Mark O'Driscoll wrote:
If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using
different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND
http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each
alias. Is there any way to stop these new sessio
Your user id doens't have write permission to /var/run
-Tim
Quinton Delpeche wrote:
Hello,
I get this error in my start.log file
/usr/share/tomcat5/bin/catalina.sh: line 281: /var/run/tomcat5.pid: Permission
denied
Now I know what this means, but I want to know if anybody else gets this error
on
If a limited number of people need to see your machine and your know their ip
addresses or domain names, you can use the RemoteAddresssValve.
-Tim
Richard wrote:
Hello Guys,
Please advise.
For demo purposes I need to expose my machine to the web. I got a
public IP and have hosted my dev version
Look at log4j. Then your log4j config can log those entries anywhere you want.
-Tim
Satish Plakote wrote:
Hello Deepak,
i have certain process that are started by tomcat..And the only way for me to
know that the process is going on is to put
system.out.print(),but then this also prints on my log f
ly be more helpful for the appropriate connection string. (Or
setting)
-Tim
Harald Henkel wrote:
Tim Funk wrote:
Tomcat knows nothing about NLS_SORT.
Odds are NLS_SORT is probably not set when running on XP.
???
Oracle usually sets values in the registry, and by default only
NLS_LANG, from which the ot
Use a Servlet Filter. The filter will keep track of the weight of each
request. If there are too many requests of one kind - it will not perform the
next itme in the chain- it can just throw an error.
And its portable so you should be able to use that logic now.
-Tim
Simian Vector wrote:
Hiyo.
Nope. That is my prefered way to go. Let apache do what it does best. Let
tomcat do what it does best. You'll notice that it'll also take longer before
you need to add more tomcats in your cluster by doing this.
What you need to be wary of are any security issues where some static assets
need t
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.
For example, if my webapp is registered at /more. Then my
getContextPath is the path name of the webapp.
For example, if my webapp is registered at /more. Then my contextPath is /more.
If I request /more/cowbell.jsp. The contextPath is /more and the servletPath
is /cowbell.jsp.
-Tim
Jack Lauman wrote:
I have an access control filter that is supposed t
Tomcat knows nothing about NLS_SORT.
Odds are NLS_SORT is probably not set when running on XP.
-Tim
Harald Henkel wrote:
Hello all.
I have a strange problem with data sorting using an Oracle 8.1.7
database.
I set the database to use binary sorting (NLS_SORT=BINARY), independent
from GERMAN language
No. You can supply a patch - but no one will commit it. If it is committed,
the other committers will -1 it.
-Tim
Lasse Koskela wrote:
Any plans on externalizing the session key into an optional
configuration element in server.xml?
Please forgive me if I appear overly persistent but I honestly ha
Yes this is the case. You'd need to change the source and recompile.
-Tim
Lasse Koskela wrote:
Hello,
I recently encountered a requirement to use a session key other than
JSESSIONID for the cookie of a web application deployed on Tomcat 4
(I'm not yet sure about the exact version).
Now, I found a p
There is no way to log that information right now.
-Tim
Ben Simon wrote:
Howdy,
I've enabled compression on my server [1]:
,
|
|maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
|enableLookups="false" redirectPort="8453" acceptCount="100"
|
I am hoping other people have this problem ...
I want to utilize an event processing system for when certain "things" happen
on a website I maintain. For example, if someone wishes to contact my client,
the web site writes to a database to record the entry, then emails customer
service for noti
The DefaultServlet does not create sessions. Make sure you don't have a
filter creating sessions.
-Tim
John Sidney-Woollett wrote:
Is there any way on tomcat 5.0.x to prevent tomcat/defaultServlet
creating a session when serving static image files (*.jpg, *.gif, *.png)?
This is only an issue if
> verified that the client is sending "Keep-Alive". Is there any way to log
> the response header "Connection" to see whether the server is not sending
> "Close" in the response? I can't find a way to log response headers in
Not really. (With the existing code base)
Chunked encoding is needed for k
On a quick search, my guess is mod_expires is not configured correctly.
-Tim
Squashua wrote:
I tried looking through the archive using the search provided by the
mailing list archives, but I couldn’t find anythign relevant, and
googling didn't get me anywhere (my google-fu is not strong), so I am
Just created, details are sparse ..
http://wiki.apache.org/jakarta-tomcat/HowTo/FasterStartUp
-Tim
Pragyan Padmini Misra wrote:
HI,
I had posted this earlier and again am resending as am still not getting
any solution. Can any one help me out on this. The application which we have
developed has a
You need to code them yourself in your servlet/jsp.
response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
response.addHeader("Location", "/more/cowbell.jsp");
-Tim
Lyndon Smith wrote:
Hi Allistair
I have a question for the Tomcat User Group.
I hope you don't mind me asking you because the a
By default JSP's need to be told to *not* ask for a session via
<[EMAIL PROTECTED] session='false'%>
Otherwise - it sounds like a cookie setting issue that the client isn't
remembering the sessionid.
-Tim
LAM Kwun Wa Joseph wrote:
I have implemented a simple HttpSessionListener dumping every new
See section SRV.12.3 Programmatic Security of the Servlet spec for the role
link question.
As for the welcome page - the spec wasn't meant to handle cases like this.
The container protects resources. Once you try to access a protected resource
- you mustr authenticate. Then you are passed to th
How about http://www.oracle.com/support/index.html ?
-Tim
Daxin Zuo wrote:
After install Oracle9.2.0.1, Apache and Tomcat are installed. What are the
versions of the TOMCAT and the apache in this version of Oracle? Do you know
the location of the document where oracle describe its http server?
---
Nope. Can't do it.
But if you really need it to be more domain generic - there is nothing
stopping you from expiring the JSESSIONID cookie and setting a newer one at a
more generic level. (But this will probably cause future issues)
-Tim
Joe Reger, Jr. wrote:
Hi.
Is there any way to specify t
JVM crash means native code doing bad things and since ..
Current Java thread:
at kyudo.NativeCall.Call_C_tpcall(Native Method)
at kyudo.NativeCall.tp_call(NativeCall.java:58)
That looks like a good candidate.
-Tim
Chris Kaido wrote:
Hi,
I'm running a JSP application on Apache/Tomc
Its not a bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=221028
-Tim
David Wall wrote:
The following are headers we send out for a given file that is being
downloaded:
Content-Length: 28160
content-disposition: attachment;filename=Some Agreement 2004-11-15.doc
Content-Type: application/octet-str
You don't. (or can't)
The servlet spec stinks with respect to logging. Personally - I avoid using
the log mehtods provided by the servlet API and use commons-logging. Then
the underlying system can be tuning to the appropriate level of verbosenes.
-Tim
Cervenka, Tom wrote:
The component has a
This is an apples to orangles comparison.
commons-logging and log4j are for logging devloper errors and for debugging
statements. Its purpose is for logging errors, stack traces, etc instead of
using System.out.println()
Access logs are pages or any other HTTP based request. There are free
prod
or all non JSTLers I added this to my page:
<%if (request.getMethod().equals("GET")) {
response.sendError(HttpServletResponse.SC_NOT_FOUND); } %>
Tim Funk wrote:
The easy way is to make start.jsp a GET and all the other pages POST.
When pages are bookmarked - they are asked for
The easy way is to make start.jsp a GET and all the other pages POST.
When pages are bookmarked - they are asked for via GET requests. Code you JSP
to look for the request method. If the method is NOT POST, then redirect them
to some error page. (Or the start page)
For example, in JSTL (but not
You can't prevent images from being taken.
As for JSP's. Move them to your WEB-INF directory. Then use a servlet to
validate the incoming parameters and then forward to the JSP.
-Tim
Paul Taylor wrote:
Thanks works a treat
Is there a similar way to prevent the user typing in the url of a
partciu
See URIEncoding
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
-Tim
Nick Mitchell wrote:
Hi all
I have a web app that relies on using request parameters encoded in
UTF-8 and in my JSPs I use request.setCharacterEncoding("UTF-8") before
getting the parameters. This works perfectt
The AccessLogValve allows for conditional logging. So you'll need to add code
(Filter or modify servlets) to add/not add an entry to the
HttpServletRequest so the Valve can decide whether to log the entry.
Or much easier is an COTS access log parser.
-Tim
Justin Jaynes wrote:
What is the easies
Ahh .. I see now. I filed a bug
-Tim
Behrang Saeedzadeh wrote:
Hi Tim
Thanks for the reply. I just downloaded Tomcat 5.0.28 and tested my
sample page with that too and I'm still getting the same exception.
Be sure that you don't insert a newline after the "
---
Works for me in 5.0.28
-Tim
Behrang Saeedzadeh wrote:
Hi
It looks like Tomcat cannot generate Servlet code for JSP files that have
incorrect HTMLish syntax. In the simple JSP page below I have written the
end tag incorrectly and have missed to put the end > character and
then Tomcat complains that
Check your system clock. That might be your problem.
-Tim
---
US citizens: Remember to vote today.
Ross Rankin wrote:
That worked... is there a reason it wasn't recompling on its own? Date
maybe?
Ross
Andoni wrote:
Hello,
You might try deleting the contents of the $CATALINA_HOME/work directory.
Not really. The archives have a similar discussion.
-Tim
Anderson, M. Paul wrote:
I've created a derived realm that performs a custom authentication scheme. I'd like to be return a custom error page when the user has attempted to login to the system > 3 times and failed. The user will be locked o
The easiest way to do this would be to create a filter on that directory. The
filter would either deny access - of it would get the default servlet via the
ServletContext.getNamedDispatcher() and then perform a forwards().
-Tim
Chris Lawder wrote:
Hello,
Can somebody please point me to documenta
Inside the declaration you may also declare Valves.
-Tim
Acácio Furtado Costa wrote:
HI all,
I have only one TomCat Application Server and I need to offer some Applications to
the Internet and deny to others. I look for some Valves and found a "RemoteAddrValve",
but looking in the
Then you'll need to place all your images in a special directory that doesn't
serve images directly. Then you'll need a servlet to determine if the image
may be served - then serve the image.
Or the *much* easier solution is to write a Servlet filter to determine if
the image may be shown.
-Ti
I try to precompile my jsp's, copy all the precompiled JSP's into a JAR file,
then delete all the JSP's. Less stuff to deploy. No surprises with respect to
caching, or missing compiles, or broken JSP's making it to production.
-Tim
Steven J. Owens wrote:
Hi folks,
I'm interested in hearing
jsp in
the next release of servlet, i.e. servlet xp?
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: October 22, 2004 10:32 AM
To: Tomcat Users List
Subject: Re: adding HTTP headers for all responses in web application
Actually the pattern is *.jsp - not /*.jsp
-Tim
Ph
Actually the pattern is *.jsp - not /*.jsp
-Tim
Phillip Qin wrote:
If your pattern is /*.jsp, then your filter applies to all jsps.
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: October 22, 2004 1:19 AM
To: Tomcat Users List
Subject: RE: adding HTTP headers for all response
Summary: Keeping upgrading if your webapp code keeps changing.
** If the webapps running on the tomcat instance will not change or only
change for critical fixes - then don't upgrade tomcat. Newer versions may
break old applications. (like any software upgrade)
** If the webapps are undergoing a
There should be no reason you are not able to do all your development on a
windows laptop. That being said ... here's how we do things ...
When possible all code is written and compiled on our Windows laptops. If
anyone wants to look at the latest revision of code - they need to run it off
thei
contains two methods, wich
writte a message, when is application started or stopped. But why have
registered thread? Please help me.
Thank,
renhu
= Original message =
Od (From): "Tim Funk" <[EMAIL PROTECTED]>
Komu (To): "Tomcat Users List" <
You need to regeister that thread "somewhere" so it can be stopped on webapp
shutdown. See ServletContextListener for hooking into webapp startup and
shutdown.
-Tim
René Hužva wrote:
Hi,
I create a one thread in a application, which runs in Tomcat (application doesn't run as servlet). When I rel
Tomcat's error page to the web shows less detail than the logs. Look at the logs.
-Tim
Vic Cekvenich wrote:
Thanks Tim, but this is 5.029.
You can see it here:
http://boardvu.com/roller
Any additional hints?
.V
-
To unsubscribe,
Check out the archives for tomcat-dev and bugzilla. There have been compile
gotchas with respect to 5.5 and JDK5.0
Otherwise - the logs should have (localhost_log_XXX.txt) - should have more
detail.
-Tim
Vic Cekvenich wrote:
I hava JAVA_HOME, tools.jar in common and permisions. I am running on
It looks like its updating a map while iterating through the keys to the map.
-Tim
[EMAIL PROTECTED] wrote:
Has anyone successfully installed
com.oreilly.tomcat.valves.BadInputFilterValve to help stop XSS attacks?
from:
http://safari.oreilly.com/?x=1&mode=section&sortKey=title&sortOrder=asc&view=
If its the same PC under the same id during the same session with the same
browser- yeah thats normal.
Now if you saw this behavior when you were using IE. Then opened Firefox- and
saw the IE session - then there might be a problem.
-Tim
Michael McGrady wrote:
While testing my application, when
An IOException should be thrown by write sometime after the socket is
disconnected. (It may vary due to buffering)
Tomcat doesn't log that IOException since it is so common but it can be
caught if your decide to do so.
-Tim
Stephan Coboos wrote:
Hi,
I need to send a very very big set of data wi
If your traffic is going across the internet (or a corporate WAN) - then you
probably want to zip your output.
If your traffic is all LAN based - compression will probably not make much of
a difference.
Don't worry about writing a compression filter - tomcat comes with one on its
HTTP connecto
<%@ page import="java.util.ArrayList", "com.gcc.creditclaim.CreditClaim"; %>
should be
<%@ page import="java.util.ArrayList"
import="com.gcc.creditclaim.CreditClaim" %>
-Tim
Xeth Waxman wrote:
Greetings all. I have a jsp running on Tomcat 5.0.12. When this jsp
is called, I get the follo
ServletContextListener
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/javax/servlet/ServletContextListener.html
-Tim
Philipp Taprogge wrote:
Hi!
Perhaps one of the gurus could space a few minutes...
I have worked with tomcat quite a bit, but never had to do anythings
like this before:
File A should *not* be called fileA.jsp. It should be called fileA.jspf
An added advanatage is you know what what all your incoded fragment files
are by looking at the file name.
-Tim
Dave Minter wrote:
I'm trying to get Jasper to pre-compile my JSP pages. I've got an Ant
task (swiped from the m
It sounds like one of the classes the Servlet is depending on is caching the
result.
-Tim
Carlos wrote:
Do servlets in Tomcat (1.4) catch results of programs that they run? I have
a java servlet that lists the print services of printers installed in the
server (Linux Red Hat). I run the servlet
The best way is to place all protected content under WEB-INF.
-Tim
Robert Harper wrote:
I have turned the listings off in the default servlet. Now how do I keep users
from directly accessing anything outside of the defined servlets and JSP pages
even if the user knows the path to the file?
This is exactly what you'll need to do. There is no feature (or never will be
a feature) to allow the renameing of jsessionid.
-Tim
Michael Echerer wrote:
Built Tomcat from source and change the few java class files where
jsessionid is in.
What we once did: Patch the binary! :-)
you can grep fo
removing dead code patches will probably be ignored in bugzilla. Typically
because we're too busy with such a patch.
Your alternative code below is probably faster but drastically changes how
the code works. The original snippet allows for exceptions to be caught and
continue looping. Your alte
It can go even though it does no harm. (Even from a performance point of view)
-Tim
Steffen Heil wrote:
Hi
I see the code now. Its dead code. At one time - when tomcat was serving
resources and the client pressed the stop button - a broken pipe exception
would be logged. But since then in other co
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream
-Tim
Giuseppe Briotti wrote:
Hi all!
I need to retrieve a file from inside a servlet. If I try:
Url myURL = servletcontext.getResource("/WEB-INF/myFile.xml");
File myFile = myURL.getFile();
If I try this, I obtain a different be
question Steffen, I think that either the "else"
is missing, or the whole "try/catch" and "if" clauses are redundant.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Friday 08 October 2004 11:45
To: Tomcat Users List
Subject: Re: DefaultServle
The else is implicit. The next line throws the IOException so something else
down the chain can catch it.
-Tim
Steffen Heil wrote:
Hi
I just read the DefaultServlet code and found in doGet(...) the following:
try {
serveResource(request, response, true);
} catch( IOE
301 - 400 of 1922 matches
Mail list logo