Win a copy of liveProject: Protecting User Data with Spring Security and OAuth2 this week in the Spring forum!

Jason Smit

Ranch Hand
+ Follow
since Apr 19, 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 Jason Smit

Hi,
Is there anyway that I can have someone on Skype to speak to ? It would be great to have a "buddy" to bounce questions and answers via Skype.
5 years ago
JSP
Hi,

I have added the following jar file to my library but still giving errors:

C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.9\lib\jstl-1.1.2.jar


Should URI link change?

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
5 years ago
JSP

J. Kevin Robbins wrote:And btw, using the SQL tags is a Bad Idea except for rapid prototyping. Never do that for production code. Move that database code to a DAO and use a PreparedStatement.



Will keep that in mind. Will try that after getting this test project to work.

I have managed to add the libraries as requested to the project so the error is no longer there.
However I am still getting these errors:



5 years ago
JSP
I am getting these errors. I am using Apache Tomcat 8.0.9, with Netbeans. I have been trying to use this tutorial:
https://netbeans.org/kb/docs/web/mysql-webapp.html
(However, I am connected to an Oracle Database, not MySQL).

I did a similar setup/deployment on glassfish-4.1 and did not get these issues. It worked there.

If I remove these tags from the jsp file then the errors go away but then I wont get the data displayed from the database.



below is the entire jsp code


Below is the errors:
5 years ago
JSP
Hi,
Can you guys not put something together for me to test and try to implement?
6 years ago
JSP
I have the following:



The number is displayed as:
12345678901234567890

I want to group the numbers in pairs of 4 as per below:
1234 5678 9012 3456 7890
6 years ago
JSP

K. Tsang wrote:So what does your software do? Is there a market for it?

Few years ago, my company/client suggested me to build a new app that replicate some vendor's tool. Why? So that they can lower the cost.

Did I build it at the end? Nah but did thought about it.

Anyway selling anything depends on the customer. No potential customer, no sales.




It is sort of replicating the idea or simplying an existing app that alot of other companies use. But it feels like re-inventing the wheel.

The other issue is to try and convince people to use your product as well.
6 years ago

Jayesh A Lalwani wrote:Unfortunately, no one makes client side applications anymore, and because of that there is no such market that allows you to sell your app. The closest you have is providing the application on CNet. It will be better if you create an installer for your application. You cannot rely on the user having Java installed, so you will have to bundle Java with your app.

Usually, applications on CNet are freemium; ie; they provide basic features for free, and the users have to pay to unlock all features. If you don't have freemium, you might want to consider it. Generally speaking, users won't pay to download and install applications. Usually, applications on CNet are freemium; ie; they provide basic features for free, and the users have to pay to unlock all features.



Really, what about all the commercial applications that companies use today that requires to be installed? I do not think you are thinking correctly unless you have never worked in a corporate environment.

What application are you then referring to? Web Applications?
6 years ago
Hi,
It is an application which requires to simply be copied and pasted to user's machine with specific configuration/deployment requirements.
6 years ago
Are there websites like Google Play that sells applications?
Do they sell Java Applications?
What is the best approach to sell a piece of software?
6 years ago
I am currently based in South Africa. I am looking for a job that will give me the opportunity to focus on developing. I have a background in support, oracle SQL scripting, and command line and shell/bash scripting, as well as implementation and testing.
6 years ago
I have tried the following SQL but it returned an error:
DESCRIBE DOGNAME;

error:
java.sql.SQLSyntaxErrorException: ORA-00900: invalid SQL statement

I can run other SQL statements and they run without errors:
SELECT * FROM DOGNAME;

Why would this happen only for DESCRIBE?
6 years ago
Hi

I found this on the net:



I am right or wrong in saying that swing component/s should be placed on the main method of a script (i.e. public static void main(String[] args))?

And on methods?
6 years ago

Darryl Burke wrote:Please note that, by convention, variable and method names in Java start with a lowercase letter, with subsequesnt words being capitalized, aka camelCase. Underscores are normaly used only as word separators in STATIC_FINAL_CONSTANTS

Failure to follow the convention can make it difficult for others to read and understand your code, and can directly affect the amount of help you get on any public forum.

Additionally, it's not good practice to mix JDBC and Swing code in the same class.



Thanks for the tip,
Please show me examples of your code to illustrate your explanations.
6 years ago