Changes in java file dont show up on site
hi
i'm using tomcat4 server.
i use java jsp html files for developing the website.any changes to jsp files show up on refreshing the page but when i do changes in java files (which are called from jsp files) compile them and refresh the page the changes dont show up.
even restarting the server didn't help.
when i delete the .class file of that java code still the server runs when it is called from jsp file.
it doesn't give filenotfound or classnotfound error which is expected in such case.
can anybody plz tell me what to do
Did you not overlook something, like putting a jar containing (previous versions of ) your classes to "lib" ?
Similar Messages
-
Changes to edd files not showing up in the DITA 1.2 applications
I made changes to the edd files in the DITA 1.2 folder, but they aren't showing up when I use applications that are linked to them. The changes I made don't go into effect until I import element definitions, and I don't want to do that for every file. Has anyone else had this problem?
Thanks!After updating the EDD, you have to import that into the corresponding template(s). Be careful not to import the EDD into the wrong template. Note that the default setup for DITA 1.2 in FM is to have separate structure applications for each topic type. That means you have to maintain separate EDDs and tempaltes for each. The EDDs are set up to be shared where apporpriate (via text insets), but it can be hard to keep track of which goes where.
The best approach is to clone the default apps to make apps of your own name, so you can always test with the default apps .. because you *will* eventually break something and won't know what happened.
Cheers and good luck!
...scott -
CompilerCache update on change in Non Java file
I have a Java project which has .java files and a .mapping file. (.mapping file
is needed for JDO implementation). When I change any .java file and rebuild the
project, compilerCache (.workshop\.ide) gets updated. When I change only .mapping
file and rebuild the project, compiler cache does not get updated. Is there
configuration file/settings where I could add more file types whose modification
will result in compilerCache update?
ThxHi Vikas,
I guess your form contains two blocks, based on tables from a database. (So your remark "Non-database" is incorrect).
Then, do you need two separate buttons for 'Save' and for 'Update'?
In Forms, there are standard buttons in the Forms toolbar to commit the changes to the database.
Of course it is possible to copy this standard functionality to custom-made buttons, but I think you do not need to do that.
Kind regards,
Lennart de Vos -
Hi there,
I'm using netbeans 4.1 and when I need to change a java file, the IDE doesn't recognize these changes when running web app.
Any tips?
Tks in Advance,Hi there,
I'm using netbeans 4.1 and when I need to change a
java file, the IDE doesn't recognize these changes
when running web app.
Any tips?
Tks in Advance,Did you check out netbeans.org site?
http://www.netbeans.org/kb/index.html -
Oracle Application Server 10.1.3.1 [recompile java files]
Hi ,
I run JSP application on my Oracle AS.
Whenever I change (recompile java files) my code in the class files (under the /.../application-name/WEB-INF/ directory), I need to stop and start the web server to take the changes be in effect. \
Is there any better way or any setting to make the changes in the class files effective without stopping the server?
Pls help me on thismy question has not been answered yet. pls help on this.
-
when i search for mp3 files spotlight shows id3 tags instead of filenames as it used to do !!! I DONT want that .. how can i disable it !!!!!???????
Sorry, my handful of mp3's had the file name as the id3 tag name.
So, I am seeing the same thing as you.
Oddly, a while back I was trying to help someone out in Mountain Lion that wanted to see the id3 tags in the Finder.
It's all a bit silly. They should have added columns instead or changing it to tag song name.
They are transitioning to having everything reflect the content and not the file system, so this may not be reversible.
The best I think you can do is provide feedback: http://www.apple.com/feedback/macosx.html -
Filedialog File type shows *.*, how can I change?
I wanna change the file type showing in FileType in FileDialog, please help.
This code is for JFileChoser. You should be able to adapt it for your requirement.
JFileChooser chooser = new JFileChooser();
chooser.addChoosableFileFilter(new FileExtensionFilter("Text files", new String[] {".txt"}));
chooser.addChoosableFileFilter(new FileExtensionFilter("SQL files", new String[] {".sql"}));
package net.sourceforge.squirrel_sql.fw.util;
* Copyright (C) 2001 Colin Bell
* [email protected]
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import java.io.File;
public class FileExtensionFilter extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter {
private String _description;
private String[] _exts;
public FileExtensionFilter(String description, String[] exts) {
super();
_exts = exts;
StringBuffer buf = new StringBuffer(description);
buf.append(" (");
for (int i = 0; i < _exts.length; ++i) {
buf.append("*").append(_exts);
if (i != (_exts.length - 1)) {
buf.append(", ");
buf.append(")");
_description = buf.toString();
public boolean accept(File file) {
if (file.isDirectory()) {
return true;
String name = file.getName().toLowerCase();
for (int i = 0; i < _exts.length; ++i) {
if (name.endsWith(_exts[i])) {
return true;
return false;
public String getDescription() {
return _description; -
Flash0 dont show any files Cisco3945
Hello
I have a router 3945, version 151-2.T2, the dir command dont show any file in flash0,
The total is 4186591232 and free 4067074048, this indicate that something unknow is using that bytes.
R01IPMONSLA#dir
Directory of flash0:/
No files in directory
4186591232 bytes total (4067074048 bytes free)
Does anybody knows about this behaviour?and how can try to fix this?, there were not changes recently
Thanks for your helpI know what this is. This is a third-party CF isn't it?
Some third-party CF contains an auto-execute, proprietary software that are hidden.
If this is indeed a third-party CF, then use the router to format the CF. -
Why do I need to restart Apache and Tomcat every time a java file is change
If a java file is changed and complied the changes are not reflected if Tomcat is not restarted.
The settings in server.xml are as:
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager" debug="0" privileged="true"/>
<Context path="/cf" docBase="cf" debug="0" reloadable="false"/>
Here "cf" is my Application folder under webapps. The reloadable property when set to "true" for standalone Tomcat on Windows98 reflects the changes for compiled java files without restarting Tomcat. But on Linux 7.1 with Apache 1.3.19 and Tomcat 4.0.3 this is not working.
Also tried out with Manager Application of tomcat-users.xml with reloadable="false" as well as reloadable="true",
But when I reload the application using the command
http://servername:8080/manager/reload?path=/appli.name
It tells me that the application is reloaded but changes in the java file are still not reflected.
Also when reloaded through Manager Servlet, Only my load-on-startup servlet is reloaded, but other java classes are not.
Is it neccessary to execute this reload command from the server itself. I m executing it from a remote m/c. and have mapped the application with a domain name virtually.
Is it the case with Tomcat on Linux with Apache. Or is something going wrong on my part.
Can someone Help out plz.
Regards,
Rupalior you can "touch" your web.xml file.
touch web.xmlor that command is for *nix systems, not sure what the Windows command is. But basically, when you edit the web.xml, even if it means updating the last modified time, it will restart only your application and you should see the changes. -
How can I build EJB archive after changing java files?
hello,
I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!
So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..
Is there any pre-requisite to enable the menu?
I have no idea how I can build jar file..
Please give me a advice.. Thanks~!I think that in order to create a RPM, you'd need to
use some C.Nope - the RPM is all about packaging and the "magic" x.spec file. You can have anything you want in the RPM, but you have to use RPM tools to build the .rpm file. One of the features is that you can also indicate (via "install" scripts) modifications to other files or the filesystem to support the installation of whatever's in the RPM. -
I updated song titles in itunes but the changes dont show up on my ipod
I updated song titles in itunes but the changes dont show up on my ipod. It still shows the old song titles. Help!!
Did you try unsyncing the songs and then resyncing them?
-
Chinese characters dont show up on the PDF file
Hi guys,
Chinese characters dont show up on the PDF file. Its #.
Please let know how to fix it.
Thanks!Hi,
I am the facing same problem as you were faced. I am not able to print chinese characters in PDF as it is coming properly in print preview.
I am sendig this document via email.]
Pleae help me if any solution with you.
Thansk and Regards,
J.P -
Hi All,
How to view the change immediately after a java file that is used in jsp is modified
without restarting server or redeploy?
Moreover, it is better to keep the original session.
Any suggestion is appreciated.
Kammau
Hi,
In order to have a new version of a java class, the current classloader must be
deleted and a new one created. This is what redeployment does. I believe that
this is more of an issue with Sun's implementation of classloaders. You could
ask BEA support (719.232.7878) and see if they have any plans to periodically
check jar files to see if java class file timestamps and destroy and re-create
classloaders on the fly.
1) You will still have to accept the performance hit of destroying classloaders
and creating new ones. There isn't any way around that.
2) I would think you would want to have more explicit control in production and
integration anyway.
You can redeploy applications from the command line (script) file not just the
console.
Hope this helps,
pat
"Kammau" <[email protected]> wrote:
>
>Hi All,
>How to view the change immediately after a java file that is used in
>jsp is modified
>without restarting server or redeploy?
>Moreover, it is better to keep the original session.
>Any suggestion is appreciated.
>
>Kammau
-
hello bridge dont show raw files, I bought todaz PS CC , installed it, removed it and installed again an d it doesnt work still
Hi All,
About four months ago, I purchased CS3. I own two digital cameras, an EOS 5D and an EOS G9. I always shoot in Raw. When using a card reader to upload images through Bridge (i.e. get photos from camera), It worked flawlessly when reading the 5D. I could see the Raw images in bridge without a problem. When trying to read the EOS G9 Raw files from a card reader through bridge (i.e. get photos from camera) they were not recognized. I figured it must have something to do with drivers or how Camera Raw interprets the data. I upgraded Camera Raw, I believe to 4.5 on the advise from folks at Adobe. Bridge now recognizes the G9 Raw files and uploads them without issue. However, when trying to view the uploaded images through bridge it doesn't see the Raw images other than as a little Icon with a CR2 flag. Camera Raw can open an individual image, but the only way to view the images in mass, is to convert them to a PSD or JPG format. To have a few hundred Raw images in bridge and not be able to see them unless they're all converted to PSD or JPG is really disconcerting. Any insights or help with this would really be appreciated.
Thanks in advance .... -Scott -
Java GUI to show all System Files
Hi! I would like to know about some Java code to show all files in my system.
I want something similar to Windows Explorer. Thanksuse JTree for display
component "File" for retrieving files from any specified directoy
Maybe you are looking for
-
How to avoid a report to execute without taking an action on the prompt
I have created a dashboard which has a prompt. I would like to have the report run only when the user clicks on "OK". Right now when the dashboard is accessed it already runs the report with the default value on the prompt. Here is the error message
-
Running iTunes in two windows at the same time
How can I simultaneously view two windows with different playlist on each one? I remember, that was possible in the previous version of iTunes.
-
I am not able to add videos to itunes. So I am not able to sync them with my IPhone4s. I ve tried: dragging to itunes, minimize file name of mp4, adding by file/folder, but still not adding. WHY? Please help.
-
SAP CC 2.0 Problem with Core Tool and License
We have an instace of Sap Convergent Charging that has been running until the other day. Since yesterday we are retrieving the an error if we execute the Core tool : Once we execute the core_tool.bat application we insert the correct user and passwor
-
Fail BE6K not start after restart CUCM 10.5 and CUC 10.5 in VmWare 5.X
Hi team; Could you please help me with this issue: I have a BE6K, make install CUCM services 10.5 CUC CUP 10.5 and 10.5, everything was working fine. But I need to make a reboot and after that the virtual machines where applications are not initiated