• Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused whether Error is related to TLD

 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing one website related to stocktrack.
But while logging in, with the desired username and password, i am not able to display all the required information from database. Half the values are getting diaplyed while half arent.

henceforth i am attachin jsp page and tld and a java while .....

add transaction.jsp .......... calls stock.tld .........which callls respectives java files from tagclass..........for eg stocktrack.taglib.stock.LongName in stock.tld calls
LongName.java file.

I have tried putting a break point in the start of LongName.java file. But debugger never leads me to LongName.java file.

So i am confused, with the error. Is ther the errro in tld file / jsp file / java file.

Henceforth i attaching
addtransaction.jsp
stock.tld and
longName.java

Thanks for help

addtransaction.jsp


stock.tld



LongName.java


Link for complete problem : video TLD http://jatinkumar-patel.blogspot.com/

Thanks for the help

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jatinkumar patel wrote: Half the values are getting diaplyed while half arent.

This is indicative of an exception interrupting the sending of the response. Check your logs for the stack trace of the exception.
 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Symbol Company Holdings Latest Quote Average Cost Change From Close Change From Purchase Current Value Profit or Loss
ABGX.....................400.0...............................406.48
ADCT.....................500.0................................360.00

The tag values (For eg Company, Latest Quote, Change From Close Change From Purchase Current Value Profit or Loss ) are coming blank on the web screen.
Each of the tag values in tld is calling different java file, which is not being called (Checked using debugger in eclipse.)...

If you are able also to find, where exactly is the problem. Tht will be of great help.

Thanks for help.
 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LastQuote.java



LongName.java



Simillarly , other tags of tld calls other java files for retriving values from database
 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jatin. Make sure the instance variable of javabean private.

This may help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!