Input-taglib question

2001-04-30 Thread Sam Newman
I'm currently using the input taglib library. When I submit a form and the action on the form is simply to redisplay the page (e.g. same as the example jsp), the fields get populated with the data as expected. When I replace the action of the form with a servlet, which simply redirects back to

RE: Form validation

2001-04-30 Thread Renick, Garrel
I'm writing a Model 1 web application right now with custom tag libraries that requires form input validation. I'm not using scriptlets in my JSP's nor JavaScript--only custom taglibs. I'm using the Request taglib to test the GET/POST query string for parameter availability, and the Regexp

Re: Form validation

2001-04-30 Thread Craig R. McClanahan
Sam, One option for you to look at is the way that the Struts Framework http://jakarta.apache.org/struts deals with this issue -- it is one of the central organizing principles. Basically, it goes like this: * You define a form bean (an instance of ActionForm) that has properties matching

tags help

2001-04-30 Thread Barbara Johnson
Hi from a new jsp web app maker, I downloaded the jakarta tags so I could build a web form and INSERT INTO and QUERY a database. {The JRun tags only work with textfields and I needed something that would work with textareas.)with I am making a program that will be used in an educational setting

Re: tags help

2001-04-30 Thread Peter Alfors
and at the top of your JSP page you have the declaration: %@ taglib uri=http://jakarta.apache.org/taglibs/input-0.90; prefix=jtl % and reference your tags like: jtl:myTag attribute1=test/ What error are you getting exactly? Do you have the web.xml setup in the correct order? !ELEMENT

RE: Form validation

2001-04-30 Thread Lee Ball
Hi I think JRun comes with some custom tags which do client side validation by means of adding Javascript. Not sure on whether it can be used commercially or not but it should be quite easy to write your own based on their methods. Cheers Lee -Original Message- From: Sam Newman