• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts Action didn't work on some pc

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you friend ping the server? Can he/she access other URLs on the server?
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic