velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leina Last <>
Subject Re: send textfield value with addPathInfo() ?
Date Thu, 20 Mar 2003 12:33:52 GMT

Have a look at
with addPathInfo you can send data with a  href link just like HTML form's GET method.
I make use of  $request.getParameter in my servlet.
 Denis <> wrote:Leina,

What is addPathInfo? Is it a Java method?

If so, you need to have an instance of the class in the context, and do:

$myclass.addPathInfo("YYYY", $request.getParameter("YYYY"))

(I don't know if $request.getParameter exists in your context, it's 
just to give you an idea)

-- Denis.

On Thursday, March 20, 2003, at 12:02 pm, Leina Last wrote:

> Hi
> I will appreciate if someone PLEASE can help me.
> I have a text field like  [input]  
> and would like to send the value of YYYY to a servlet, making use of 
> addPathInfo().
> I tried something like addPathInfo("YYYY",YYYY.value), I also tried 
> calling a javascript something like addPathInfo( "YYYY",getYearValue() 
> ). None of these work.
> How can I manage to send a value from a text field making use of 
> addPathInfo() ?
> Thank You
> L

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message