aspose file tools*
The moose likes Struts and the fly likes compiling java class in Struts under Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "compiling java class in Struts under Eclipse" Watch "compiling java class in Struts under Eclipse" New topic
Author

compiling java class in Struts under Eclipse

Gyan Gupta
Greenhorn

Joined: Dec 01, 2008
Posts: 1
Hi ,
I am learning struts, but i am not able to see my changes that i have made in HelloWorld.java file in struts-blanck project.Still it prints "Struts is up and Running.." despite i changed MESSAGE string to something else.

I think it is using previously compiled class.If it is,then please tell me how to compile my modified class.

Thanks,
Gyan
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you're having problems compiling or deploying under Eclipse you should ask on the IDEs, Version Control and other tools forum.

If you're trying to use struts-blank as a Maven project you need to make sure your Maven plugin is working properly. If you're not you'll need to configure the project's source directories, libraries, web content, and so on manually.
Anil Mundra
Greenhorn

Joined: Nov 14, 2008
Posts: 21
hi,
i think you didn't configure the Eclipse.
First of all open J2EE perspective it will make easy to work.
Just go into windows-> prefences and make some configuration like
set java compiler,
and check automatic build in menu bar -> project->Build Automatically.......
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compiling java class in Struts under Eclipse