File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Using Struts with Sun One Studio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using Struts with Sun One Studio" Watch "Using Struts with Sun One Studio" New topic

Using Struts with Sun One Studio

Sarthishari Kumar

Joined: Apr 21, 2003
Posts: 19
Am using Sun One Studio for Development. Can i use Struts in Sun One itself.
It uses the Built-in Tomcat 4.0 Server.
Where should i create the Directories required for Struts.
Or i should download Stand-alone Tomcat Server and then start using Struts.
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
don't know exactly an answer... but I was just reading and found a struts console that works with forte for java (in case you're not using it). They explain a little bit about it here:
it might help you , Haven't used Sun ONE

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Roo Schein

Joined: Apr 21, 2003
Posts: 3
Forgive me, I don't Sun ONE, so this is just my best guess. Does the built in Tomcat have a webapps directory for deployment? If yes, create a directory there for your struts files.
Or better yet, if the built-in tomcat supports war deployment, download the struts-blank.war file and place it into the webapps directory. Change the name to whatever you want (yourapp.war) then restart tomcat and presto - you have all the directories and files in place.
It is sorta covered in the JavaRanch Style Guide.
subject: Using Struts with Sun One Studio
jQuery in Action, 3rd edition