This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes change the image in the interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "change the image in the interface" Watch "change the image in the interface" New topic
Author

change the image in the interface

hyuuga badita
Greenhorn

Joined: Mar 05, 2010
Posts: 6
i want to change the image in index.jsp in the admin.WAR file..so i need to extract it to allow me edit the code. when i extract the file, it seems like this admin.WAR_FILES..i already changed the image and color in source code but it didn't works. please help me.
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
Did you pack it all back again and deployed it to the server?


SCJP 6, OCMJD 6, OCPJWSD 6
I no good English.
hyuuga badita
Greenhorn

Joined: Mar 05, 2010
Posts: 6
no i'm not... how to deploy it to server?
hyuuga badita
Greenhorn

Joined: Mar 05, 2010
Posts: 6
what if i'm extract the index.jsp and modify it.. so do i need to deploy it back? index.jsp inside the admin.war.. do i need extract the admin .war folder or just extract the index.jsp? how to deploy it back to the server?
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
This is all very confusing. Where did you get that .WAR file? It must reside on a server, from which you get your index.jsp to your browser. You should deploy the .WAR file to that server. When you make changes to any file that is extracted, those changes are not reflected in the .WAR file unless you put the file back in.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: change the image in the interface
 
Similar Threads
get information from TIFF files
Image Extraction..
war file
java.io.FileNotFoundException
Extracting images from binary file