• 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

japplet or jpanel ? (struts )

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

We are getting some table data in a jsp page(In struts),but as jsp page is not supporting some features like moving the table coloumns,drag and drop of rows , we are planning to develop the page using japplet or jpanel.(the result set will be 1000 rows !),So i want to know which one would be better. and using this jpanel can we call action class(struts ) or a jsp page ( i mean when we press a button of japnel an action event takes place,for that event can we call other jsp pages or an action class or a servelt. or is there any other option which gives features like drag and drop of rows,editing of cells (we are using java script for ths features ,but as number of rows increases its taking lot of time.)
suggest a solution.

Thanks
anil.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Applets run on the client, while Stuts runs on the server. There is no way to call Action classes from an applet. What you could do is to have the applet access URLs in response to client-side actions, and either retrieve additional data (AJAX-style, with Java instead of JavaScript), or have the page containing the applet replace itself with another page. But directly accessing classes/methods inside the web app, no.
 
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic