Castor Castro

Greenhorn
+ Follow
since Feb 03, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Castor Castro

Hi Guys,

This is the best that I can ask. Does the sun experts have ways on how to figure OOM caused by perm gen space problems?

Thanks
12 years ago
Hi Guys,

I would like to ask how to validate values coming from an html:select

I have the validation.xml and etc., configured (working with text boxes already). But don't know how to validate values from html:select.
Also, though not related to my previous question, in a jsp with html:form, properties inside the form (e.g. a textbox) should be defined in struts-config form-bean. Why is this so?

Please give advice.

Thanks
Castor
13 years ago

castor castro wrote:Hi,

I started creating a project. It is an online application aimed to automate a manual process. I am done with the Component part of the app, already figured struts actions, etc.

I am now working on the View part of the application. I am using tiles to aid me in layering the pages. I am almost done. But now I am trap in a middle of deciding which way to go. I just learned that there is an open source framework called struts-menu. One that attracted me is the way menu are rendered - page does not refresh unlike with my tiles based UI which refreshes page each time you click a link/menu.

My question now is, should I go for struts-menu or just beautify my tiles based pages? Does skills in struts-menu have advantages in the job market? By the way, this project I am working on is a review and a practice aiming to add/refresh some skills of mine.

Thank you very much in advance. I am hoping to hear from you.

Castor

13 years ago
Hi,

I started creating a project. It is an online application aimed to automate a manual process. I am done with the Component part of the app, already figured struts actions, etc.

I am now working on the View part of the application. I am using tiles to aid me in layering the pages. I am almost done. But now I am trap in a middle of deciding which way to go. I just learned that there is an open source framework called struts-menu. One that attracted me is the way menu are rendered - page does not refresh unlike with my tiles based UI which refreshes page each time you click a link/menu.

My question now is, should I go for struts-menu or just beautify my tiles based pages? Does skills in struts-menu have advantages in the job market? By the way, this project I am working on is a review and a practice aiming to add/refresh some skills of mine.

Thank you very much in advance. I am hoping to hear from you.

Castor
13 years ago
Hello, currently getting ready for scwcd
Hi guys,

Just a quick question on struts app.

How do you handle exceptions/error from the model component? My model layer will usually return values for the view. What I have in mind is the return all values as object (including primitives wrapped into their wrapper classes) and if an error is encountered, then an exception object will be returned. In the action class, i will determine if it is an exception or not. If it's not, then I will put the object to the session for access by the view (via mapping.findForward("googPage")) and if it is an exception, then I will pass to the session as well for access by the view (via mapping.findForward("badPage")).

Thanks
13 years ago
Hi,

I am new to the struts framework. I would like to seek advice as to what version to move forward to. I am planning to write a personal project that uses this framework as practice. Also, which version is much appreciated by companies as of now? You know supposed that I will be adding it up as one of my skills.

Thanks
13 years ago
Hi folks,

I am currently reviewing for the SCWCD. Part of this quest is to develop a personal project which should apply all I learned. I am looking on creating a web based Leaves Tracking/Filing system which I can offer in our office as well. This system make filing sick/vacation leaves paperless.

As to the subject of this post, I am going to design my database. And here is how I am planning to do it:

Data will be stored in a CLOB field as an xml data. Data is identified by an id of course (say employee id). I will be using Castor to marshall/unmarshall the data. Now, what if a change in field happens? Let's say, another field needs to be added. My solution is that each Castor class files should be serialized and stored in the db as well and identified by a version number. The xml data should also have a version number to reference the Castor class. Upon startup of the application, as part of initialization, those classes will be deserialized in a directory identified by its package. And the story goes on...

Well, I guess that's all I wanted to say. I would like to ask expert advice from you guys. Whether to proceed or not and why. Or you could also give some advice on how I should do it.

Thanks
Hi guys,

I am working on a personal project and it will deal in lots of images/thumbnails. The first thing that comes in my mind is to save the images I need to the database. But I think it will be very slow as serialization/deserialization will eat up some resources.
Would it be better if I save my images in a apache drive, and just save the location of the file/s to the database so when the need for the image comes, I can just retrieve the location and display the image?

Please advice.

Thanks in advance

Castor
14 years ago
Hi,

I am planning to roll out a personal project so I can practice and apply some java technologies I already know and some that I don't yet know but willing to learn.

I picked a simple project - a blogsite.

I would like to ask for ideas on how should I proceed (what should it contain, database schemas, etc)

Or if there are other suggestions on what to develop - please advice.

Thanks
owkeerevolution@msn.com
14 years ago
Hi,

I would like to seek professional advice. I just had scjp 5.0 and I am thinking what to try next. Can somebody give me advice as to what should I try next and why. Or if I am in the wrong thread, can you please advice me where to post.

Thanks
15 years ago
Hi,

I would like to seek professional advice. I just had scjp 5.0 and I am thinking what to try next. Can somebody give me advice as to what should I try next and why. Or if I am in the wrong thread, can you please advice me where to post.

Thanks