Posts by user2831852 • 339 points
33 posts
-
4
votes1
answer461
viewsQ: How to versioning the REST API URI address?
I’m looking at ways to view the Uris from a REST Spring API because if they launch a new application, the REST API will meet the new application and support the old application requests for a…
-
1
votes1
answer1447
viewsQ: Design Patterns in Spring Boot projects
In the last 12 months I have worked and studied to learn how to create REST Apis with Spring boot, before that I worked with php MVC programming to create web systems and now in this my "migration"…
-
1
votes1
answer914
viewsQ: How can I get the JWT token after authenticating?
I have a spring-boot Rest API which, when a user authenticates the api returns the jwt token, I noticed in the browser that the token appears in Response Header > Authentication and in tests with…
-
0
votes1
answer526
viewsQ: React Route without link
I am starting my studies with React and I am using React Router to navigate between pages by clicking on links in the menu, but I have a question, how do I access a page without a link ? How do I…
-
1
votes1
answer219
viewsQ: File path cacerts for javax.net.ssl.trustStore does not work on . War
I need to set the path of a cacerts file to the trustStore, to do this I did: String keystore = "src/main/resources/cacerts"; System.setProperty("javax.net.ssl.trustStore", keystore); Running the…
-
0
votes1
answer530
viewsA: mvn test giving error 'cannot find Symbol'
I wanted to run the tests and then generate the. Project jar, the error I made was that instead of executing the mvn package command I ran mvn build and so the error occurred, I confused the…
-
-1
votes1
answer530
viewsQ: mvn test giving error 'cannot find Symbol'
I have a spring-boot project and I am programming some tests using Junit, in Eclipse I ran the tests without having problems, however, in the terminal, while trying to execute the command mvn test…
-
0
votes1
answer153
viewsA: Laravel 5.4 does not have Middleware/Authenticate.php
Researching a little more about middleware at Laravel, I found the command to create a middleware that is php Artisan make:middleware Authenticate, however, this command creates the file only with…
-
0
votes1
answer153
viewsQ: Laravel 5.4 does not have Middleware/Authenticate.php
I am following an example about jwt and Laravel 5 and I am in need of Middleware/Authenticate.php file, however, in my project there is no file(Laravel version is 5.4.36), I tried the command php…
-
0
votes1
answer319
viewsA: Docker-Compose to create Lamp with phpunit
I changed the php image and the volume to apache logs, so Docker-Compose.yml: version: '2' services: mysql: image: mysql:5 expose: - "3306" environment: MYSQL_ROOT_PASSWORD: 12345 MYSQL_DATABASE:…
-
0
votes1
answer319
viewsQ: Docker-Compose to create Lamp with phpunit
I am trying to use Docker-Compose to create a LAMP environment along with phpunit to run php TDD and what I intend to do is the following: run a mysql image 5; run a phpunit image 5; run a php 5.6…
-
0
votes2
answers1175
viewsQ: Get Insert ID after pg_query()
I am using php and postgres on a web system, I have a form that I am saving by using the Insert using pg_query, however, I would like to get the id of the new record after inserting, but I am not…
-
0
votes1
answer286
viewsQ: Namespace does not work in php 5.5
I’m making a simple system using php with mvc structure and I want to use the namespace, however, of the error stating that it does not find the Data class. Error: Fatal error: Class 'Config…
-
-1
votes1
answer346
viewsQ: .htaccess to prevent navigation
I have a Debian server and the directory to put projects in apache is the traditional /var/www/html, I’m trying to block browsing directories and sub-directories through the browser with . htaccess…
-
1
votes0
answers467
viewsQ: Artisan server in Laravel with php 5.6?
I created a project with Laravel 5.0 framework by Composer, to run the project using the command php Artisan serves, however, I have found that the php version used on this server is 7, I have…
-
1
votes1
answer1359
viewsQ: Correct way to install Laravel on Linux
I’m starting on the Laravel Framework and I’m having some problems with the installation on Linux. I did the installation by Composer using the command php Composer.phar global require…
-
1
votes1
answer3037
viewsQ: Error spring boot when connecting to mysql
I created a test project by Spring Tool Suite to create a REST server that will connect with a local mysql database, when I start the application it error when trying to connect with mysql:…
-
0
votes1
answer191
viewsQ: Tryout with Prior, how to catch an Md-button?
I am using Protractor to test a system made in Angularjs and Material, I am having problems with the Locator when I want to take a specific Md-button in a form and run the click(). The button hmtl…
-
-1
votes2
answers406
viewsA: Error php, Call to Undefined Function http_get()
I couldn’t solve the problem with http_get (I couldn’t configure it), so I ended up working with Curl. Thank you all for your help!
-
1
votes1
answer950
viewsQ: Run function after loading page with Angularjs
I am trying to execute a function that gives an alert on the screen after the however is loaded, however, I am not having success with ng-init because using ng-init it gives the alert and the screen…
-
1
votes1
answer329
viewsQ: Angularjs controller does not work well
I am giving a basic study on how to create screens using Angularjs and Material, everything going well until I need the controller, it seems that $Scope is not working, I put a console.log at the…
-
1
votes2
answers732
viewsA: REST in Java Spring project does not work
After many attempts and mistakes, I discovered that the problem was something very simple! The problem was where I was placing the java class that has the method for the ajax requests, for example,…
-
0
votes0
answers57
viewsQ: Error while running Android platform in Cordova
When executing the command Cordova run android, of the following error: :mergeDebugJniLibFolders UP-TO-DATE :transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE :processDebugJavaRes UP-TO-DATE…
-
0
votes2
answers732
viewsQ: REST in Java Spring project does not work
I created a project in the Spring Tool Suite to test a web and REST system, in the same project, worked well to create a static html page and load in the browser, but I created a java class for GET…
-
1
votes0
answers23
viewsQ: Generate byte image array to insert into BD
I need to save a jpg image in the database in a BLOB column, however, everything I tried didn’t work out, what I’m testing now to try to generate the byte array is this: ini_set('memory_limit',…
-
0
votes0
answers219
viewsQ: Error while running Maven Tomcat
I’m giving a study on Spring used the Maven, while trying to run the Tomcat with the command mvn tomcat:run gives an error that does not happen when I run it in Tomcat7 configured in Eclipse. That…
-
1
votes1
answer716
viewsQ: Include angular.js using Maven in Java Spring project
I’m studying the Spring Framework with Maven, in the part of inserting dependencies I’m having a little difficulty when trying to insert the angular.js in the html of the page, in the pom.xml file,…
-
1
votes2
answers1654
viewsQ: Php and guzzle, how do you get to an address and pick up what you return?
I need to send data by get and pick up what to return to know if it worked or not, however, with Curl and file_get_contents not giving (seems to be the server that receives the request), so I’m…
-
0
votes2
answers406
viewsQ: Error php, Call to Undefined Function http_get()
I looked for ways to solve this problem to use the function http_get(), all had to install the lib php-http and by pecl the http only. I did it and I set apache2/php.ini libraries in this way:…
-
1
votes0
answers86
viewsQ: Drilldown with two types of charts using Highcharts?
I have a drilldown chart and I would like the drilldown chart to show data using columns and rows on the same chart ?? Everything I tried so far did not work and I only find examples of Graphics of…
highchartsasked user2831852 339 -
0
votes1
answer66
viewsQ: Modifying Material Angularjs Start by creating new module/controller
I took the code of Material Angularjs Start to see how it works, I removed the User controller and I am trying to program my own Controller, but this giving a huge error and the layout does not…
angularjsasked user2831852 339 -
1
votes2
answers2713
viewsA: Recover URL variable and pass on in AJAX
I don’t know if this will help, but you can pass the amount by get with the $.ajax like this: var URL='resposta.php?'+dataString; $.ajax( { url: URL, cache: false, success: function(html){…
-
1
votes1
answer377
viewsQ: Enable/disable drop in sortable (jquery)?
I’m working with the sortable jQuery UI, however, I am unable to enable/disable the drop for each ul with 4 li (with 4 disabled, with less enabled, always allowing to move the content of ul to…