Help coderanch get a
new server
by contributing to the fundraiser

Ariram Kalimuthu

+ Follow
since Jul 17, 2009
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 Ariram Kalimuthu

Sorry, i didn't mention clearly.

i wanted to know about some tech/framework to develope a gui like .NET WCF/WPF?

Thanks in Advance!!!
13 years ago
Hi Friends,

To build a Desktop GUI like .NET WCF/WPF

Which is the best framework/technology to achieve this?

Please help me!!

13 years ago
Hi Folks,
i need a clarification on below Transactionattributre in EJB 3


EJB container will create the new tarnsaction for any requests, if we use the above attribute.

My Question is,
It is required to use for only insert, delete,and update operation from database.
shall we use for fetch(select * from table) operation in database?

ie., if we use the for fetching operation, container will create new transaction.

JTA will be taking care about rollback/commit related operations.
but my case there is no chance to happen rollback operation

Please suggest me to shall i go a head to use this attribute in my EJB ot not?

Thanks in Advance!

I am deploying EAR and WAR in clustering mode and i placed my two files which are mentioned earlier {jboss.dir}/server/all/deploy folder
After Starting the JBoss. [i couldn't find any issues with EAR and WAR deployment].

EAR have some business logic and i am calling that from WAR by remote call.

EAR: EJB application
WAR: Struts-Tiles Web Project

While opening my Web application by providing url in browser it's throwing following exception.

Anyone Please help me out!...

14 years ago
Answer for Q1 - No (i am not sure)

Answer for Q2:

i also doing like that what you mentioned.

before that, you should configure the interceptor as default-interceptor

please do the following steps:

1). interceptor.

public String intercept(ActionInvocation actionInvocation) throws Exception {
ActionContext context = actionInvocation.getInvocationContext();
Map<String, Object> sessionMap = context.getSession();
//System.out.println(" retrived session "+ sessionMap);
if(sessionMap == null
|| sessionMap.isEmpty()
|| sessionMap.get("SESSION_SERVICE") == null) {
System.out.println(" session expired...");

String actionResult = actionInvocation.invoke();

return actionResult;

SESSION_SERVICE - one of the attribute we are setting after user login.
if the session expired, session object will be null [if struts creates the session object our attribute won't be there]

2). struts.xml

<interceptor name="tstSessionInterceptor" class="package.SessionInterceptor"/>

<interceptor-stack name="tstSessionCheckStack">
<interceptor-ref name="tstSessionInterceptor" />
<interceptor-ref name="defaultStack" />

<default-interceptor-ref name="tstSessionCheckStack"/>

<result name="sessionexpired" >sessionexpired.jsp</result>

thats what i have implemented.

it's working fine.

please revert back, if any issues.

14 years ago

I got it!.

Thanks Nishan Patel and Sagar Rohankar
14 years ago
Hi guys,
Could anyone provide suggestion/guide me to get shortcut option in submit button?

let me explain through the code,

Submit Button:
<input type="submit" name="login" value="Login" />

is there any attribute saying the shortcut for the Login button would be any of the character of Login?
<input type="submit" name="login" value="Login" shortcutChar="L" />

14 years ago
As Vijitha said , HFSJ is very gud book for SCWCD.

All the best Karthick!.

thanks vijitha!
14 years ago
Congrats !.............

14 years ago
14 years ago