https://issues.apache.org/bugzilla/show_bug.cgi?id=45294
Summary: jsp request.getParameter() returns null if page
directive sets contentType to application/x-java-jnlp-
file
Product: Tomcat 6
Version: 6.0.16
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
If a jsp has a page directive of the following form
<%@ page contentType="application/x-java-jnlp-file" %>
then all request.getParameter() calls return null. Other calls to request (like
request.getMethod() ) work correctly.
Example URL:
http://localhost:8090/DDL/app/ddl.jsp?DICOMRemoteAETitle=Remote&DICOMRemoteDicomPort=3001&DICOMRemoteHost=radworkstation.hospital.edu&DICOMLocalAETitle=MCDICOM&DICOMLocalDicomPort=3002
The request.getMethod() correctly returns GET.
If I leave out the page directive the request.getParameter() methods return
correct values.
When I look at the generated Java code - the only difference is in the call to
setContentType()
< response.setContentType("application/x-java-jnlp-file");
---
> response.setContentType("text/html");
So - it's something happening at runtime. Shouldn't all GET methods have
request.getParameter() treated identically no matter what the output
contentType is?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]