This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Connecting to Oracle using Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Connecting to Oracle using Struts 2" Watch "Connecting to Oracle using Struts 2" New topic
Author

Connecting to Oracle using Struts 2

Shahriyar Rzayev
Greenhorn

Joined: Oct 06, 2010
Posts: 8
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

Joined: Oct 06, 2010
Posts: 8
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

Joined: Oct 06, 2010
Posts: 8
here are error stacks please help to solve.

Shahriyar Rzayev
Greenhorn

Joined: Oct 06, 2010
Posts: 8
and the second error stack

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to Oracle using Struts 2
 
Similar Threads
pass value from struts2 form to javascript
Struts2 "There is no Action mapped for namespace / and action name LoginAction ERROR"
Weblogic deployment problem
405 error
Problem with namespace in Struts 2