on 2005 Jul 31 11:03 PM
Does anybody know an easy way to update static html files that are being used in a deployed web application on the 6.20 J2EE engine? i.e. where do the files reside so that I can just open them add the one line of text I need and save it WITHOUT having to go through the deploy tool.
Hi,
it's possible to edit .html or .jsp-files in the file structure. Allthough I wouldn't do this only for testing purposes.
Nevertheless, Java-Files cannot be edited on the fly. Properties-Files can be edited, but you have to restart the application or the whole server to make the changes effective.
You should check whether the original files, those that were wrapped in a war-file and deployed to the server are kept up to date.
Our files are found under:
D:\usr\sap\xxx\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\appname\root\
Why don't you search in your file structure for the file name, i.e. Windows explorer if it's a Windows-OS ?
Regards, Astrid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luke,
Now I got your q right.If you are using NWDS then I can answer your question in two points.
1)If you want to change only HTML files then you can do so(adding some text) and then choose save all metadata button from the menu.This is not reflect without re deploying your html file in WAS j2ee engine.
2)But if you want to change any jsp files or java files I fear you cannot do so as above.The reason being both the files has to be deployed in the server to reflect the changes.You make a WAR file out a jsp/servlet in NWDS and JAR file with your java file.If you have EJB also you have make a EAR file.All the changes in the above either static or dynamic text adding or functioonality will be reflected only after deployment to WAS server.
To get a particular file Iwill simply browse through the project structure to get it in my NW Studio.
Hope it helps you.
Regards,
Guru
P.S :- Pls close the thread if your query is answered.
Message was edited by: Guru Subramanian B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luke,
You can have ur html or jsp files in any of the folder structures under your project package structure and you deploy it and run in WAS 6.20.You can also edit the same in your studio IDE.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Guru,
What I'm more interested in is once they are deployed can you just find the html file in file struture, change something (e.g. add some static text) and have those changes come through without redeploying? If so how can you find the html files in the file structure, I did not create the web app and have never used the J2EE engine before and just want to add some text to one of the html pages.
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.