Hi when processing a request in a tag extension class I get a "null"
returned when I call HttpServletRequest.getQueryString() after a POST
when I change the form to use GET, I
get the QueryString as expected. my code fragment looks like:
public int doStartTag( )
throws JspTagException
{
try
{
previous = start - count;
if ( previous < 0 )
{
previous = 0;
}
out.print( "<a href="+nextPage+"?startAmbiguity="+previous );
//
// WHY does getQueryString() return null from POST?
//
out.print( "&"+((HttpServletRequest)pageContext.getRequest(
)).getQueryString( ) );
out.print( ">"+title+"</a>" );
return SKIP_BODY;
}
catch ( IOException ex )
{
throw new JspTagException( ex.toString( ) );
}
}
The query string contains information which I don't particularily
displayed in a GET URL, so how do I work around this, apart from getting
all the parameters and building the query string myself?
begin:vcard
n:McPherson;Sandy
tel;cell:+31 6 224 70517
tel;fax:+31 527 68 74 80
tel;work:+31 527 68 70 10
x-mozilla-html:TRUE
org:Allset Consultancy BV.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Consultant
adr;quoted-printable:;;Robbenplaat 18=0D=0A;Urk;;8321PA;Netherlands
x-mozilla-cpt:;32288
fn:Sandy McPherson
end:vcard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]