E. Tse

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

Recent posts by E. Tse

anyone get result yet ? should get this before 29 this month....... :~|

I am still getting "Thank you for taking the test. Your test will be scored when the beta period has ended." in my score report, any of you got the result already ? How long do i need to wait ?

i have the following functional requirement:

- a form have a file input
- once user clicks submit, the page should stay at there
- server side converts the input file and then return back a file to user to download

i have done:
- using ajax to post the file to a resource mvc portlet (serveResource)
- using portlet output stream to write back the file being download...

my problem is:
- the ajax call could not go to complete state (cannot alert something after the ajax call)
- the file cannot be downloaded even though i write something to output

my another use case works fine if using GET in ajax call...

any hints ?? seems ajax cannot post to an url and then get something back, is it true ?
10 years ago
seems no one have experience in using struts 2 in portlets ?? if so, can you recommend me which forum can be a good place in asking these kind of question ? as it is urgent, i need to resolve it asap. thanks !
10 years ago
hi all,

i just upgraded struts 2 from 2.2.3 to 2.3.4 and found a problem, tried a night to fix but still no idea... Anyone can help ??

my application is written in portlet, which use Jsr168Dispatcher of struts2-portlet-plugin-2.3.4.jar. Everything was fine before upgrade but it does not work after changing struts version.


<package name="abcportletView" namespace="/abcportlet/view" extends="struts-portlet-default">
<action name="updateForm" method="updateForm" class="xyz.myActionClass">

<s:form id="sampleForm" name="sampleForm" action="updateForm" namespace="" theme="css_xhtml" method="post" enctype="multipart/form-data" >

Problem 1 - Resolved
default action input will show the jsp, inside the jsp having a submit button to submit the form with action "updateForm".

My first problem is: after the submit, it said invalid action /abcportlet/updateForm.action, which i does not have action extension in my application. i have originally configured to put extension as blank, with the following config value in struts.xml, but it seems changed the logic of reading that...

<constant name="struts.action.extension" value="" />

From reference, i changed to the following:

<constant name="struts.action.extension" value="," />

then, it seems working...

Problem 2
another problem comes...

09:39:31,349 ERROR [jsp:154] Unable to locate action mapping for request, probably due to an invalid action path: /abcportlet/updateForm - [unknown location]

Anyone can help ??? wanna see if it is my configuration problem using new version of struts or it is a bug in struts 2.3.4 ?? Thanks thanks !!!
10 years ago
just one silly question, what new features in Tomcat 7 ? I am using Tomcat 6.0.33 now and just eager to know what additional features i can have in Tomcat 7....

10 years ago
when you try to type <%= 2+3 %> at the end of the jsp will cause error, can you do these experiment ?

1. type some comments in line 13 after details and see if there's error
2. type <%="Testing" %> in line 20 and see if there's error

11 years ago
so surprised that no one use struts 2 plugins in Liferay.....
11 years ago

Paul Wam wrote:Is there a online document about Portlet.xml that lists all of its elements and their meanings? If yes, please share the link with me.

why not view the xsd, there's inline doc there...

11 years ago
Dear all,

Have you encountered similar problems when developing portlet using struts 2 portlet plugin 2.2.3 ?

Screen Flow:
- input
- update
- if success -> set action message "blah blah blah is success", clear form value
- if failed -> set error "blah blah blah has error", retain form values

My Struts Config:
<package name="xxadminView" namespace="/admin/view" extends="struts-portlet-default">

<action name="input" method="input" class="com.ActionSupportAction">
<result name="success">/WEB-INF/jsp/view/input.jsp</result>

<action name="update" method="update" class="com.ActionSupportAction">
<result name="success" type="redirectAction">
<param name="actionName">input</param>
<param name="portletMode">view</param>
<result name="error" type="chain">input</result>


The requested resource (/my-portlet/view/input) is not available

11 years ago

Jess Tong wrote:Here is what I got from architect-submit_US@oracle.com on Mar 2, 2011.

Congratulations! You have passed the Oracle Certified Master, Java EE 5 Enterprise Architect certification. You are among the elite 1% of certified Java professionals who have gone on to achieve the Java Enterprise Architect certification.

Your certificate package is being processed for shipping. Look for a certificate in the mail in approximately 4 to 6 weeks.

Thank you for all your efforts with this certification, and good luck in your future endeavors with Java.

Please let us know if we may provide further assistance.
OCP Team

You may want to double check with them.


I got the same email, and waited for 6 weeks and asked them again i did not get the pack..... after several rounds of email.... they told me i do not have the pack...the reply from them was what i posted before....

Jeanne Boyarsky wrote:Eric,
I think that just reflects they've fully changed the branding to Oracle and can't print Sun ones anymore. Like a cutoff point. People who pass after the cutoff are getting Oracle branded certs. It's unlucky timing for you of course.

yup, it is the administration issues. If it was the case, it should not allow me to register in prometric, or simply cut the examination under Sunmicrosystem at that time and request me to apply oracle exam...... it is totally unreasonable.....

I have just email to oracle again. I believe my case is very rare and hope they can help on my exceptional case..... you know... I started my java examination in year 2002 and all of them were good and smooth..... but after taking over by oracle, it seems that the world was changed..... no one reply me at that email address..... wait wait and wait..... oracle told me they could not find my assignment and requested me to resend again...... delay delay and delay..... asked me to do lots of things....... but in return.....

really angry about it this time.......
I communicated with architect-submit-us@oracle.com already.... their reply was ....

Please note after November 30, 2010, Certification kits for any Sun-branded certifications that were earned
prior to September 1, 2010 will be sent via email in soft copy (i.e. hard copies of certificates no longer sent) You should log into your account at the Sun Certification database at http://www.certmanager.net/sun in order to verify/update your email address we have on file. Once your email address is verified, you may then send us an email at suncert_ww@oracle.com to request your eCertificate. Please state in your email that you have verified your email address and include either your Prometric Testing ID or your Sun Candidate ID. Your new eCertificate will be mailed once we receive your request.
OCP Team

It seems to me that I was cheated by Sun/Oracle..... i used efforts to work hard on the certifications but just got nothing from them in return...... ecopy certification...... you know, we can make it up by paintbrush !!!

do you know is there any way for getting it ? any complaints we can file ?

Dear all,

I have completed the part 2&3 exam on July 30, 2010, and waited for many weeks for grading. I contacted oracle to request for the result and they asked me to resubmit part 2 again. I waited again and finally I was notified I am certified in mid dec.

Another mail told me that my cert pack is delivered and will arrive in 6 weeks, I waited again. Few weeks ago I queried oracle I did not get my cert pack. They answered me that I could not get it because for those who certified after nov 30, 2010 won't receive a cert pack but only a ecopy.

How comes? The progress of grading would make me lost of my cert?


Jason Jason wrote:Thanks for your reply. I don’t mind to do architectural work on software. Well why I am thinking for SCEA,
1. To be a good PM in IT projects its better to have technical knowledge too, that’s the way one can gain trust from team members, understand the impact of customer change request, requirement etc.
2. I have worked [SA, design & development] on java project almost for 5 years, that’s why want to get endorsed my knowhow.
3. To increase my market reach.
I wonder if any other SCEA is also working as PM or they are or going for PMP certification? thats the reason I have started this thread, to know what other SCEA wana do after SCEA ?

Hi Jason,

I am also working on SCEA and PMP together right now. You should know from the PMP course that PMP is a kind of management skills/processes that helps you run a project smoothly. It is not only limited to IT projects. Non-technical guy can also be a PM, right ? Working on a IT project, the technical guy (solution architect) will lead the project team to deliver your planned deliverables.

That's the point what do you want, you want to lead the technical team / the managing the whole project with the triple constraints ? If you want to be a technical guy, you would be probably go for the SCEA.

Haha.... for me, I am a technical guy who leads a small team on java development, but not yet be a project manager, so that's why i go for both together.....