• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Action didn't work on some pc

 
Radian Prasetyo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've built an application using apache struts as my framework. When i test it in server using my pc, it work normally. But when my friend open the webapps using his pc, the url change to desired action, but the action didn't work. I've create log to indicate the beginning and ending of the action. Using my pc, it was shown in the log, but when my friend using his pc, there are no log. For the reference, we use same pc specification, same browser version (Mozilla Firefox 40.0.3).

Did someone have experienced this problem? And how do I need to do to fix this problem?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you running the application locally? Say on Tomcat? Does it start up cleanly on both computers?
 
Radian Prasetyo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, the application was already installed as server. So basically, we access same application but got different result
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you friend ping the server? Can he/she access other URLs on the server?
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Radian Prasetyo wrote:Nope, the application was already installed as server.


Just to confirm: this server where the application is installed is not running on your PC, right?
 
Radian Prasetyo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Can you friend ping the server? Can he/she access other URLs on the server?


yes, we can. we can access the home page and we inputted data. but when we tried to save to server's database, i could save it normally, but my friend only reload the page without save the data.
 
J. Kevin Robbins
Bartender
Pie
Posts: 1801
28
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My first guess would be a JavaScript error due to a different browser version. Check the JavaScript console on the system that's failing. Any errors reported?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic