Browse by Tags

All Tags » Struts (RSS)

Resetting a session-scoped ActionForm member value by lamia

I had a session-scoped session form and when a user clicks on a button, I wanted the value to be reset. I tried to do something like myForm.setValue(""); but it didn't do the job for some reason. Of course, I'm doing the usual struts...
Filed under:

NullPointerException when submitting Struts <html:select> tag with multiple selection by lamia

I've been doing some client-side Javascript with Struts lately and two of my <html:select> tags happen to be a multi-select box(Listbox). Let's name them A and B for simplicity. A and B are form properties mapped to an ActionForm class....
Filed under:

Struts Tiles Definition Inheritance and ASP.Net Masterpages by lamia

While studying about Struts Tiles, I encountered the topic about definitions and inheriting from other definitions. For those who are not yet familiar with Tiles, a definition defines a tile or template. This reminded me of ASP.Net Master Pages which...
Filed under: ,

Your ActionForm for your HTML form, POJO as your model by lamia

In my previous company I have developed an online recruitment system in Struts framework. Have I ever mentioned why I prefer working in a team? It's because it's easier for other to point out your mistake. And because I am a self-taught, self...
Filed under:

Multiple message-resources in struts-config.xml problem - SOLVED! by lamia

Ok, this should have been posted yesterday, but since something went wrong after I typed a very lengthy blog, I'm just gonna post this again now and write everything from the top of my head. So, it would seem that having multiple message-resources in...
Filed under: ,

Internationalization with Struts by lamia

I haven't totally succeeded in internationalizing everything yet. But it was quite a surpirse how easy it was to do this in Java with the help of Struts <bean:write/> tag. All my static contents can now be converted to arabic(and other languages...
Filed under:

Struts 1.1 Controller UML diagrams by lamia

I just happen to find this site on some forums I've been visiting. Since I can't think of anything to post right now to start my blog, and since I'm using Struts on my current project... I'll be posting this link... Struts 1.1 Controller UML diagrams...
Filed under: ,