Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Connecting to Oracle using Struts 2

 
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

 
It's just a flesh wound! Or a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic