• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is tt possible to assign db path in parameter in the server-side?

 
Jeff Song
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is tt possible to assign db path in parameter in the server-side?
or use the default db.db in suncertify.db package
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
To assign a db.db file path is not only possible but it is also a part of assignment requirement. There are two ways for you to give path of db.db file either write path at command line or create JFileChooser component dialog mask.
Both will do.
 
Jeff Song
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops!Thanks
But i didn't find the requirement in instruction.
It is only required in local mode only I understood.
Should I supply absulote path or relative path???
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It isn't a requirement to include it in the server at command line or the JFileChooser. Although it is a nice feature to add. Myself I told the assessor the db.db file goes in the root app directory, and hard coded that in my assignment.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic