Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Edit a class file in Eclipse

843789Jul 1 2009 — edited Jul 2 2009
I am new to Java and Eclipse and Weblogic.

I was give a .war file and told to simply edit a parameter that they thought was in one of the .jsp pages in the war file.

the only occurance of the parameter name "SearchProvider" is in the Search.class file located deep in folders under the WEB-INF folder.

the only way i could even find the parameter "SearchProvider" was with the use of an Effective File Search trial software.

I opened (barely) the Search.class file with windows notepad and its mostly jibberish but I can find the reference to "SearchProvider" in the class file.

I need to change this parameter.

When I import this into eclipse, I get the message there is no source file attached to the class file Search.class.

I added the entire class folder into the library. I tried to change the class source but all I have are just the files in the .war package.

I have tried changing the extension to .jar and this will let me add these files as a project, but I cannot edit this Search.class file no matter what I try.

My basic question is, Am I missing files from the client? Do I need more than just a war file?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2009
Added on Jul 1 2009
3 comments
247 views