• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Displaytag in jsp

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


1. can we change the font style,color and size dynamically using Displaytag?

2. I can display in pdf,rtf,csv..... formats... can we print the datas directly from the jsp screen using Display tag?

please reply me as soon as possible

--
with thanks & regards,
M. Bharathi



 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
#1, check the "Styles" page in the online tutorial.

#2, the browser can print the HTML page; is that what you're asking about?
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


Thanks for your response:

k. i know the browser can print.... i want to know is there any option in displaytag to print the content.




--
with thanks
M. Bharathi

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What would that option do that the browser's print functionality doesn't?
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,


Thanks ulf... now i understood.


ulf i need one more clarification.


if i have 100 records.... in the first page it display the 10 records
at that time where it've to store the remaining 90 records.
i need to know it reads the records from buffer or read from a file...


--
thanks
M.Bharathi
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need to worry about that; displaytag handles all that internally.
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,


ok ulf.... but i need to know "in which format it stores the data internally"....


what I mean.... it retrieves 100 records from db and stores in a buffer or write it in any other file format. Then only i can suggest the performance of display tag...



--
Advance thanks
M. bharathi

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The data is stored in whichever way your code stores it; Displaytag merely displays it. The tutorial (which you should work through in full if you haven't done so yet) talks about that in the "Data sources" page. Files are not involved.
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ulf...


Thank you very much for your guidance.... now im clearly understood.... once againr really thanks ulf.



--
Great Thanks & Regards,
M. Bharathi
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic