79 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## In the [last Selenium tutorial](https://www.daniweb.com/programming/software-development/tutorials/538447/basic-interactions-with-web-elements-in-selenium), we learned how to perform basic actions such as clicking and sending keystrokes. In this tutorial, we will learn how to do another action, which is the scrolling action. ## Goals ## At the end of the tutorial, you would have learned: …

Member Avatar for Klint
2
163
Member Avatar for dimitrilc

## Introduction ## Welcome to part 2 of the Selenium scrolling tutorial. Please follow the directions in [part 1](https://www.daniweb.com/programming/software-development/tutorials/538448/perform-scrolling-actions-in-selenium-part-1) to set up your project. In part 1, we learned how to let Selenium decide how it wants to scroll to elements. In this part 2, we will learn about a …

Member Avatar for Klint
2
258
Member Avatar for dimitrilc

## Introduction ## When working with Selenium, you might have run into a situation where you have to wait for long-running tasks to complete before you can interact with elements. Fortunately, Selenium has support for such situations via its many *waits* API. In this tutorial, we will learn how to …

2
91
Member Avatar for dimitrilc

## Introduction ## When creating a Selenium test, it is common for developers to want their scripts to take the same actions as a real human user would take. These action often includes clicking on elements or inputting text data into forms. In this tutorial, we will learn how to …

1
100
Member Avatar for dimitrilc

## Introduction ## While creating Selenium tests, you might have found that inspecting elements manually using the web browser’s inspector could be tedious. Even after you have found the element, you still have to go through the pain of looking up the correct **xpath** syntax for this specific element. To …

3
282
Member Avatar for dimitrilc

## Introduction ## Selenium is one of the most popular web browser automation tools out there. There is no restriction on what you can use Selenium for. You can use it to build a GPU scalping bot (*please don’t*) or build e2e tests for your website. In this tutorial, we …

1
291
Member Avatar for dimitrilc

## Introduction ## Java annotations are often used to provide extra information for compilers, IDEs, and build tools. The extra information is often used to enhance the development cycle, such as reducing boilerplate, eliminating repetitive code, or warning against unsafe usage or mistakes. This tutorial aims to teach you the …

2
140
Member Avatar for dimitrilc

## Introduction ## MediaPlayer (`android.media.MediaPlayer`) is a popular way to play media files, and combining it with a SeekBar can greatly improve the user experience. In this tutorial, we will learn how to synchronize a MediaPlayer progress to a SeekBar position. ## Goals ## At the end of the tutorial, …

2
1K
Member Avatar for dimitrilc

## Introduction ## When working with a Room database, we are mostly restricted to save data using primitives (*and boxed primitives*). Reference types are not supported right out of the box, but can be enabled by creating additional [TypeConverter](https://developer.android.com/reference/androidx/room/TypeConverter). If you are familiar with ORM-light frameworks such as Spring JDBC, …

2
2K
Member Avatar for dimitrilc

## Introduction ## This tutorial teaches you how to create a Spring Boot application that provides RESTful API Endpoints. These endpoints are best consumed by other applications or for integrating with a SPA (Single Page Application) frontend such as Angular. For the purpose of this tutorial, we will create a …

2
380
Member Avatar for ekka

hello guys I want to know about dependency injection in angular 4 and spring , so I gonna start with what I know : in angular 4 we inject the dependency by setting the service ( or something else ) in the constructor's arguments of component, and despite we inject …

0
288
Member Avatar for Violet_82

HI guys, I run into a problem. I have a input of type file and I'd like to grab the file name of the uploaded file and assign it to a variable, but I don't seem to be able to do that. I'm hiding hte input with opacity 0 and …

Member Avatar for Violet_82
0
321
Member Avatar for muze

Hello guys. I successfully loaded local files in Spring Web MVC Application, such as javascript files, css files or image files. They were working fine untill yesterday. All the pictures are not being rendered in JSP view. An error is shown similar to that of title. Here is my configuration. …

Member Avatar for rubberman
0
787
Member Avatar for samantha2015

Hello I have a rest web service which implement oauth2.0 . Now I have my web application with a login which currently using spring security. I want to use the same login to authenticate with the rest web service using oauth2. My question is: Does this tutorial is suitable for …

0
200
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

0
323
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

Member Avatar for stultuske
0
1K
Member Avatar for Vanquish39

How can I rewrite this with java config? <int-kafka:outbound-channel-adapter id="mainOutboundChannelAdapter" kafka-producer-context-ref="kafkaProducerContext" channel="mainOutboundTopicChanel"> </int-kafka:outbound-channel-adapter>

0
144
Member Avatar for James_39

I am having trouble deciding on a web framework. So far I am stuck between Spring and Play. I am leaning towards Spring, but I want to know more. Spring MVC * Nice connectors for security, social networking, cloud, etc. * Certifiable via VMWare education * Sprng XD * Uses …

0
60
Member Avatar for Tu Dinh

Hi Everyone, I know this such Exception is not strange while doing J2EE, but I cant figure out how my app going wrong at this step. My Code is quite long, so I will post only what I think is relevant. For the full source code, please go to: http://code.google.com/p/eagleit/ …

0
466
Member Avatar for mgold

I love the idea of dependency injection. I started doing psuedo dependency injection on my own before I knew about DI because I was frustrated programming without it. I then discovered Guice. From a program design point of view, I like it a lot. Everything is much more decoupled and …

Member Avatar for JeffGrigg
1
295
Member Avatar for ayanbizz

I am using SPring mvc 3 with Thymeleaf.I have a list in my jsp page and each row in the bean is accompanied by a button.When I click on that button I want to get the index of that row.I am not able to do so. I have the following …

0
170
Member Avatar for pwolf

I am considering learning some server side stuff with java, however I am getting mixed views and opinions when searching. I read a benchmark that claims java has superior performance than most alternatives, and I was considering taking a look at grizzly or spring, but I really don't know too …

Member Avatar for Taywin
0
359
Member Avatar for veedeoo

**Part One**: Learning the Basic Patterns **Disclaimer**: please pardon my spellogrammatico errors. I am not really a rough draft person. I type and write codes the split seconds as they crossed my mind, otherwise I will get extremely lazy and then will eventually hibernate like a tardigrade. I hope I …

Member Avatar for veedeoo
3
2K
Member Avatar for murali2489

Hi Team, This is my first Spring Code . I just followed the code provided in the book and tried to run the class , but it throws the below error. Please throw light on it. package spring.hello; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.FileSystemResource; public class Main{ public static void …

0
192
Member Avatar for murali2489

Hi All, I have just completed studying Core Java and started to learn Spring Framework. I think its a silly question but still Im confused about this. Can i build a Dyanamic webpage / website using Spring Framework ?

Member Avatar for murali2489
0
98
Member Avatar for dany12

I would like to know what means Java Web UI with html5 knowledge,flex,javascript,css? Do you have to use plain jsp jsf servlet and then use a MVC pattern? If so the views are made with html5 flex? If anyone knows more about this please explain it to me because I …

Member Avatar for stultuske
0
343
Member Avatar for murali2489

Hi Team, I am almost going to finish learning core Java and my employers said openings are available for Hibernate/Spring/Struts. I am just wondering whether can i directly start studying one of these frameworks after Core Java. Some people said these Frameworks contains JSP,servlets and important J2EE concepts so that …

Member Avatar for rubberman
0
266
Member Avatar for Sagarnil

I have a difficult problem. I know there are so many 're' masters in python out there. So please help me. I have a huge log file. The format is something like this: [text hello world yadda lines lines lines exceptions] [something i'm not interested in] [text hello world yadda …

Member Avatar for Lucaci Andrew
0
811
Member Avatar for venkates.99

1)On receipt of the signed MSA back from the customer, the original should be sent to the legal representative and a controlled copy should be sent to the TM/Account Manager by ___________. B D M DM 2)Runtime Profiling is used by which category of users? Developers and System Administrators Configuration …

Member Avatar for deceptikon
-1
487
Member Avatar for java_programmer

I am trying to develop an application where user will upload a file from screen, the file will be processed in server side. I am using Adobe Flex for UI, Spring 3.2 as middleware and Java 5. I can successfully upload the file and in server side can get the …

0
165
Member Avatar for cool_zephyr

hey how can I handle no-mapping found exception in spring dispatcher?? so that, if no-mapping to a controller is found in the dispatcher, I would like to redirect the user to a separate Resource not found page Suppose I have only 2 pages in my web application, "/about", "/help" and …

Member Avatar for cool_zephyr
0
1K
Member Avatar for techyworld

hi am developing an application on java using JSF framework. I'm making some changes in my css file,but it's not applying the changes in browser. am using myeclipse spring 10.6 and tomcat 7.0.41. Anyone can help? because yesterday i was working on the same css file, and i was able …

Member Avatar for chandrasekhar1
0
148
Member Avatar for techyworld

hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring.

Member Avatar for DarkLightning7
0
178
Member Avatar for cool_zephyr

Hello everyone..i'm trying to use spring to develop a website..but I am stuck with this snippet..what is the difference between @RequestMapping(value="/addBook",method=RequestMethod.GET) public ModelAndView Login() { ModelAndView model=new ModelAndView("addBook"); return model; } and this @RequestMapping(value="/addBook",method=RequestMethod.GET) public String Login() { return "addBook" } I'm really confused with this..don't both of them do …

Member Avatar for LastMitch
0
201
Member Avatar for ronaldpaul

Hi, I work in PHP language for the past 2.5 yrs. I'm interested in making a career shift from PHP to Java/EE. So, I would like to start contributing to some open source software developed using Java EE, Spring, Hibernate. By that way I would like to develop my skills …

