• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confused whether Error is related to TLD

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
LastQuote.java



LongName.java



Simillarly , other tags of tld calls other java files for retriving values from database
 
Ranch Hand
Posts: 437
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jatin. Make sure the instance variable of javabean private.

This may help.
reply
    Bookmark Topic Watch Topic
  • New Topic