Hi,
I have tomcat installed on my local machine. I have JSP. Which on load calls a method test which takes as arguments a 2D Array of Stringsof a class Test. When I create an instance of this method and call this method. I get an error message as NoSuchMethodError. The method exists but still...
Hi,
I have String of this format 08/25/2003 or 08.25.2003. I need to convert this to a Calendar. How do I achieve this. Well the reason for this format of String is that in these values are retrieved from a HTML input tag where the user enters and they need to be converted to Calendar type. How...
Hi,
I have a JSP Page that has an applet embedded in it. The applet is loaded. Now I have a hyperlink in the JSP. On the click of it I need to call a mthod in a class. How do I achieve this.
With Regards
Murali
hi,
Well I had the classes in a certain package. Then I jarred them and placed in the lib directory its perfectly fine right. I had an applet in these classes. A JSP had an applet embedded in it. But it says unable to resolve the classes why is it.
With Regards
Murali
Hi,
When we create a webapplication. We have the following structure.
MyWebApp
jsp files
html files
images logo.gif
WEB-INF web.xml
classes sample.class
test.class...
Hi,
Here is the code that can achieve this objective.
//First JSP
<%@ page import = "java.util.Hashtable" %>
<html>
<%
if(request.getParameter("name") != null && request.getParameter("email") != null)
{
Hashtable ht = new Hashtable()...
Hi,
Assume that I have a JSP with input fields. Also I have a submit button which when clicked takes you to another JSP. But the need is here to ensure that when I click the values from the i/p field (entered by the user) should be retrived and stored in a 2d array. And I need to pass this 2D...
Hi,
I have a JSP page that has a 2D Array of Strings. I need to pass this 2D Array to another JSP. But when I pass its a null. The code is as follows
<html>
<body>
<from method = "post" action = "two.jsp">
<% String[][] data = {{"USER", "TOM"}...
Hi,
I have JSP with an applet embedded in it. The applet has a method called test(). In the JSP I have button called test. Now I need to call the method test on the click of the button in the JSP.
The JSP code is as follows.
<html>
<head>
<script type = "text/javascript" language...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.