theJavaBasket
Friday, August 29, 2003
  i stress it again and again, get those ending slashes correct in Struts. And don't forget to put the form beans in the struts config for a page that has forms. 
Tuesday, August 26, 2003
  besides, i don't feel like bothering about it at the moment (am using CVS). So whatever. 
  looks like JDeveloper can't have multiple instances of different source control systems active at the same time. Tried CVS (y'know? Concurrent Versions System) and SCM (y'know? Source Control Management by Oracle) and it appears one will disappear from the menu if one is active. I haven't fully verified this in JDev version 3.0.9.1 but in previous versions, this case happens. Toot 
Thursday, August 21, 2003
  something nifty for the ignorant IT people like me: to log on to a remote machine NOT in your domain, like when you log-in to your local workstation, type the domain name followed by a backslash and then the user name (after which you type the password). i dunno if it applies to other Windows environment (i'm using Windows 2000) 
  work tip for the day: if you're brain has been corrupted to a few several neurons like mine, it helps to use those TurboNotes to remind you of the tasks. I tend to get distracted by other smaller tasks on the way that i don't travel the right direction. 
Tuesday, August 19, 2003
  another quirk in Struts. One should never have setters with identical names as it'll confuse Struts on its getters. Pretty weird, but that's the way it goes. Example:

int id;
int desc;

public void setDesc(int id) { this.id = id; }
public void setDesc(int desc) { this.desc = desc; }

in the first place, this shouldn't even be written this way (why name it with the same setter name anyway?). But in case there needs to be some funky technique that needs to be pulled off with this one, be aware that Struts hate unoriginality. So there. 
  first up, what i need to remember:

*StrutsTestCase in JDeveloper
- there's a difference between the system classpath from the IDE classpath. So to make StrutsTestCase work, set the classpath inside the IDE itself.

*Struts
- tags can be a pain to check on WHY it's not working. Always remember to see if paired tags (i.e., ones that need opening and closing tags) don't have stray slashes like this:

<nested:iterate property="someFreakingList"/>Content</nested:iterate>

it'll prematurely end the tag and the body will not be executed. Now THAT was a pain to figure out on my part. 
my oftentimes, failed attempt to rekindle my interest in the IT world ... or should i just toil the land and sleep with the dogs?

links
Blogger
Jakarta Struts
Apache ANT
JGuru
Click Me
---
PvpOnline
SinFest
8BitTheater
PennyArcade
Diablo2
WarCraft3

archives
August 2003 | September 2003 | October 2003 | November 2003 | December 2003 | January 2004 | May 2004 | June 2004 | July 2004 | March 2005 | April 2005 | December 2005 | September 2006 |


Powered by Blogger