sarada srinivas

Greenhorn
+ Follow
since Oct 09, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sarada srinivas

Thank you All

My confusion was cleared.

I belive what Christophe said is right

Java does not support multiple inheritance" doesn't take into account the very special Object class.

14 years ago

You all mean Java internally support multiple inheritance (Sincemy class has already extended Object class( implicitly) + class A which is multiple inheritance )

But from the developer perspective it resitcts multiple inheritance . Am I right ?
14 years ago
Hi All,

As per I Know Java Doesn't support Multiple inheritance.

By default all the class extends Object class and still we are able to extends one more class to our class.



My Question is Class B had already extended Object class (default) and still able to extend Class A. Is this not Multiple inheritance. ?

Can some explain me clearly. I am little bit confused ?

I knew that Since Class B extend A. Class B cannot extend any other class still java Doesn't support Multiple inheritance.

Thanks,
Sarada
14 years ago
http://struts.apache.org/download.cgi download struts2-blank-2.0.14.war
15 years ago
Since you have only one jsp page, Please use <s:if></s:if> tag and make use as per user request.

-Sarada.

15 years ago
Hi All,

I developed struts2 application using the version 2.0.14 .

Now I want use annotaion in 2.0.14 but the required jar file i.e. struts2-convention-plugin-2.1.6.jar is provided in the version 2.1.

Annotation woks fine in 2.1.6 but i want to run in 2.0.14 .

It throws the below error while integrating annotation to struts2.0.14

SEVERE: Exception starting filter struts2
Unable to load bean: typerg.apache.struts2.convention.ActionConfigBuilder classrg.apache.struts2.convention.PackageBasedActionConfigBuilder - bean - jar:file:/D:/learn/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/quickstart/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:32:137
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)

Please let me know to how to achive annotation (mainly multiple results)

Thanks,
Sarada.
15 years ago
If you are new to struts2 you can run struts2-blank-2.0.14.war provided in struts-2.0.14\apps

-Sarada
15 years ago
Hi All,

I am using Struts2,Spring,JPA & Mysql.

Can some help me how to achive table with pagination + sorting features without display tag/display table.?

Thanks,
sarada.
15 years ago
Hi All,

I am able to deployed struts2 + ajax ,struts2 + annotation separetly
But now i am tryng to integrate struts2+ajax+annoation I am getting the below error

SEVERE: Exception starting filter struts2
Unable to load bean: type:org.apache.struts2.convention.ActionConfigBuilder class:org.apache.struts2.convention.PackageBasedActionConfigBuilder - bean - jar:file:/D:/learn/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/quickstart/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:32:137
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)

Your help is desperately required.

Regards,
Sarada.
15 years ago
I am still having this issue.

Can anyone help me please....

Thanks,
sarada
15 years ago
Hi all,

I have followed these steps to proceed further but still unsucessfull.

Added init param in web.xml
1) <init-param>
<param-name>actionPackage</param-name>
<param-value>com.vaanila.action</param-value>
</init-param>

2)<s:form action="welcome" validate="true">
<s:fielderror />
<s:textfield name="userName" label="User Name" />
<s:submit />
</s:form>

3) Action class


I am geting the Error but not on the form but on the server console


SEVERE: Validation error for userName:Name required



Can some please findout what I am missing to display the error on the form???
15 years ago
Hi All,

I am trying to validate a username and password in a model by implemented that class in Action as Model Driven.

validation usign annotations are not working???

Can any one please help me??

If I am passing the validation directly under action class everything works fine but i want the validation using ModelDriven.

Thanks in advance
sarada.
15 years ago
The problem was resolved please add the below jar

jboss-archive-browsing.jar

slf4j-jdk14-1.5.8.jar

Regards,
Sarada.
15 years ago