| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
64 comments so far (post your own) View All Comments Latest 10 Comments:global :
The constant details are specified in <constant> element within this element.
I think there is something wrong in this statement.
Please correct this.
Posted by Amit on Friday, 12.12.08 @ 00:27am | #82667
hi,
i have a jsp form...this form shows all the record of the table..table contain empID,empName,etc...
all the records are displayed in rows..after every record there are two buttons...modify and delete...
as clicking on to the modify button a popup window will be open displaying that particular record is diplayed in the fields...can anyone help me how to d dat...
Thanks in advance!!!
Posted by shobhit dimri on Wednesday, 10.8.08 @ 17:16pm | #80964
nice tutorial for the beginers
Posted by vamsikrishna on Tuesday, 02.5.08 @ 15:13pm | #47284
yes, you can
greetings,
Hamid
Posted by Hamid Komairi on Friday, 01.18.08 @ 10:44am | #45495
Hi..
I have 1 queston.that is how to do user defined validations in validation frame work of struts frame work?
Posted by sekhar on Saturday, 12.15.07 @ 17:53pm | #42500
It is veryuseful to the beginner. And it gives the clear picture of the usage.
hates of to author....
Posted by Jilla Anil on Thursday, 11.29.07 @ 17:55pm | #40896
it,s really helped me lot.
Thanks
Posted by veeresh on Tuesday, 11.20.07 @ 11:30am | #37928
this is not appropriate place to post this query,but i am in urgent need.can we use commons validator without struts framework.
Posted by chaitanya on Saturday, 11.17.07 @ 16:35pm | #37625
i'm a beginner!
very goog for me!
thanks!
Posted by Dai Phuc on Wednesday, 10.17.07 @ 08:12am | #34246
Its good.But it need some flow for examples.this will be help ful for beginners.
Posted by lakshmi on Wednesday, 08.22.07 @ 16:22pm | #23908
It is good for beginers , but it requred some more examples.
Posted by susanta sahoo on Wednesday, 08.1.07 @ 20:33pm | #22440
hi
i have to use validator for validating the client side data suppose when validating the form data it throw some error that is username is not valid that error displayed on one jsp page that is routine work but i want to throw that error in alert box using java script it is possiple.
Posted by dhandapani on Tuesday, 07.31.07 @ 15:10pm | #22299
Good one for beginners...
Posted by Amruthraj Belaldavar on Tuesday, 07.10.07 @ 00:31am | #20984
This is good and needs more description
Posted by Sanjay on Monday, 06.18.07 @ 19:03pm | #19605
hello Brothers i m suffering with problem in validation framework in struts.So plz if u know then send me very first program and how to run with code.
thank you.
Posted by praveen on Thursday, 06.14.07 @ 14:13pm | #19195
It is help for everyone because explain each and every step by step
Posted by shyamprasad on Wednesday, 06.13.07 @ 11:11am | #19089
Its really helpful for me
thank you
Posted by writegull on Saturday, 06.9.07 @ 18:01pm | #18731
Its very good for beginner
Posted by Pramod Divekar on Tuesday, 05.29.07 @ 18:13pm | #17661
actully this frame work is very good frame work, the front validation is weaker than server side validation. For that server side validation this struts validation frame work is good enough , so this frame work very fine with good security, even the hackers also doesn't touch to do any illegal things.but for the front-end validation there maight be a chance to do the illegal things. so server side validation is very securable at any point of time.
Posted by venkata krishna Rao on Thursday, 05.17.07 @ 13:49pm | #16242
sir i want to learn struts so plz give me meterial about that.
Posted by kasa.sivakumar on Tuesday, 05.15.07 @ 23:32pm | #16033
Hi,
I have a drop down menu where the default is Please select. I want to validate that when the user submits the form that the selected value is still not Please select. Is there an easy way I can do this in Struts validator which writing a customer validator.
Cheers,
Gavin
Posted by gavin on Monday, 05.14.07 @ 16:09pm | #15849
Hi,
In my struts application I have some fields like id,name,date,email,phone(99-999-999999)like this.
I can make use of validator framework to validate date,email,maxlength using predefined tags in validator-rules.xml.In order to validation on phoneno I want to know how can I do validation using validator framework.we can use javascript or we can add userdefined plugin to framework to do validation.can any one give me the suggestions(if possible sample code)to add user defined plugin.
Posted by Madhu Babu on Monday, 04.9.07 @ 23:22pm | #13664
Its very good user guide.
It will be helpful if you provide some faq's.
Posted by surendra on Monday, 03.26.07 @ 12:01pm | #12708
hai vinothini,
that tells that u can enter a to z, A to Z and 1 to 9, others are invalid input values,
Posted by siva on Wednesday, 03.21.07 @ 12:30pm | #12334
u can use StrutsConsole to edit those 4 xml files
Posted by SIVASUBRAMANIAM on Wednesday, 03.21.07 @ 12:26pm | #12333
It's really helpful.
RAGHU
Posted by Raghu veera Reddy.N on Monday, 03.19.07 @ 14:08pm | #12177
ya this is good site
Posted by MADHU on Friday, 03.9.07 @ 12:28pm | #11231
This site has some excellent stuff which r not only easy but with full concepts.
Rahul
Posted by Rahul on Wednesday, 03.7.07 @ 16:55pm | #10995
i am getting error for my validator.xml..please give solution:
ar 2, 2007 12:07:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Mar 2, 2007 12:07:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Mar 2, 2007 12:07:58 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 2 column 7: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:177)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
Mar 2, 2007 12:07:58 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 2 column 7: Document root element "form", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "form", must match DOCTYPE root "null".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:183)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
Posted by rao tata on Friday, 03.2.07 @ 22:40pm | #10298
this is very good site for learning and pracice ,really thank ful to this site
Posted by ravi on Saturday, 02.24.07 @ 20:31pm | #9470
how to validate blank characters in validation.xml?
Also what does the * mean in ^[a-zA-Z0-9]*$ ?
Thanks in advance
Posted by Vinodhini on Wednesday, 02.21.07 @ 18:21pm | #8735
U r really helping beginners.Who do not have teachers.
Posted by Prajakta Deshpande on Monday, 02.19.07 @ 18:28pm | #8392
They say it is good for beginner but it is missing a key information in the first section. That key information is the Resource file. A beginner will be confused as he/she does not know where the values of welcome.title is coming from.
In a case when <message-resources parameter="....ApplicationResources"> is defined in struts config xml, the text file named "ApplicationResources.properties" should have entries like this:
welcome.title=Welcome
etc.
Posted by Asif on Saturday, 02.17.07 @ 03:13am | #8102
yeah, Exadel Studio is one of them...
Posted by Anand on Monday, 02.12.07 @ 17:38pm | #7558
can anybody tell me , is there IDE for struts available
for those 4 files
1)config.xml
2)web.xml
3)tiledefinition.xml
4)validator.xml
Posted by amol on Thursday, 02.8.07 @ 11:17am | #6750
u r providing good tutorials
Posted by prajakta on Tuesday, 02.6.07 @ 15:54pm | #6402
I need some tutorials on validator framework.
Posted by RIK on Tuesday, 02.6.07 @ 15:31pm | #6397
Its a really good site for any software developers.
Posted by Meghnath Sharma on Thursday, 02.1.07 @ 22:26pm | #5272
hi
friends
Gud Afternun!
help for everyone because explain each and every step by step
Posted by Amarender on Thursday, 02.1.07 @ 12:46pm | #5166
It is very good site to learn the Struts and hibernate for beginers.
Posted by Mahendra on Thursday, 02.1.07 @ 12:37pm | #5163
Its very good tutorial
Posted by M.Shoban Babu on Tuesday, 01.30.07 @ 12:21pm | #4684
It's nice to have site like this
Posted by RavindraReddy on Monday, 01.29.07 @ 17:49pm | #4645
Note the line
Server side validation of the form can be accomplished by sub classing your From Bean with DynaValidatorForm class.
is not true and not the only method , you can subclass jsut the ValidatorForm and do validations too.
Any comments?
Posted by don on Thursday, 01.25.07 @ 04:18am | #4278
this is very good site. It is very useful to beginers.Iam a beginner.i understood very well .
thanks to u.
Posted by Durga prasad on Tuesday, 01.23.07 @ 16:35pm | #4141
A really informative site ... Topics presented in a very well presentable and understandable manner...
Posted by Rajesh Bhaskaran on Friday, 01.19.07 @ 12:10pm | #3812
Very Nice Site,which provides fandoo material for beginers as well as exp. professionals.
Posted by Mohit Talwar, TCS on Thursday, 01.18.07 @ 18:30pm | #3778
Its really very much helpfull .......
it's really a good site ,
Thank you
Posted by prasad on Monday, 12.25.06 @ 16:40pm | #1975
Some examples are too specific. Try to
be more elaborate.
Posted by easu babu on Saturday, 12.23.06 @ 20:06pm | #1512
It is usefule one for Struts new comers
Posted by chidhambaranathan on Monday, 12.18.06 @ 12:46pm | #1185
it is helped me and this tutorial is good
thanks
Maneswari
Posted by Maneswari on Monday, 12.18.06 @ 11:14am | #1182
Is it true that using validation framework, slows down the application at runtime?
Any help is appreciated.
Posted by seetha on Sunday, 12.17.06 @ 11:06am | #1144
Hi,
I made all the steps, but when I open the form, apperars all the validation code (in java-script) as text in the html.
Any clue?
Posted by blancocero on Saturday, 12.16.06 @ 03:27am | #1083
I need validation.xml file ...can any one provide me...
Posted by manoj on Wednesday, 12.13.06 @ 17:45pm | #950
Can u solve this problem.
For an expression, in struts i should accept characters a-zA-Z0-9 space -(Hifen). But the expression should not start with Hifen and should not end with Hifen. how to do this.
Posted by Sreekar on Wednesday, 12.13.06 @ 15:00pm | #945
Sorry, but I'm having a problem with validation in struts.
I've already using validation.xml to validate the input, but there is a problem. Well, in my input form, it's not allowed to input BLANK character ( japanese Blank character). I've already tried to find out the solution, but I cannot validate the input if the user input japanese BLANK character ( I tried to input Japanese BLANK into validation.xml file, but this character is converted into "?").
Can you share me your solution to solve this problem?
Thank you very much!
Posted by sunny1109 on Wednesday, 12.13.06 @ 06:50am | #923
it's really a good site ,
Thanks.
Posted by ram on Tuesday, 12.12.06 @ 11:47am | #877
ya its very much helpful.
Posted by Sanjeet on Monday, 12.11.06 @ 11:02am | #749
It helped me a lot
Thank you
Posted by Rohit Mittal on Monday, 12.11.06 @ 11:01am | #748
waah ji waah, tusi great ho!
Posted by tushar chandra on Thursday, 12.7.06 @ 00:55am | #541
this was the absolute stuff i was looking for as i am a new commer to struts.
Thanks a lot for this.
Ashish
Posted by Ashish on Wednesday, 12.6.06 @ 12:20pm | #484
I like very much this tutorial.
Posted by Renato on Monday, 12.4.06 @ 19:34pm | #392
The complete tutorial is excellent..
good work..
Posted by charles on Monday, 12.4.06 @ 11:53am | #375
You are doing a good job helping techies
Posted by STV on Friday, 12.1.06 @ 20:29pm | #339
excellent
Posted by sachin trivedi on Tuesday, 11.28.06 @ 12:45pm | #173