Use input type=radio
Hi every body, when I use input type="radio" in my JSP, I have an error. How can I use this with the JSP and the Bean ? Please Help. Thank. Frdric LELIEVRE TTE - (BA / F04 C024) * +352-44992--2485 * [EMAIL PROTECTED] Visit us at http://www.clearstream.com Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER
RE: Use input type=radio
The error is to the execution, not at the compilation. And I use the same name for the radio button. -- From: Michael Wentzel[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 13:46 To: '[EMAIL PROTECTED]' Subject: RE: Use input type=radio Sensitivity: Confidential The real question is what kind of error(compile, exception,...)? If you're outputting the input element from java(i.e. such as %="input type="%) then the quotes(") must be control chars(\"). All radio buttons in a group should have the same name as mentioned by Suresh. Without a name the input element is essentially useless because you can not get the selected value from the request. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com to the best of my knowledge Syntax is the problem.the actual systax for the radio button is input type="Radio" name="name_of the_group"name_u_want to displayp that is why jsp's are not able to convert the code to equivalent servlet or html.revert back for furthur clarification... when I use input type="radio" in my JSP, I have an error. How can I use this with the JSP and the Bean ? Visit us at http://www.clearstream.com Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER
Servlet Exception against
Hi all, I'm a new tomcat user and when I want to open a JSP, I have this error : I use Tomcat 4.0 et JDK 1.2.1. A Servlet Exception Has Occurred org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: ..\work\localhost\Project\Datacapture_0005fProject\_0002fDatacapture_0005fPr oject_0002fModification_0005fSimple_0005fDatacapture_0005fRequest_0002ejspMo dification_0005fSimple_0005fDatacapture_0005fRequest_jsp_0.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:159) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:171) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:251) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:196) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContext.invoke(Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161 ) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :159) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.process(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) Code of the page : HTML HEAD TITLEModification Simple Datacapture Request/TITLE /HEAD BODY bgcolor="#DE" P align=center BFONT size="+3" face="Arial"Modification Simple Datacapture Request/FONT/B P align=center BR BR FORM name="SDP" action="" method="post" TABLE border=0 cellspacing=0 cellpadding=0 TR TD bgcolor="#FFD339"FONT size=2 face="Verdana, Arial, Helvetica, sans-serif" color="#003399"BDatacapture Specifications/B/FONT/TD TD bgcolor="#FFD339"nbsp;/TD TD bgcolor="#FFD339"nbsp;/TD /TR TR TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD /TR TR TD bgcolor="#F9F1BF" FONT size=2 face="Verdana, Arial, Helvetica, sans-serif" color="#003399"Reference:nbsp;/FONT SELECT name="reference" onchange="top.main.location.href='Modification_Simple_Datacapture_Request_Sp ecification.jsp';" OPTION value=""Select a reference/option OPTION value=""14-MAR-1801B_NTP/option OPTION value=""10-MAR-1801A_DTP/option OPTION value=""17-MAR-1801B_RBS/option /SELECT/TD TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD /TR TR TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD /TR TR TD bgcolor="#F9F1BF"INPUT type="button" name="BACK" value="BACK" onclick="top.main.location.href='trame.jsp';"/TD TD bgcolor="#F9F1BF"nbsp;/TD TD bgcolor="#F9F1BF"nbsp;/TD /TR /TABLE /FORM /BODY/HTML Can you help me, It's very Urgent. Thank you for your help. Frdric LELIEVRE TTE - (BA / F04 C024) * +352-44992--2485 * [EMAIL PROTECTED] Visit us at http://www.clearstream.com Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International
Another Servlet Exception
It's against me. For a another problems Thank for your help. A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:481) at Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fValidation_0005 fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005fSimple_0005fDa tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_0005fProject_0002 fValidation_0005fSimple at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:184) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:251) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:196) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContext.invoke(Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161 ) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :159) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.process(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) Root Cause: java.lang.NullPointerException at Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fValidation_0005 fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005fSimple_0005fDa tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_0005fProject_0002 fValidation_0005fSimple at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:184) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:251) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:196) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardContext.invoke(Compiled Code) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161 ) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :159) at org.apache.catalina.core.ContainerBase.invoke(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.process(Compiled Code) at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) Frdric LELIEVRE TTE - (BA / F04 C024) * +352-44992--2485 * [EMAIL PROTECTED] Visit us at http://www.clearstream.com Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the