Pad Ven

Ranch Hand
+ Follow
since Apr 29, 2005
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pad Ven

Hi,

What can be considered a criterion for best paymaster as per Chennai standards? Will a formula like 1.5 * years of exp. be a base minimum? What would be maximum? What about min and max for Bangalore - will 2*yrs of exp. be minimum in Bangalore? Can anyone share the current paymasters in Chennai and Bangalore?

Thanks,

Paddy
9 years ago
Hi Abhimaran,
Thank you for the clarification. I was looking at this errata page http://oreilly.com/catalog/errata.csp?isbn=9780596516680 but could not locate it. Can you point out where it is or am I looking at some old version of the errata

Thanks,
Pad
Hi,
Head First Book Chapter 6 mock questions Question No. 7 (page 274 - if you search from PDF, it shows me as page 271). The question is to select "true" statements and the following is mentioned as true statement:

Attributes bound into a session are available to any other servlet that belongs to the same ServletContext



Can somebody help me understand how this could be true? Isn't any attribute bound to a session available to the only servlets that are accessed in the same session? How could it be available to all servlets in the web app (refer the phrase - same ServletContext? The answer mentions this as true statement.

Thanks and regards,
TV Padmanabhan
Hi Pedro,
Thank you once again for the clarification. I found it informative and useful.
Thanks,
Pad
Hi Pedro,
That article was interesting. But does that mean Spring is going to lose favor in the industry given that it is now very popular? Will learningSpring (and probably thinking of getting certified by SpringSource) be not that much worth it anymore?

Regards,
Pad
Hi Christophe ,
Thank you very much for the explanation. Basically I was confused whether to take the exam or not. Your explanation motivates to take this exam.

Regards,
TV Padmanabhan
Hi all,
Can the experts in the forum kindly help me understand whether the SCWCD exam is still useful these days when most of the web UI design is heading towards the popular frameworks? How much value does this certification have in industry now as opposed to say a few years back? Is it still worthwhile to put in all the hard work and take this exam when there are better web component tools in the industry?

Thanks and regards,
Padmanabhan V
Hi Arul,
Thank you very much for your reply. I had a look at the URL you sent me and it was very informative.

Thanks,
Pad
12 years ago
Hi all.
I am Pad and I am new to this forum and I need some guidance regarding a job change I wish to make. I am currently working as a software developer in a product development company in Telecom domain. I have 8+ years of experience. I have got an offer from a company that is into consulting model. I have been averse to consulting model till now, but given a wish to change job as soon as possible, I am forced to think about this switch. I wish to get some guidance from this forum about the following (by the way, the salary is pretty good, although I focus on all aspects before a job change, especially because I have made 3 job hops during my 8+ years career):

1. Is switching from product development background to consulting model something that I need to think again? Will I be able to switch back to product development model later, if needed, without much difficulty?

2. This new company does not depend on hierarchies. So I may join as an "Application developer" and continued to be called the same even after say 12 or 13 years. Though this company may have sound reasons to have such policy, will it be a disadvantage to me in the industry if I am interested in professional growth as well (managerial ladder etc.)? Will I be perceived in the industry as someone who hasn't had professional growth as much as I should have?

Thanks and regards,
Pad

12 years ago
Hi all,
Can anyone let me know if there is any way to use the SQLIntegrityConstraintViolationException (Java 5 onwards I think) to find out if "unique constraint" (or) "referential integrity constraint i.e. parent key not found" has happened? I have done this in Oracle specific manner and it works but I wish to know if there is a vendor neutral way. I am not using Spring and cannot add support for it in my current application otherwise I could try something like what is mentioned in this URL SpringSource.

I used the SQL error code returned by Oracle (1 for unique constraint, 2291 for referential integrity) because though vendor neutral, the SQL state eems to return 23000 for both types.

Expecting some help from anyone who has succeeded doing it (as that would be cleaner code that writing vendor-specific),

Regards,
TV Padmanabhan
Hi,
I m using Struts 2 only (anyway how to verify it?). Can somebody please help me on what is the problem? Also how can we attach documents generally in Javaranch posts (I am not seeing any attach option or button), so that I can attach my entire WAR?


