This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Difficulty in following the MVC Architecture

 
chirag rana
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Respected Sir,
I m working on my curriculum project which is based on MVC architecture.From the front-end(jsp file) i m sending the request to servlet which acts as a request dispatcher(which dispatches the request to bean in which I have written the database connectivity code with Oracle8i).The problem is that the parameters which i m passing from servlet are not passing in beans so I m not able to get the connection.So If u can please send in the snippet of passing the values to beans I will b very thankful to u.

The second problem is that if I m giving static oracle driver,url,userid and password and then execute the application from jsp->servlet->bean->oracle with the help of Tomcat4.0 then it gives me the exception of ClassNotFoundException.When we run any simple java program which accesses the database from the command prompt we set the path and classpath of Oracle.But when jsp,servlet,beans are used we have to execute it through Tomcat server and how should I set the path of Oracle in the server.Please give the solution of both these problems so that I can proceed in my project.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic here.

thanks,
bear
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic