File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to Initialize an Action with parameters ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to Initialize an Action with parameters ?" Watch "How to Initialize an Action with parameters ?" New topic
Author

How to Initialize an Action with parameters ?

Vince Hon
Ranch Hand

Joined: Feb 11, 2003
Posts: 117
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) ?


Vince Hon<br /> <br />SCJP 1.4 | SCWCD | SCBCD <br /><a href="http://vincehon.homeip.net:8000/VJW" target="_blank" rel="nofollow">http://vincehon.homeip.net:8000/VJW</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Initialize an Action with parameters ?
 
Similar Threads
Problem in websphere Struts / Server config
Can i have more than one ActionServlet in my web application
Trying to execute my First struts app but receiving "ServletException"
Trouble in hitting servlet via Hyperlink
I got this error when start server in WSAD: