tro vial

Greenhorn
+ Follow
since May 22, 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 tro vial

Ulf Dittmer wrote:
I hope that's just an example, and not something you're actually considering doing. IMO, that would be as annoying as those auto-replies to email from people who are using that just to acknowledge an email, even though they are not away from the office.



Yes its an example on something everyone know, for easier comprehension.

5 years ago
Hi all, i am trying to make a program to interact with a webserver.

This is supposed to be more or less generic, still don't have a specific purpose for it.

But to better illustrate what am trying to do, here is in example:

every time a friend on Facebook friends publishes something, the program would automatically place a like on my behalf.

Can this be done?
Is java an adequate language to do this? if not what is the most adequate?
Are there open source programs out there already doing this, so i can take ideas or even adjust the program to do what i want?


edit:
To better describe what i am trying to do:

The program would have to refresh from x to x seconds, search the server response for YYYYYYY event, and trigger a response to the server.
What is troubling me here is the communication with the server part.





thanks in advance

Best regards
5 years ago
Hi all

Been searching the site, for the correct place to post this question.

didn't found one more suitable, so placed it here, please feel free to relocate it.


Been making sites, for a while, simple things, using Java and other technologies.

Anyway the other day a client told me he wanted to make a site where he could sell an online edition of his magazine( its a small local magazine).
And I thought to myself ...hmm yeah, that is interesting, but I never really done it.

And so this is the question, what do you have to make to sell something on a website?
Payment would be made through credit card, so you somehow would need to have a few licences with some bank identity or something like that...
Would any special software be necessary?
Would a versign certificate, or something like that be necessary?

thanks in advance

Best Regards
5 years ago
am using a filter to check if a user is already in a session, therefore logged in.

was wondering if ajax xmlhttprequests are filtered also, and if that should be a concern, regarding security

best regards
5 years ago
yap, you should probably read someting on java first and then some generic JEE, and go from there to more specialized stuff. I read K & B first, and then core servlets
5 years ago
hey
that sounds like a very good book indeed.
is it from 2006?
is there a more recent editionĀ»?
5 years ago
is that book from 2003 , or is there a more recent edition?
5 years ago
hey, i read core servlet and jsp, volume I and II
was my first 2 books on JEE and found them very useful.
great part of volume II is about strouts. Never read that part (will when and if it becomes necessary)
the book is from 2008 i think.
is strouts still commonly used btw? or has it been replaced with some more modern framework?
5 years ago
yes, was wondering if there is a big difference using java, PHP or other technologies.

or if the bulk is on the client side.
5 years ago
would like to use java on the server side

am familiar with javascript, and css, but no expert.

would like a book that would explain the concepts behind ajax.

Found a few, but allways referring to PHP on the server side, was looking for something with java
5 years ago
am familiar with javascript, and css, but no expert.

would like a book that would explain the concepts behind ajax.

Found a few, but allways referring to PHP on the server side, was looking for something with java, or isnt much of a difference on the server side?

NOTE: edited after reading Bear Bibeault follow up post to my original one, wich was in fact very short on information.

thnks Bear Bibeault



5 years ago
are assertions enabled in IDE's like netbeans and eclipse?

also, read a few things about assertions, but never really used them, are they really useful?
5 years ago

Ramasubramaniam Rathinasubbu wrote:My context and database installed in US server.

But i want to time details in India based time.

What should i do?.


didnt quite get your problem, but class java.util.Locale might b the answer
5 years ago

Dick Van Dyke wrote:A user is entering information into a third party web-based java application that is integrated with our directory and authentication servers. The user complains of application crashing after inputting information and hitting save and indicates receiving the 'gibberish' below.

java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

What are your troubleshooting steps with the user?




no one really answered what that exception really means, me am not very familiar with the issue, but it seems like somewhere an argument of the wrong types was entered, but that might be a very incomplete answer.
more suggestions?
5 years ago

Bear Bibeault wrote:Please be sure to ask eclipse questions in the IDEs forum. I have moved this post there for you.



you didnt even read the post
it is more about jstl than netbeans (not eclipse , thnks for reading what you moving)
anyway this post is gonna die in IDE forum
ide's are way to generic
could be about javascript, c, java SE , ruby, etc etc etc, jstl is to specific, this should be in jsp