> Both incorporate the output of jsps and servlets in
> the current request's output.
Which is not what the OP wanted. They wanted to :
> > essentially slap that [the response] into a MimeBodyPart for sending
> > text/html email messages.
> >
I've done something very similar - use an HTTP c
"Paul Singleton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If I set
>
>
>
> will Tomcat ignore any JSESSIONID cookie which
> accompanies a request? Should it?
>
With any of the released versions, it won't ignore the cookie if the browser
sends one. There is a patch in
Supposing both dispatcher and jsp are located on the same server you could
consider using RequestDispatcher interface which is part of servlet API,
specifically include method. Take a look:
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/RequestDisp
atcher.html
Gennady
-Origi
There are two easy methods that should work:
1. The tag of the standard tag library -- see
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
2. RequestDispatcher from the servlet spec which can not only forward,
but also perform includes
Both incorporate the output of jsps and
Any one know if there exists a JSP writer engine in the Tomcat API that
allows for the generation of HTML pages via JSP code but without having
to make server to server HTTP calls?
Right now we basically have a URL dispatcher that when a specific
request comes in, we make another request to re
> From: Albretch Mueller [mailto:[EMAIL PROTECTED]
> Subject: HTTP Status 500 while trying to use a DTO to send
> data from a Servlet to a JSP
>
> This is where I have both the servlet and the DTO
> ~
> . . .\webapps08\serv2jspTest\WEB-INF\classes>dir *.* /B
> ~
> UpFlInfoK.class
> UpFlInfoK.j
~
I am using TC 4.1.36 and I have a simple Data Transfer Object that I
create in a front controller servlet and use to build a JSP view
~
This is where I have both the servlet and the DTO
~
. . .\webapps08\serv2jspTest\WEB-INF\classes>dir *.* /B
~
UpFlInfoK.class
UpFlInfoK.java
UploadServlet10.c
Asaf Lahav wrote:
> Hi guys,
>
> I didn't get any feedback on this so I'm resending to make sure it got to
> the mailing list.
It arrived the first time.
You might want to read this:
http://wiki.apache.org/tomcat/FAQ/Tomcat_User
Mark
---
How does it redirect to the filter? That doesn't make sense - after
your servlet throws an exception it can't do a redirect.
Filters are always called *before* the servlet or JSP. The servlet is
only called if all the filters before it call doFilter to pass the
request on. When your servlet runs,
Hi,
Checkout
/Checkout
That's the only mapping I have for it. I will try the url pattern.
The checkout servlet gets invoked, (I see a null pointer thrown from it)
then it gets redirected to the filter.
I saw an example somewhere that had the mappings altered. That's
Doh ... sorry for being late to the game ...
Here's a small article that discusses this too ...
http://www.jroller.com/funkman/entry/let_properties_do_the_talking
-Tim
Anna Nhan wrote:
Thanks Rainer and Chuck for your responses.
How does Tomcat know to associate org.myorg.myapp.node1.http.po
oo, I have to manually edit the server.xml file. I see.
Thanks Rainer and Chuck.
Anna
On Jan 3, 2008 1:05 PM, Caldarale, Charles R <[EMAIL PROTECTED]>
wrote:
> > From: Anna Nhan [mailto:[EMAIL PROTECTED]
> > Subject: Re: other ways to change the Connector element in server.xml?
> >
> > How
> From: Anna Nhan [mailto:[EMAIL PROTECTED]
> Subject: Re: other ways to change the Connector element in server.xml?
>
> How does Tomcat know to associate
> org.myorg.myapp.node1.http.port to the
> Connector port?
Because you tell it to, as in Rainer's example:
>
Thanks Rainer and Chuck for your responses.
How does Tomcat know to associate org.myorg.myapp.node1.http.port to the
Connector port?
Anna
On Jan 3, 2008 12:46 PM, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Like Chuck said:
>
> you can freely choose names and values you like. Choose your names
> c
Like Chuck said:
you can freely choose names and values you like. Choose your names
carefully to prevent collisions with properties used by other
components, e.g. you can start the name with your internet domain name
or similar.
Example
Property -Dorg.myorg.myapp.node1.http.port=8001
in server.
Are you using the tcnative.dll?
If so, do you know, which version?
There was a bug in tcnative that resulted in the same symptom.
You might want to remove tcnative.dll temporarily to check, if this
fixes the problem, and then might want to check with a recent tcnative.
Regards,
Rainer
Smith, Mic
Greetings,
I am trying to set up an Apache 2.2.4 server with Tomcat 5.5.25 and JK
connector 1.2.26 on a Windows XP PC. This is a test configuration for a
map server running both ESRI's ArcIMS and the open-source MapServer
(MS4W distribution, which is a prepackaged Apache 2.2.4, PHP 5, and some
ot
is there any page to see what the status of versions and bug fixes are
slated for future versions?
any pages would be helpful.
other notes of interest:
is there a timeline for the tomcat 6.0.x release dates?
I see chat on the users list for version 6.0.16 for fixes. any timeline?
the wiki page st
> From: Anna Nhan [mailto:[EMAIL PROTECTED]
> Subject: Re: Re: other ways to change the Connector element
> in server.xml?
>
> How do I know which system properties to use?
The *names* of the system properties are whatever you choose. The
*values* of the system properties are simply substitute
Rainer,
I've been searching the web for documented system properties to use to set
up Catalina, but I am confused.
How do I know which system properties to use? And where can I find proper
documentation for it?
Will setting these Catalina options be reflected in the server.xml?
Thanks,
Anna
>
Hi,
I have an Apache server running (2.0.52) that I recently SSL enabled. Test
pages work great with SSL or non-SSL. We are running a Tomcat app called CAS,
for Central Authentication Server. It runs fine over a non-SSL port. Now I
need to have the Tomcat app secured. I'd prefer to have Ap
>>> On Wed, Jan 2, 2008 at 9:10 PM, "Bill Barker" <[EMAIL PROTECTED]> wrote:
> "Rainer Jung" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi Julian,
>>
>> Julian Dunn schrieb:
How do you connect Apache to Tomcat? If you are using mod_jk, the
module gets the port it
> From: AbelMacAdam [mailto:[EMAIL PROTECTED]
> Subject: Re: NamingException
>
> The context file contained the following entry:
>
More problems due to using old doc: the path and docBase attributes are
not allowed when using a META-INF/context.xml file. They will probably
be ignored, but don'
I'm using Tomcat 6.0. I found the solution by the way. I executed the
following steps:
1. I created a DataSource (I hope I have the language correct): In META-INF
I added a context.xml, as adding this DataSource to
%TOMCAT_HOME%/conf/server.xml is not the way to go (Changes in the code
would lead
> From: totalrecall [mailto:[EMAIL PROTECTED]
> Subject: [tomcat5.5] ClassCastException
> atorg.apache.juli.ClassLoaderLogManager.readConfiguration(Clas
> sLoaderLogManager.java:396)
>
> Unfortunately I could not find the source code on
> ClassLoaderLogManager
Where did you look? It's in the
> From: totalrecall [mailto:[EMAIL PROTECTED]
> Subject: [tomcat 5.5] logger configuration in context.xml
>
> Is there a new syntax for the Logger tag?
There is no tag in 5.5. RTFM:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND
myapp/index.jsp is throwing a NPE and returns a 500 error, causing the
problem you see in application.jsp. You should look at why
myapp/index.jsp is throwing a NPE (NullPointerException).
--David
Pedro Santa wrote:
Hi all!
I'm getting an error while trying to parse a JSP from a bean. Here'
Hi all!
I'm getting an error while trying to parse a JSP from a bean. Here's the deal.
My site has 2 frames. On the first is the web page. The second one, I
want it to parse the contents of the first frame, in order to strip
some elements from the source code - but for testing purposes I now
only
If I set
will Tomcat ignore any JSESSIONID cookie which
accompanies a request? Should it?
Paul Singleton
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
I just looked at that using WinXP/IE 7 and it's fine. Do you have the
"Shrink to Fit" option set? The behavior you are seeing is what I would
expect out of IE 6 -- a browser without the "Shrink to Fit" option.
--David
AbelMacAdam wrote:
Hi,
Just a note that I could not print the following
It looks like you are using mod_jk2. JK2 has been deprecated long ago.
It will be hard to get any support for it now. Please switch to JK,
which is still actively developed and nearly all features of JK2 have
been backported.
Regards,
Rainer
Kandala Satish schrieb:
> Hi,
>
>
>
> I am receivi
Hi,
Just a note that I could not print the following document:
http://tomcat.apache.org/tomcat-6.0-doc/printer/jndi-datasource-examples-howto.html
The right side of the page was cut of at the right margin of the page. So
IMHO the page was to wide for me.
Abel
Note on environment:
Windows XP
Moz
Hi Jay,
Your configuration seems to be fine.. Is your Checkout servlet ever invoked,
cause you haven't posted your servlet-mapping tags. Have you tried mapping your
filter using url-patterns, instead of servlet-name ? And only one more
question, what do you mean by 'turn off invonking the resou
Hi guys,
I didn't get any feedback on this so I'm resending to make sure it got to
the mailing list.
Thanks in advance,
Asaf
_
From: Asaf Lahav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 01, 2008 4:44 PM
To: 'users@tomcat.apache.org'
Subject: Reading servlet server connect
Did anyone do the comparison between ajp13 and http for the protocol ?
I'd like to understand what the test cases were that were used for the
test.
ie if the application takes a second to make the resulting html
if it takes 2 seconds to make the html how does that affect the
performance ?
D
On
Mohan,
You can use apache to serve all the static objects without the requests
going anywhere near jboss / tomcat.
Have a *careful* look at the JkMount command and look carefully at your
url-patterns that your application uses.
D
On Wed, 2008-01-02 at 11:12 -0800, Mohan2005 wrote:
> thank you.
Thanks for the reply Mark but I think that the problem is from getting JNDI
objects out of context, like my case is. Remember I need it to implement a
custom JAAS and the same implementation works perfectly on tomcat 5.5.25,
but not on tomcat 6.0.14.
I searched in bug database and nothing found.
37 matches
Mail list logo