File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

compiling java class in Struts under Eclipse

Gyan Gupta

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 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.

David Newton

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

Joined: Nov 14, 2008
Posts: 21
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:
subject: compiling java class in Struts under Eclipse
It's not a secret anymore!