Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: help on data feild


Message #1 by ravi kiran <nagamkiran@y...> on Mon, 2 Apr 2001 23:32:24 -0700 (PDT)
hai programmer

you can receive any data from one page to another page
through

 String variable1=request.getParameter("string
variable from previous page-var2");

then you can convert variable1 into whatever you want.

for eg. variable var2 is having currency eg. 12.50

Float var3=Float.parseFloat(var2);

for eg. variable var2 is having integer value eg. 545

Integer var3=Integer.parseInt(var2);

i hope you understand this answer

bye

ravi


--- Super Powerfulrez <powerfulrez@g...> wrote:
> i want to retrive some data feild like currency and
> date how do i do what?
> 
> real something=request.getReal("something");
> date some=request.getDate("some");
> ???
> 
> how to output both of these feilds and also limit
> the currency to only 2 decimals
> 
> also how do i insert a date? do i need to put
> 12/12/2001??
> 
> please help
> 
> benjamin
> 
> nagamkiran@y...
> $subst('Email.Unsub')
> 


=====
Bye from nagam until next mail, till then watch at               http://nagamkiran.tripod.com/

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

  Return to Index