Home Tutorialhelp Allcomments Struts Struts Struts Mysql

 
 

Comments

 
User Comments for the tutorial:

Struts 2 MySQL



Total comments: 23      View Tutorial    Discuss: Struts 2 MySQL
Advertisement
Comments

The requested reource is not available
I am getting this error,when I hit the save button. Http Status 404-not found The requested resource is not available.Need help on this please. 

Database connection
Hi, I didnt know anything about struts before but after followed your tutorial I leant lot about Struts. So thanks for this briliant work. I need a help too.. can you plz tell me where should I change the coding when using Access database an 

Great Tutorial!!
I followed this tutorial from the begining and found it very nice!! but why dont you mention about updating index.html in your tutorial?? Also need a help on this Database stuff. Plz tell me whar should be modified when using MS Access Databa 

How to use hsqldb
Adding the following code in struts-config.xml will set up the the datasource in struts1.x. What is the similar approach in struts2 to achieve the same? <data-sources> <data-source type="org.apache.commons.dbcp.BasicDataSource" key="userDB"> 

Struts2.0
how can locale setting using I18nInterceptor inStruts2.0.please give with sample application for me. Regards, Rajkumar.P 

Is this working?
there is something wrong with this code, may be i don't have the good driver, i have installed Mysql Server 5.0. and added mysql-connector-java-5.1.5 by adding it as library in eclipse. It doesn't work. type Rapport d'exception message desc 

Is this working?
I think the connectio to a database is not working in the execute function, when i put it to main function it is working.  

Nullpointer exception
I'm getting the same nullpointer exception as pavel.. I need some help solving this: java.lang.NullPointerException tutorialII.insert.execute(insert.java:30) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMetho 

solution for exception
Hi Pavel this might help you. Connection with the database is not there.That is why this exception. Your path connecting tomcat and mysql is not set. go to the tomcat bin directory.Open the setclasspath.bat and insert the following near to the s 

Nice site
It's a very good site which is like a huge knowladge tank for java related technologies. But i am very happy if rose india provied me the information and trains about the portals and the portal server  

hi !!! I need a db connection in struts.
Hi, I am new to struts but after studying roseindia.net i got some idea about struts. Thank you. I need a Database Connection in struts,jsp(View) to Mysql.I need my form data to be updated in my table.so Please can u help for that. 

dtabase connection
Hi Thanks to all Rose India members, who is maintaing such beautiful site regarding database connection. i used com.mysql.jdbc.Driver and put these jars in lib folder 1. mysql-connector-java-5.0.4-bin.jar 2. mysql-grt-java-1.0.0-bin.jar 

i want the above code with DataSource format
java.lang.ClassNotFoundException: org.apache.commons.DataSource how to remove this error please help me  

Send this Application to me
Hello Friends, if anyone did the above project, please send it to my mail.. ID:rajsomu2001@yahoo.com 

Struts 2 MySQL
how to develop ActionSupport class when I use public class insert extends ActionSupport i got error pl write all step.....? 

Struts Struts2 Struts 2 Mysql
Hi All, Even I got the same null pointer exception as sahas and pavel. I am using NetBeans IDE 6.1 and did the below things: 1)I downloaded the mysql-connector-java-3.0.16-ga-bin.jar file 2)I have included that jar file in the libraries. 3)Also  

Struts2 My SQL
Hi indresh, Can u pls tell us exactly what error u got while running the program..so that it will be useful to help u.. 

correction of the tutorial until this page
it is because u database are not yet created 

Login Example
This is a good example. Very useful to beginners. 

Null Pointer
I also had a null pointer exception. The solution is to set whatever MySql Connector you have to the class path. Tomcat 6.0 does not have the setclasspath.bat so you need to configure the classpath manually. Make sure to copy the MySqlConnector 

Nice Tutotial
Awesome tutorial. It helps me a lot. 

There is no Action mapped for namespace/and action
There is no Action mapped for namespace / and action name . - [unknown location] com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)  

index.jsp
Hi, Thanks for the great tutorial! Can you help me with the index.jsp file for this project? thanks 

Related Tutorial and Articles
Struts Questions

struts 2 problem with netbeans - Struts
struts 2 problem with netbeans  i made 1 application in struts2... / and action name login. The requested resource (There is no Action mapped for namespace / and action name login.) is not available. here give two code what 

Struts Questions

struts2
struts2   Sir when i have run my struts 2 web application,every time i get error " request resources is not available",,,what is this,,,plz help me 

Struts Questions

tiles 2 with struts2 - Struts
tiles 2 with struts2   i wnat any one to guide me : how can i integrate struts2 with tiles2 i searched for long time on the web i see many code and configurations but every one of them has a problem can any one give me   

Framework Questions

Struts 2
Struts 2  we can extend DispatchAction class to implement a common session validation in struts 1.x. how to do the same in the struts2 

Struts Questions

struts2 - Struts
struts2  hello, am trying to create a struts 2 application that allows you to upload and download files from your server, it has been challenging for me, can some one help  Hi Friend, Please visit the following 

Struts Questions

Struts 2 Tutorial
Struts 2 Tutorial  Hi, Iâ??m taking your Struts 2 Tutorial... open http://localhost:8080/struts2tutorial/ under â??Testing Struts 2 Hello.../HelloWorld.action. description The requested resource (/tutorial/HelloWorld.action. 

Struts Questions

Struts2 netbeans 6.5.1 application error - Struts
Struts2 netbeans 6.5.1 application error  i develop struts simple application in netbeans 6.5.1 but every time generate appache error Requested resources not available in so give me solution please any body 

Struts Questions

struts 2 mysql
struts 2 mysql  In the example : http://www.roseindia.net/struts/struts2/struts-2-mysql.shtml how is the username and password(in insertdata.jsp) which is entered by the user is transferred to the { ("INSERT employee VALUES 

Struts Questions

struts2
struts2  dear deepak sir plz give the struts 2 examples using applicationresources.properties file 

Struts Questions

struts2+hibernate - Struts
struts2+hibernate  How to use hibernate 3 with struts 2 application? kindly reply with example 

Advertisements Advertisements
 

 

 

DMCA.com