Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Antraa Sethi

Greenhorn
+ Follow
since Apr 13, 2012
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 Antraa Sethi

May be Yes.
Thank you for replying.
6 years ago
Hi,

As I understand, they is a DB table from where the email ids are fetched to send emails.
I am not allowed to delete any records or edit the DB.
I am just to test the functionality.

I dont know...I am clueless.
6 years ago
There is a system in place where autogenerated emails are sent to designated users to notify them of certain timelines or events.
(For example, an email is sent when 2 days are left to return my books in library.)
My job is to test, if the emails are being sent at the desired times and events or not and if this email generation system is working fine or not?

I am overwhelmed to see the amount of emails generated at a particular point of time at the time of testing with test data at UAT.
Dont know how should I proceed to test this and submit the test report.

Any help is appreciated.

Thanks in advance

6 years ago
Hi,

I uninstalled and reinstalled m2e and it got resolved jus now.
I implemented the changes you suggested and it is working now.

Thanks alot....
6 years ago
Hi All,
Thank you all for your responses. I am sure that is the solution to this problem I was having.

As I tried to make the changes and see for myself in eclipse, my project has become unstable.
Showing errors everywhere, in all files. in pom.xml it shows the following msg as error:
"Lifecycle mapping "org.eclipse.m2e.jdt.JarLifecycleMapping" is not available. To enable full functionality, install the lifecycle mapping and run Maven->Update Project
Configuration."

I dont know what happened. please advice.
6 years ago
Hi,
I am developing a small spring mvc app.
I have spring-context.xml file containing spring MVC's dispatcher servlet configuration.
root-context.xml as application context.

I am declaring my Datasource/daoimpl beans in root-context.xml file.
How do i access root-context.xml file in controller class and invoke getBeans() method on it to get the beans?
Below is lines of code from controller class.

This is one of the several ways I tried accessing it.
root-context.xml file is declared in web.xml file as context param.


Is there a way I can access this "contextConfigLocation" parameter in my controller class to access this xml file?

Complete path of all the files mentioned is :
/SpringMVCStudent/src/main/webapp/WEB-INF/spring/root-context.xml
/SpringMVCStudent/src/main/java/java9s/springmvcstudent/controller/StudentController1.java
/SpringMVCStudent/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
/SpringMVCStudent/src/main/webapp/WEB-INF/web.xml

Its a problem in one trivial line of code which took my entire day and still not solved.
Thanks in advance
6 years ago
Thank you so much.
It worked

Thanks again for your help.
6 years ago
Thank you for your prompt response.
I tried to run it with -DgeneratePom=true param too. It is not working....

Error:


What is this " No plugin found for prefix 'C' in the current project and in the plugin"?
Any help is appreciated. Looks like everybody has got over this problem.
6 years ago
mvn install:install-file -Dfile = C:\app\Oracle11g\product\11.2.0\dbhome_1\owb\wf\lib\ojdbc14.jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=11.2.0 -Dpackaging=jar
6 years ago
Hi,

I am following this very well described procedure/command to add oracle jdbc driver to my local maven repo.
I am not clear though, from which directory should I run this command from.
I tried running it form my project directory, directory containing my driver,but I am constantly getting the same error.
Error:



What am I doing wrong?
My local repo is in the default location.
Please help.

Thanks in advance
6 years ago
To start with serialization, thread and other core concepts of java, you should go for OCPJP(Oracle Certified Professional Java SE programmer) certification.
It will make you study these concepts thoroughly and test your knowledge too.

All The Best
6 years ago
I got it.
Thank you so much.

Stateful object as instance variable I took only to concentrate on SpringMVC flow only and not to get innto DB calls.

I will not do that again.

Thanks alot once again.

6 years ago
I tried this too.


Not working
6 years ago

Thanks so much for your prompt response.
Here is the complete code in controller .


is model.addAttribute("students", students) doesnt do that?
6 years ago
Hi,

I am trying my hands on spring MVC by developing a simple StudentController to add delete view student details.
I have maintained a list of students defined in my controller where I am storing the student objects.
I am able to add the student.
I want to view the llist of students for which my code looks as below:

My understanding is: I am setting the modelattribute to the student arraylist I am maintianing. And passing that to my view. And accessing the model in view to display students.


My printList.jsp looks like


It is not printing anything.
What am I doing wrong?
I want a clear understanding...please help.

Thanks
6 years ago