Browse by Tags

All Tags » Struts (RSS)

Resetting a session-scoped ActionForm member value

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...
Posted by lamia | 1 comment(s)
Filed under:

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

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....
Posted by lamia | with no comments
Filed under:

Struts Tiles Definition Inheritance and ASP.Net Masterpages

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...
Posted by lamia | 1 comment(s)
Filed under: ,

Your ActionForm for your HTML form, POJO as your model

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...
Posted by lamia | with no comments
Filed under:

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

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...
Posted by lamia | with no comments
Filed under: ,

Internationalization with Struts

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...
Posted by lamia | 2 comment(s)
Filed under:

Struts 1.1 Controller UML diagrams

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...
Posted by lamia | with no comments
Filed under: ,