Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

japplet or jpanel ? (struts )

 
anil kumar N
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic