Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

My sql connection problem when i submit user detail custId showing "ZERO"

Avatar

Level 2

Hi,

i am working on form using mysql storing data and retrieving data .i followed below adobe document link.

http://helpx.adobe.com/experience-manager/using/querying-persisting-cq-data-mysql.html 

Issue:when i submit user details in my jsp it's connecting my package but not connecting my bundle (bundle status is active ).

but submiting user details custId  showing "Zero" can any one help me.

1 Accepted Solution

Avatar

Correct answer by
Level 9

It seems that there may be some problems with missing css file or some typo. Please enable firebug or chrome dev tools to see whether you have any js error.

When you submit whether any post requests are going through, also check error.log 

View solution in original post

9 Replies

Avatar

Correct answer by
Level 9

It seems that there may be some problems with missing css file or some typo. Please enable firebug or chrome dev tools to see whether you have any js error.

When you submit whether any post requests are going through, also check error.log 

Avatar

Level 2

Hi ,

please find j query debugger mode only i got images error only showing because am not added images please find.

Avatar

Level 2

Hi shajiahmed,

i checked no issue.

i followed below links .

http://helpx.adobe.com/experience-manager/using/creating-cq-web-application-uses.html(it's working fine).

when i am trying database storing values and retrieving it's showing custId values is 'Zero' i change bundle it's not working .

can u help me i am struggling so many days.i follow below link

http://helpx.adobe.com/experience-manager/using/querying-persisting-cq-data-mysql.html  (it's showing custId Zero)

thanks

Avatar

Level 9

Can u please upload your package

Avatar

Level 2

hi,

can u please give your mail id i'll send my package along with jdbc code . 

Avatar

Level 10

Hi,

When you 'Add Customer', did you check the log files to see if any error thrown at the bundle or at the JSP level..

 

Thanks,

bsloki

Avatar

Level 2

bsloki wrote...

Hi,

When you 'Add Customer', did you check the log files to see if any error thrown at the bundle or at the JSP level..

 

Thanks,

bsloki

 

hi.

no error display but am not added  images that one only showing ,

when i stop bundle that time json error throwing i can share my package if u don't mind give me your mail id .