Ankit Pedro

Greenhorn
+ Follow
since Mar 23, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ankit Pedro

Is it possible to generate a java class from xml file ?

Is there any specific API's and tutorials ?

Any help would be appreciated.
18 years ago
Hello

I am using a java class (Connect) i many jsp pages :



When I browse to a page that uses that package, tomcat generates errors:

exception

org.apache.jasper.JasperException

root cause

java.lang.NullPointerException

The package is in WEB-INF/classes
I am using the jdk in the Sun Application Server PE 8 ! and tomcat 4.1.27
18 years ago
Tomcat cant seem to import a package.

I placed the package in the WEB-INF/classes, I also placed it in the common/classes, and i tried to jar it and placed it in the WEB-INF/lib, but also tomcat didn't recognize it.
I am confused, the class compiles with no errors.
Any suggestions would be appreciated.
18 years ago
Hello Bear,

The case that I am facing is :

When the administrator checks a time sheet, a buton ( export to excel ) saves the time sheet on the client. The time sheet data are not in a file on the web server the are in a database.

I was thinking when pressing the button, the data first gets saved on the server as .xls file then downloaded to the client.
18 years ago
JSP
My jsp page contains a button which exports data to an excel sheet. The excel file is being saved on the server.
How can i save the file directly on the client.
[ June 16, 2005: Message edited by: Ankit Pedro ]
18 years ago
JSP
Hello,

I am new to JSP, and i am developing a web application( Employee's TimeSheet).

My problem is that i have a window 'A' with a text field 'AA' and a button 'BB', upon pressing on 'BB' a popup window appears. what i am unable to figure out is how i can upon selecting a certain value from the popup window, that value is dynamically placed in 'AA'.

I figured it out using javascript, but is there any way to do it in JSP.

Any help would be appreciated.
18 years ago
JSP
I figured it out.

Thanks anyway.
Hello St�phane,

I appreciate your help.
My problem is that i am unable to use the javax.portlet library with my jdk.
I have J2EE 1.4.2 and JDK1.5 installed on my system, i have also downloaded the java portlet api, but how i can use them.

Thanks in advance
Ankit.
Hello,

I am new to portlets, well in fact it is my first day!

Is it possible to use the portlet api with j2se or only j2ee and if it is possible, how it is integrated.

Any help is appreciated.
Ankit.
[ April 06, 2005: Message edited by: Ankit Pedro ]
I am facing the same problem .
A KeyListener may be registered for key events with a TextField. When a key is pressed, the method keyPressed() of the KeyListener will be called with the KeyEvent as parameter.

Check this tutorial from sun.
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html


addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent event) {
// look for tab keys
if(event.getKeyCode() == KeyEvent.VK_TAB|| event.getKeyChar() == '\t') {
// Your code goes here.
}
}
else {
//Your code goes here. }
}
});
[ March 29, 2005: Message edited by: Ankit Pedro ]
19 years ago