Hello, Gaia If you are using Tomcat with Eclipse, try appending to its library path (in the configuration of Tomcat in Eclipse, not in Apache Tomcat Properties ) the paths where you have mapscript.dll and the others linked to it (i.e. C:\ms4w\Apache\cgi-bin and C:\ms4w\Apache\cgi-bin\mapscript\java)