• 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

Connecting to Oracle using Struts 2

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here are error stacks please help to solve.

 
Shahriyar Rzayev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
and the second error stack

 
reply
    Bookmark Topic Watch Topic
  • New Topic