• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Confused whether Error is related to TLD

 
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

 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
 
Ranch Hand
Posts: 437
Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jatin. Make sure the instance variable of javabean private.

This may help.
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!