aspose file tools*
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
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