I have relatively the same question. If I query
smalldatetime from one of my tables, how do I do
arithmetic with that date. Do I have to convert the
value of the date to an int?
--- Duncan Rose <[EMAIL PROTECTED]> wrote:
> The same one you'd use anywhere else in Java -
> String.valueOf(int).
>
> As in:
>
> ...
> int var = 1;
> String stringified = String.valueOf(var);
> %>
> Stringified value == <%= stringified %>
> ...
>
>
> -----Original Message-----
> From: Lorena Carlo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 07, 1999 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: Converting int to String on a JSP page
>
>
> Hi all,
>
> Can anybody tell me which function could to convert
> a variable from int to
> String on a JSP page.
>
> Thanks in advance
>
> Lorena
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets