Darryl,
Your remark about POJOs being part of the API prompted me to chime in
-- William pretty much gave you the general answer, that Tomcat
doesn't seem to be the best way to go for this (because everything is
passed via http). I would point out that just as you can
serialize/stream objects to d
he line 55" but actually, i
> put that error in the line
> number 8 of my JSP file.
> I know that every jsp is translated into a servelt, but, how i can know the
> exact line of the JSP file ?
>
>
>
> -Message d'origine-
> De : Patrick Thomas [mailto
Fermin,
This information is usually recorded in your log files, or alternately
printed into the console window if Tomcat is running in windowed mode
(because you manually launched the tomcat5 executable).
Look in {Tomcat Home}/logs/ for a file like "stdout_20050802.log"
(stdout_MMDD.log). Ther
Thanks Chuck, I definitely wouldn't have noticed that without the
pointer. Oh well, I guess I'll stick to casting and iterators for a
few more months ;)
On 8/8/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Patrick Thomas [mailto:[EMAIL PROTECTED]
>
Hi All,
Easiest part of this question is simply does tomcat (5.5.7) support
using generic types in JSP files? I searched release notes, FAQ, etc
and found no mention either way. Does some erudite soul have the
answer?
Secondly, if it's supposed to support it, why then would it have
difficulty wit
Hi Steve,
We're probably going to need a little more context in order to give
you any help. Approximately how often does this happen? Have you been
able to isolate a particular page or servlet that causes it
consistently? What shows up in the log file/console window when it
happens? Does it kill j
Hi All,
When jsp:include-ing a page, I see that params from the calling page
are also passed on to the called page.
Example:
caller.jsp: (hypothetically called with param1 = val1)
callee.jsp:
Sees request variables param2 (of course) *and* param1.
This is specified by the spec, so every
There's a great website out there called google. I'm told that it has
answers to lots of questions like this. Try there before asking a lot
of busy people to do the looking for you.
Good hunting,
PST
On 7/8/05, Carlos Bracho <[EMAIL PROTECTED]> wrote:
> It's a java question more than a tomcat que
Hi Matthias,
I think people will need a little more information in order to help
you. How exactly are you creating the links right now? What do you
actually want them to look like when served to the user?
By itself Tomcat doesn't allow an app to cough up an arbitrary path in
the filesystem and th
Hi Øyvind,
This works quite well for me. Place the following magic incantation at
the *end* of your JSP. Specifically, place it after the closing body
tag, but before the closing html tag. In context it looks like this:
Why at the end? I dunno. Maybe someone on the list who has the answ
*bump*... I too would love someone to shed some light on this subject.
Cheers,
PST
On 6/19/05, Anand Vijay <[EMAIL PROTECTED]> wrote:
> hi all
>
> When i say logAbandoned = true in data-source of struts-config.xml , it
> still does',nt trace abandoned connection .How can i achieve this and
> wh
Hi Frank,
With the caveat that I don't use RAC, it looks like you're doing
things right from a JDBC/Tomcat perspective, but I thought I'd bring
one point just to clarify for you and any lurkers: JDBC doesn't use
TNS at all; it only cares about the host, port and SID as specified in
the connection
Hi Charl,
Dunno about a method call that you'd be able to make, but this may get
you half way there:
http://localhost:8080/manager/list
Straight text response, easy to parse. Now, the catch is, you'll need
to be authenticated on the server. Ant has some tools that you may be
able to make use of:
Hi Jenny,
First off, congrats on the internship! Hope you enjoy it. Now, more to
the point: you're looking for the JavaMail package.
Read about how to use it in Tomcat here (you'll have to become
familiar with JNDI, but that's a Good Thing ):
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-r
Hi Joe,
To summarize the point that all of these others folks were making;
Tomcat by itself has no way of interrogating the operating system of
the connecting machine or noticing through the information that it
gets from then browser that the user is a particular person. Tomcat
can only tell you f
Brian,
What is it that you're looking to accomplish with that cast? It makes
it hard for others to respond with suggestions when they don't know
what your criteria are. Also, how does it fail when you try it (ie
ClassCastException)?
Personally, I haven't run into any issues, but I just stick with
.sql.DataSource
Container
It's helpful to think of the individual application context.xml files
being 'included' as entries in the server.xml file (almost
like an @include, except implicit).
Hope that helps! Let me know if I can clarify anything.
Cheers,
Patrick Th
> and if a context with the same name is defined in a webapp WEB-INF/xml
> file which would "win" such a fight? I have a feeling my context defined
> in /localhost is being overwritten by the app. (I'm fighting with
> JBuilder 2005 trying to get some JNDI naming stuff to work for my
> datasources)
On 5/26/05, Nathan Smith <[EMAIL PROTECTED]> wrote:
> ... trouble free, with 100%
> certainty that the code we are releasing works, no new bugs have been
> introduced, and ...
Wow... if you figure out how to do that, make sure you write a book.
I'll be wanting a copy. ;)
~PST
--
Hi Phil,
To answer your question directly; no, in 5 you don't need (and
shouldn't have) a context entry in the server.xml for a war file (or
any webapp for that matter). Assuming the war contains a context.xml
file in META-INF, then tomcat will use that one (it will copy it to
{TomcatHome}\conf\Ca
Hi Rudi,
Here's how I do it, and this also seems to be the 'correct' way of
doing it with Tomcat5 (as it doesn't mean messing with any
container-level files).
Into {tomcathome}\conf\Catalina\localhost\ I place a correctly formed
context file, for example ApplicationName.xml (very minimal for
dem
Rick,
Actually, I believe it might be possible. Ugly, but possible. Using
Runtime.getRuntime() to get the current runtime, you can then actually
make a call to a shell command. You could call a batch file that would
shut down the server and then restart it. What I don't know is if the
newly exec'd
Use a batch file to start tomcat and use the plain old redirect symbol, like so:
redirect_tomcat.bat:
-
tomcat5.exe > whateverfileyouwant.log
-
The other thing you should probably check out is the Logging tab in
the tomcat5w.exe app, it seems to han
Lorenzo,
I don't know about a jar file, but you can look at the CVS repository
for the java files. (Look in src/java/ for the package root) They're
packaged, so you could make the jar yourself easily enough. (jar -cvf
)
http://cvs.apache.org/viewcvs/jakarta-commons/email/
(linked from http://ja
24 matches
Mail list logo