Thanks and regards,
TV Padmanabhan
14 years ago
Hi,
I am getting either "Cannot find message resources under key org.apache.struts.action.MESSAGE" sometimes or "Missing message for key strutsApp.title". Everything seems to be OK, but I am not able to understand the reason. How do I attach files in this post?


Thanks,
TV Padmanabhan



The "ApplicationResources.properties" is in "WEB-INF\classes\firstStrutsApp" directory.

14 years ago
Hi,
I am getting either "Cannot find message resources under key org.apache.struts.action.MESSAGE" sometimes or "Missing message for key strutsApp.title". Everything seems to be OK, but I am not able to understand the reason. How do I attach files in this post?


Thanks,
TV Padmanabhan

Struts-config.xml:
-----------------
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">

<struts-config>
<form-beans>
<form-bean name="ContactsActionForm"
type="firstStrutsApp.ContactsActionForm"/>
<form-bean name="ContactsSearchActionForm"
type="firstStrutsApp.ContactsSearchActionForm"/>
</form-beans>
<global-forwards>
<forward name="success"
path="/success.jsp"
redirect="false"/>
<forward name="searchResults"
path="/searchResults.jsp"
redirect="false"/>
</global-forwards>
<action-mappings>
<action path="/ContactsStoreAction"
type="firstStrutsApp.ContactsStoreAction"
name="ContactsActionForm"
scope="session"
input="/index.jsp">
<forward name="success"
path="/success.jsp"
redirect="false"/>
</action>
<action path="/ContactsSearchAction"
type="firstStrutsApp.ContactsSearchAction"
name="ContactsSearchActionForm"
scope="session"
input="/index.jsp">
<forward name="searchResults"
path="/searchResults.jsp"
redirect="false"/>
</action>
</action-mappings>
<message-resources parameter="<b>firstStrutsApp.ApplicationResources</b>"/>
</struts-config>


<b>The "ApplicationResources.properties" is in "WEB-INF\classes\firstStrutsApp" directory.</b>

index.jsp
---------

<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>

<html:html>
<head>
<title>
<bean:message key="<b>strutsApp.title</b>"/>
</title>
<body>
<h1><bean:message key="strutsApp.heading"/></h1>
<html:form action="ContactsStoreAction.do" focus="contactName">
<table>
<tr>
<td>
<bean:message key="strutsApp.contactName"/>
</td>
<td>
<html:text property="contactName" size="20"/>
</td>
<td>
<html:errors property="contactName"/>
</td>
</tr>
<tr>
<td>
<bean:message key="strutsApp.contactNumber"/>
</td>
<td>
<html:text property="contactNumber" size="20"/>
</td>
<td>
<html:errors property="contactNumber"/>
</td>
</tr>
<tr>
<td>
<bean:message key="strutsApp.contactCountry"/>
</td>
<td>
<html:text property="contactCountry" size="20"/>
</td>
<td>
<html:errors property="contactCountry"/>
</td>
</tr>
</table>
<html:submit>
<bean:message key="strutsApp.submit"/>
</html:submit>
<html:reset>
<bean:message key="strutsApp.reset"/>
</html:reset>
</html:form>
</body>
</html:html>


[ December 30, 2008: Message edited by: Bear Bibeault ]
14 years ago
Hi all,
I am using Castor 1.0. How to set XML validation in Castor 1.0 through program? Unmarshaller.setValidation does not work - probably because I did not give path to schema in program, but I have given it within the XML, how to specify in program> If "castor.properties" needs to be created (it was not there already), where must it be created and how to refer to it?

I am using the following binding file:


and the following Jaava file:


but the array items are not set for some reason I am not able to figure out. Can someone help?

Thanks and regards,
TVP
Hi all,
How to do cross-referncing in XSD? I want an attribute of one XML element to contain the same value as one of the values of an attribute in another XML element declared earlier? I want to enforce this dependency in XSD - something like a Foreign key constraint for databases? If so, can somebody provide an example? Are element to attribute and element to element cross-references possible? If so, please give examples for them also?

Thanks and regards,
TVP