2011/10/28 Thomas Mortagne <[email protected]>:
> 2011/10/28 Yang Li <[email protected]>:
>> 于 2011/10/28 17:47, Thomas Mortagne 写道:
>>> 2011/10/28 Yang Li <[email protected]>:
>>>> 于 2011/10/28 17:35, Thomas Mortagne 写道:
>>>>> Sorry it's
>>>>>
>>>>>
>>>>> <%
>>>>>
>>>>> println "filename=" + request.get("filename")
>>>>> println "confirm=" + request.get("confirm")
>>>>>
>>>>> %>
>>>> Now I got
>>>>
>>>> filename=null confirm=null
>>>>
>>>> I put xxxx.xar into the text box and checked Import all!
>>> I really don't understand what could happen, that's a basic html form.
>>> Look like in your case the browser just reload the page without the
>>> parameters from the form.
>>>
>>> What browser are you using ?
>>>
>> Is it to put the two prints at the very begginning? or should them be
>> somewhere else?
>
> Anywhere you want as long as it's executed, at least at the beginning
> you are sure it is.
>
>>
>> I am using firfox 7.0.1
>
> Are you sure you clicked on the button ?

Another test:

Change the last

<form action="" method="post">

with

<form action="" method="get">

and see if the parameters are added to the URL when you click in the button.

>
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>
>>>
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to