Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Does anyone have a better idea?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, my current project is implemented in plain HTML web pages, but now I received requirement to have a place in the web page to store the last 10 records user entered(for example, last 10 phone #, last 10 address, .. etc.). I am thinking of using an applet on each web page to store those 10 records, and the user can drag and drop one of the records on the applet to other text field outside of the applet. Does anybody know if it can be done in a better way using DHTML/JavaScript. Thanks.
 
author & internet detective
Posts: 41184
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you supposed to store them for the future (file or database) or just while the user is on the web page. If it is just for the web page, you could use a JSP and session. You could reuse most of the HTML you have now in the JSPs.
 
LGu Gu
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne, I think you miss the point. JSP/Sessions is totally irrelavent on this issue. What I need is a place on the web page that the user can grab those stored information.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne did not miss the point....She wanted to know how you were saving this information. It makes a big difference in how you store it. Your question was too general to start with.
You need to make a form...If you are using jsp, then you need to save it to the jsp page. If you are diong this client side then you are going to save it to a cookie.
Eric
[ October 17, 2003: Message edited by: Eric Pascarello ]
 
LGu Gu
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, let me make my point more clear. What I really want to know is the opinions on the GUI(whether to use Applet's drag and drop, or doing similar thing using DHTML/JavaScript). I will really appreciate if someone can provide valuable information on how to make a nice and easy-to-implement GUI for the user.
As far as how to save/store the information(using Session/Cookie/jsp/file/DB) is NOT the question I am asking.
Hope I have cleared my point enough.
[ October 17, 2003: Message edited by: LGu Gu ]
[ October 17, 2003: Message edited by: LGu Gu ]
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I were you, I would stick stricky to the applet sonce it is hard to integrate drag and drop into an applet with javascript/dhtml.
My 2 cents
Eric
 
Jeanne Boyarsky
author & internet detective
Posts: 41184
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm with Eric. An applet is much better for drag and drop.
(Sorry about the confusion. I thought you were asking about data storage.)
reply
    Bookmark Topic Watch Topic
  • New Topic