You can't specify VM arguments in your web.xml file. You can use web.xml parameters in your Wicket application object (override method init). You should note however that VM arguments are in the scope of the whole VM that can have mutliple (conflicting?) webapplications. So, you probably want to avoid depending on VM in production systems unless you are really sure you 'own' the server.

Eelco

Anders Peterson wrote:

Well... ;-)

(I'm a beginner both in terms of PriDE and servlets.)

Currently I simply set the VM arguments in the eclipse (Jetty Launcher) launch configuration.

Before, when I was using Tomcat/Sysdeo, I couldn't do this. Then I hard coded the properties:

System.setProperty("pride.driver", "com.sybase.jdbc2.jdbc.SybDriver");
...


Can't I specify VM arguments in the web.xml file?


/Anders




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to