RE: Display from MySQL Text Field

"Lamine" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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:[email protected]] 
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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]


-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.