This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating web.xml via JSP/Java  RSS feed

Lindsay Alford
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP site that allows users to add a new subject....when they add a new subject, i want to be able to add a new folder in the root directory for this subject...I can add the folder thats ok, however i want users to upload to the new folder in the same session....i have a upload jar (called cos.jar) from oreilly that works fine however I have to hard code the url of the directory in the web.xml file...i was wondering if anyone knew of a way to update the web.xml file dynamically in the same session, or have an alternative??


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!