Tuesday, November 27, 2001

Here is a struts config file gui (swing) tool http://www.jamesholmes.com/struts/console/
Here is a tool, ZipScan, that will search for a file in zip and jar files. http://download.cnet.com/downloads/0-10097-100-7936686.html

Monday, November 19, 2001


Important note for the class org.apache.struts.action.Action:
Instance and static variables MUST NOT be used to store information related to the state of a particular request. They MAY be used to share global resources across requests for the same action.

Problems with the java plugin running in IE 5.5 on Win 2k sp2 not working.
1) remove CLASSPATH
2) remove all other VMs from the PATH
3) make sure JIT is checked in plugin control panel.

when the plugin is working u should get a duke icon in the system tray. you can double click the icon for the console.

\lib\security\java.policy - this file, in the jre, is used to give the plugin permissions. it's an alternative to signing the applet.
Here is an example of stuff you can add in the grant block:
permission java.io.FilePermission "C:/WINNT/SYSTEM32/ipconfig.exe", "execute";
permission java.lang.RuntimePermission "queuePrintJob";

Friday, November 16, 2001

Be sure to add -classic as a VM parameter when debugging in JBuilder. It really speeds the debugger up.

Use these tags to keep an html page from being cached. JACK SAYS THIS DOESN'T WORK!!!
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

be sure to use the /**@todo */ tag for incomplete work in java. JBuilder has a listing on the side of all todo items for a file.

Thursday, November 15, 2001

Here is how to debug orion/oc4j in JBuilder (even with Foundation): http://www.orionsupport.com/articles/jbuilder-debugging.html

In IE to get more information than "500 Internal server error" disable "friendly error messages". This is done under Internet-options -> advanced and will show you the real error message.

Oracle FAQCan I view the Servlet code generated from a JSP after translation?
Yes. To do this, specify the "development=true" attribute in the global-web-application.xml configuration file. The generated servlet code will be saved in the persitstence directory for your application. The persistence directory can be found in the $ORACLE_J2EE_HOME/application-deployments/application directory, where application is the name of the application you are using.

Currently still unsure exactly how to debug jsp.

Wednesday, November 14, 2001

When creating 3d UI controls the "light source" usually emanates from the left top of the computer screen

In order to customize the icon in the address bar, and favorites menu for IE 5 create a 16 by 16 pixel icon, name it favicon.ico and save it to the root directory. More details at favicon.com

If you want to use an ActiveX or COM object in a Java Program try using Neva Object. If you want to wrap a JavaBean to be used as an ActiveX component use the Java Plugin.

Tuesday, November 06, 2001

Problems with current project: The defect tracking is not integrated with the source control. We are using Ant and JBuilder and they really should be integrated. I prefer using JBuilder for the build and scripts for copying other files. We don't even have a debugger. We are using oc4j which is not integrated into the ide, and doesn't support jsp very well.

i've been using ant, and it quit working. I went through and manually deployed my files through windows and i realized jbuilder had locked one of my files. ant should have reported that problem to me. i have spent an embarassing amount of time trying to figure that out. ant stinks.

current project is using ant for deploy and jbuilder for ide. problems include long build times because ant is configured to rebuild everytime. also it causes problems with not saving. if you were using jbuilder for build it would automatically save all files before a build.

Monday, November 05, 2001

oc4j has hot deploy but it doesn't detect when you only change a jsp file. it does detect changed class files. but you can use the console to make jsp changes without redeploying at all.