Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing Struts applications with Selenium

O. Ziggy
Ranch Hand
Posts: 430
Android Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im using a struts application whereby the first time the user logs in he/she gets authenticated from a different server. The server authenticates the user based on his Desktop's login credentials. If the user is valid he/she is forwarded to my application which resides on a Tomcat webserver.

Upon entering my application a session is created based on the information from the server. If no information is sent no session is created.

The problem i have is that everytime i try to open the main page i get my session expired page and selenium reports this error.

http://localhost:7000/project/main/home Permission denied


Selenium failure. Please report to, with error details from the log window. The error message is: Permission denied

I have read that the above error means that i need to put the selenium files on the same webserver as my application. Here is the structure of my application showing where i put selenium

A few issues i should mention

- As my application is a struts app, all links are references to struts Actions in the struts-config file
- I loaded selenium by going to url http://localhost:7000/project/selenium/TestRunner.html (Does this needs to be configured in struts? if so how?)

I really need to sort this out so any help will be appreciated.
[ November 28, 2006: Message edited by: O. Ziggy ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic