This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

User enabled editing of database jsp/servlet  RSS feed

 
Martin Baldwin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application where users enter logs into a guestbook and I want to give capability to edit the already entered logs from the jsp page that displays the logs. Here is the code that displays previous entries:

The /edit URI is mapped to a servlet:

I then try to filter my app engine datastore query in the same servlet to store as a collection the log associated with the date that was clicked on:

I think my problem might be an issue with passing the date stamp as a string as opposed to a date. I'm not exactly sure how the GAE query filters by date.
Thanks,
Martin
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!