• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-blank.war

 
kavitha Mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to run struts applications. will you please tell me from where can I download the struts-blank.war. I tried to download from the struts.apache.org and I didnt find all the files.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kavitha

I think struts-blank.war is some sample application.Rather then getting some where you can develop your sample application.
 
kavitha Mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vidya Sagar
According to my knowledge it is an application and it contains some .tld files and .jar files and all. Inorder to create and deploy the application which I developed my own I need that application to extract.
 
kavitha Mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vidya Sagar
Thanks for your response.
According to my knowledge it is an application and it contains some .tld files and .jar files and all. Inorder to create and deploy the application which I developed my own I need that application to extract.
 
vidya sagar
Ranch Hand
Posts: 580
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The struts-blank.war file comes with the binary download of Struts. You'll find it in the webapps directory once you've unzipped the download file.

Unpacking this jar file and using it as a template for a new Struts project is actually a very good idea. It has all the jar files, a sample struts-config.xml file, a sample ApplicationResources.properties file, and pretty much everything else you need.
[ August 07, 2006: Message edited by: Merrill Higginson ]
 
divya chamarti
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kavita you can download the struts-blank.war file from the site below :
http://www.ip97.com/apache.org/struts/binaries/struts-1.2.9-bin.zip
in this zip file there wil be so many files along with the struts-blank.war file
 
kavitha Mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Merrill Higginson,

Thanks alot for your reply
Then I want one more thing now I downloaded, struts,tomcat,tomcat plugin,Easy struts.
Actually I am willing to run Struts applications using Eclipse tool. I copied tomcat plugin to Eclipse->plugin. and I extracted tomcatplugin->Devloader.zip to tomcat->server->classes.
Now my problem is I am not able to see the tomcat icon ie., start tomcat,stop tomcat on the Eclipse editor. If you have any idea please tell me about that how to configure that.
 
kavitha Mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya
Thanks alot for your reply
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My suggestion would be to use the Callisto project to help coordinate and install your web development plugins. I tried it, and got a Tomcat Server running through eclipse without any problems.

Start by clicking here, selecting the "I build web applications" link, and just follow the instructions from there.
 
divya chamarti
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi kavitha
you can try this one :
Start Eclipse.
Configure Tomcat plugin.
Menu "Workbench" -> Item "Preferences" -> Option "Tomcat" -> "Tomcat version", select "4.x" -> "Tomcat home", specify <Tomcat install dir> -> Under Option "Tomcat", suboption "JVM Settings" -> "Classpath", add the Jar/Zip for tools.jar. (If you use JDK 1.4 at C:\jdk1.4, it is "C:\jdk1.4\lib\tools.jar"). This is for compiling JSP.
Set classpath variable TOMCAT_HOME for project classpath reference.
Menu "Workbench" -> Item "Preferences" -> option "Java" -> option "Classpath Variables" -> New variable, name "TOMCAT_HOME", value <TOMCAT install dir> (Then in .classpath of your project, you use TOMCAT_HOME for variable references.)
Make sure Tomcat menu accessible.
Set to "Java" perspective, and make sure Tomcat menu and its 3 toolbar buttons are available. (If not, Menu Perspective -> Item "Customize" -> option "Other" -> option "Tomcat", check it.)
Use menu or toolbar to Start/Stop Tomcat
(The plugin will start/stop Tomcat as a debugging mode VM inside Eclipse, so debugging into Servlets and JSP-generated-Servlets becomes possible.)
Note:
For your Eclipse project, .classpath needs this to compile Servlets:
<classpathentry kind="var" path="TOMCAT_HOME/lib/jasper-runtime.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/common/lib/servlet.jar"/>
 
divya chamarti
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've tried the above one and found icons successfully
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic