Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to Oracle using Struts 2

 
Shahriyar Rzayev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody i am a beginner in Java and Struts. i have a problem like this. The task was:
1. i have a login page. named connectData.jsp. the user just type here it's oracle username and password. then clicks to connect button.
2. if the connection established the connectSucces.jsp must be displayed. it is just shows a congratulation message.
3. if the connection doesnt established the connectData.jsp page must be displayed. so the user can enter correct login and password.

So i wrote something but it shows errors and i dont know what to do. The error stacks are in Attachments.
1. This is my struts.xml file



2. This is my web.xml file



3. This is an action class



4. There are jsp pages:





and error.jsp page for all errors:



 
Shahriyar Rzayev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it any type of file extensions that allowed to put in attachments?
i try .doc .txt .rar .zip not allowed here?
 
Shahriyar Rzayev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here are error stacks please help to solve.

 
Shahriyar Rzayev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and the second error stack

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic