NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JSP Ecommerce with MySQL

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
jumoun



Joined: 27 Jan 2011
Posts: 2

PostPosted: Thu Jan 27, 2011 2:24 pm    Post subject: JSP Ecommerce with MySQL Reply with quote

Hi, I have to create one school project with JSP and MySQL, but I have no idea how to create with JSP and MySQL, I already drew the storyboard. Some one can show me how to create steps by steps, I have to use Netbeans and MySQL and for the server, I have to use Apache Tomcat Server. Thank you so much for helping me, and anyone can show how to connect JSP and MySQL for user registration?? Thanks
Back to top
mdeggers



Joined: 28 Jan 2009
Posts: 208

PostPosted: Thu Jan 27, 2011 6:38 pm    Post subject: Reply with quote

For the web application itself:

http://netbeans.org/kb/docs/web/mysql-webapp.html

Getting Tomcat to use a connection pool:

http://wiki.apache.org/tomcat/UsingDataSources

If you're using Tomcat 6 (recommended), then change the line in the
above Wiki from this:

Install the .jar file(s) containing the JDBC driver in Tomcat's common/lib
folder.

To this:

Install the .jar file(s) containing the JDBC driver in Tomcat's lib folder.

More specific Tomcat documentation can be found here:

http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#MySQL_DBCP_Example

The code in the NetBeans tutorial should work pretty much the same way
once you have Tomcat set up.

Hope this gets you started. I suggest working through all of this material
rather than having someone walk you through step by step. I think that
working through the material is the best way to learn.

. . . . just my two cents.

/mde/
Back to top
jumoun



Joined: 27 Jan 2011
Posts: 2

PostPosted: Wed Feb 16, 2011 4:56 pm    Post subject: Reply with quote

Hi, how to create update and delete commands in the MySQL with JSP? If the user clicks the button, then he can change the offer that he already did. Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo