Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Initialize an Action with parameters ?

 
Vince Hon
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I aim at writing an ActionServlet that deal with uploading file. I would like to make this ActionServlet in my own library and used anywhere.

However, I need a place to initialize this servlet, initialized parameters include The temporary location to store the file, the max file size, the upload time limit ....

Where can I initialized such parameter for action servlet (just like using <init-param> in web.xml) ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic