...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p21013440.html
Sent from the Tomcat - User mailing list archive at Nabble.com
From: marcobalc [mailto:m.bal...@i-contact.it]
Subject: Re: bad content type mod_jk 1.2.27
Someone can help me to identify which tomcat class set the
content type about a request?
For static content, it's org.apache.catalina.servlets.DefaultServlet.
- Chuck
THIS COMMUNICATION MAY CONTAIN
in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20971586.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
etc.
Regards,
Rainer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27
/bad-content-type-mod_jk-1.2.27-tp20892496p20958246.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
marcobalc schrieb:
Hi,
I have tested an other controller that return to a jsp with simple HTML.
The last rows of this controller are
...
log.debug(isCommitted?? +response.isCommitted());
Map m = new HashMap();
m.put(tutteListe, tutteListe);
return new
-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20913205.html
Sent from the Tomcat - User mailing list archive at Nabble.com
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20914634.html
Sent from the Tomcat - User mailing list archive at Nabble.com
marcobalc schrieb:
do you mean that I need to rebuild tomcat with a new log?
Yes, but for Tomcat 6 that's really easy to do. Download the source,
have Java 5 and ant ready, and call ant download and ant. Then you
should be able to already find the compiled classes. You only need to
add log
marcobalc schrieb:
Rainer thanks for support.
Now I have build tomcat but is not clear for me what you mean with output
of a stack
Could you seggest wath line write.
(I think the line should be added in this block of code)
if( actionCode==ActionCode.ACTION_COMMIT ) {
...
...
}
();
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20918077.html
Sent from the Tomcat - User mailing list archive at Nabble.com
();
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20918425.html
Sent from the Tomcat
Hi Marco,
marcobalc schrieb:
Hi,
now I have the stacktrace but the problem is that the stack do not involve
my classes :|
java.lang.Throwable: Stack Info
at org.apache.jk.core.MsgContext.action(MsgContext.java:263)
at org.apache.coyote.Response.action(Response.java:183)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marco,
marcobalc wrote:
I have found one other interesting information: If the Excel is very small
the problem do not appear. If the Excel is more big (some kb) the stack
trace with the error appear.
I think the problem might be that you are
Someone can help me ?
Many thanks,
regards
Marco
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20892496.html
Sent from the Tomcat - User mailing list archive at Nabble.com
in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20893729.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi Marco,
marcobalc schrieb:
i all,
I have a problem with
tomcat 6.0.18
Apache/2.2.9
mod_jk/1.2.27
Some times the content-type sent from my tomcat is ignored and the
response have content type text/plain.
For this reason some servlet that should return excel file and set the
marcobalc schrieb:
Hi,
no FlushHeader option is not vital: I have tried this option in order to
solve the problem.
With o without this option I have the same problem.
I attach one request for Excel that return the bad result
http://www.nabble.com/file/p20893729/logModJk.txt
on the browser.
So AddType is not the correct solution: I need that the content type is the
content type returned by tomcat.
Regards,
Marco
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20898121.html
Sent from the Tomcat - User mailing list archive
Hi Marco,
marcobalc schrieb:
Hi,
.ic is the extension mapped to the controllers of my spring webapp.
The Excel is generated by a controller (servlet): this controller execute
this instructions
response.setContentType(application/excel);
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20903814.html
Sent from the Tomcat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20904280.html
Sent from the Tomcat - User mailing list archive at Nabble.com
22 matches
Mail list logo