tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lamine" <lamin...@hotmail.com>
Subject RE: Display from MySQL Text Field
Date Wed, 04 Oct 2006 02:00:58 GMT
Fahran,

I will just assume that you did not use a loop...

Make sure that ${rowSreach} is an item in a <c:forEach> loop before you
can collect a field value from each record... You have to do this even
if you have only 1 record in your table.

Hope that helps.
Lamine.

-----Original Message-----
From: Rahul Akolkar [mailto:rahul.akolkar@gmail.com] 
Sent: Tuesday, October 03, 2006 2:23 PM
To: Tag Libraries Users List
Subject: Re: Display from MySQL Text Field

On 10/3/06, mmfarhan <farhan@cybercomcity.com> wrote:
>
> Hi,
> I am trying to display text which is stored in mysql text field. But
it
> displays nothing. and when i try this code:
> <c:out value="${rowSrearch.pDetails}" />
<snip/>

Could simply be EL-2 [1]. Try changing property name to 'pdetails' (or
some such).

-Rahul

[1] https://issues.apache.org/jira/browse/EL-2


> <c:set var="text" value="${rowSrearch.pDetails}"/>
> <%
>         String text = (String)pageContext.getAttribute("text");
>         out.print(text);
> %>
>
> it gives me null.
>
> What is the best way to reterive date from MySQL text field.
>
> I am using:
> Apache2
> Tomcat 5.5.17
> MySQK 5.0.22
> mysql-connector-java-5.0.3
>
> Thanks
>
> Regards,
> Farhan

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date:
10/1/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date:
10/1/2006
 


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message