Member Avatar for rubberman
0
312
Member Avatar for jwenting

<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" p:packagesToScan="jpatest.engine"> <property name="dataSource"> <bean class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="org.firebirdsql.jdbc.FBDriver" /> <property name="url" value="jdbc:firebirdsql://localhost:3050/testdb" /> <property name="username" value="xxxxxxxx" /> <property name="password" value="yyyyyy" /> </bean> </property> <property name="jpaVendorAdapter"> <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"> <property name="database" value="DEFAULT" /> <property name="showSql" value="true" /> <property name="databasePlatform" value="org.hibernate.dialect.FirebirdDialect" /> </bean> </property> <property name="loadTimeWeaver"> <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver" /> </property> …

Member Avatar for jwenting
1
952
Member Avatar for jalpesh_007

i am new to spring framework. i have learned basic concept of Spring.Now i am trying to simply run one hello world application using spring. i am getting following error.i dont know why? i am using netbeans 7.2 and spring framework 3.1.1 Release. **hello.java** public class hello { private String …

Member Avatar for jalpesh_007
0
1K
Member Avatar for cmps

Hello all. Currently I develop PHP website, and I do simple java programs. Since I will continue learning more and more java, I decided to learn JSP/Spring MVC (Don't really know how Spring MVC Framework uses JSP, check next paragraph) combination of my web knowledge and the Java programming language. …

Member Avatar for cmps
0
256
Member Avatar for jalpesh_007

I am going to start learning about Spring framework. Please tell me from where i can get good tutorial for learning same with example. please send me(Suggest me) links or material regading Spring, so i can learn it in better way. Thanks a lot.

Member Avatar for jalpesh_007
1
169
Member Avatar for Yogeshp

Hi, I am working on a java web application using Spring MVC framework. The application is running fine. I am writing some JUnit test cases for some of the pojo classes inside the webapp. I created a separate source folder 'test' which is in parallel to the src folder. I …

Member Avatar for Yogeshp
0
310
Member Avatar for bibiki

Hey there, I have the following code: int[] x = new int[7]; System.out.println(x.lengnth); x.length = 10; System.out.println(x.length); Of course, line three causes a "cannot assign a value to final variable length". However, line one does assign seven to that variable, length. Now, I have written a Testing class where I …

Member Avatar for bibiki
0
915
Member Avatar for s123456

spring model....i want to get the program to return the value of the period of the motion of the pendulum i have tried putting this outside the loop oldVelocity = vector(0,0,0) and this inside the loop before v: oldVelocity = m.v with print statement: if oldVelocity.y/m.v <0: print ("time = …

Member Avatar for s123456
0
437
Member Avatar for Yogeshp

Hi, I was not able to see a spring section. I saw some posts here related to spring, so i am posting it here. I have a requirement. I am working with Java-Spring MVC 3.0 framework. And i am working with form tags too in my JSP. I have the …

Member Avatar for subramanya.vl
0
807
Member Avatar for mullangi13

Hi Friends, I am developing one application using Struts1.3+Spring2.5+Hibernate3.6 to do practice. In this application I am using Spring AOP transactions, but transaction is not working for me. Please check my code snippets and help me. web.xml ======= in addition to general entries, I have added the following code as …

0
147
Member Avatar for Pravinrasal

Hello everyone, I am designing one website in which I want to build one chatting application. My problem is in which technology chat application will be develop like jsp, servlet and spring and how to start to develop chat application. I heard about RMI so using RMI it is possible …

0
108
Member Avatar for Pravinrasal

hi, I developed one web application and I have created div in JavaScript and on that div I have created more than one images and when I click on save button i want to save all images on to the database and when I retrieve that image from database as …

Member Avatar for stultuske
0
197
Member Avatar for Voldemort2

I am trying to add a data(string) to a url in javascript and pass to java controller. In server side i am using spring mvc. The javascript code below redirects to the save.htm with the data concatenated. I couldnt figure out how to catch. Is there any way to pass …

0
131
Member Avatar for m1051f

I am currently at this URL localhost:8080/Test/students/Steve The page from that URL displays some info about Steve and a link that goes to teachers. [CODE]<a href="teachers/all">Click to view all teachers</a>[/CODE] When I click the link it goes to localhost:8080/Test/students/teachers/all I want localhost:8080/Test/teachers/all How can I do that? I managed to …

0
125
Member Avatar for Abdel_eid

Hello all, I need a step by step spring tutorial since i am new to spring framework books seems to be more theoretical and i need a more practical tutorials , please help Thanks

Member Avatar for Abdel_eid
0
146
Member Avatar for sheennave

Hi ! I've been trying to use hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log and code is here :[URL="http://www.daniweb.com/software-development/java/threads/378043"]http://www.daniweb.com/software-development/java/threads/378043[/URL] I wait for some suggestions. Please hlp !

0
74

The End.