Hello Pierre,


Struts is "just" too big a project to stay among its siblings under the Jakarta general project, which is why it is "on its own".

I have just installed Tomcat 5 for Java WSDP. Do I need this version to make Struts development or can I use the regular 5.5 version too? I have installed both.

If you use JBoss, there is an embedded version of Tomcat 5 with it. You don't need anything else.

Also, I would like to know how can I have access to J2EE? I am on Mac OS 10.4 and as I know I need JBoss to have access to J2EE.

If you use JBoss to do your work, that's fine : it works great. Just don't forget to put your webapp in the $JBOSS_DIR/server/{default,minimal,all}/deploy directory (either as a WAR archive, or as a yourapp.war directory).
For instance, I use the "default" server, that leads to a path like :

C:\jboss\jboss-4.0.1\server\default\deploy\my_webapp.war

(I am currently using MS-Windows for my devs)

I have installed JBoss on my machine too. But I don't understand how can I use Tomcat, JBoss and Struts altogether. Can you help me?

Struts is a collection of Java packages that you must embed with your web application.

You must understand how a J2EE application is built (which is a bit beyond the scope of this mailing list, I think). Basically, this means your application will have the following structure :

+---WEB-INF
|      +-----classes
|      +-----lib
|
|
+---META-INF

WEB-INF contains configuration files (such as web.xml, and struts-config.xml), definition files (for instance the taglib definition files), etc. ; its subdirectories contain the various compiled classes (the "classes" directory ;-) ), and the various packages you hava to embed with your application (for instance, struts.jar ;-) ).

Anyway, this little presentation is far from complete, and I suggest you read some doc about J2EE applications before going further with struts (java.sun.com is a good start).

--
Stéphane Zuckerman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to