Abhay Katekar

Greenhorn
+ Follow
since Jan 12, 2006
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 Abhay Katekar

Thanks,

Will check out for the jdk version 1.5.

That should solve the problem.
17 years ago
Hi Jesper,

Did it.

C:\>java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

Thats the output.
Now how can I tell if its 32 bit jvm or 64 bit jvm version from this output.
Please help.
17 years ago
How can one find out if the jvm version is 32 bit or 64 bit.
17 years ago
Thanks Rahul,

Got it now.
The request type is extracted from the request headers.
Now its clear.
17 years ago
If I forward a request from one servlet to another using requestdispatcher.forward() then which method is called doGet() or doPost().
17 years ago
Thanks Steve,
That clears my doubt drivers.
But then again if I load multiple drivers one after another using multiple Class.forname() statements, which driver will get used? Or will the DriverManager pick the first suitable one? Also if any other section of the program has loaded a driver previously(which is not a good practice) could that driver get used.
So is there any way I could force it to use a specific driver?

Regards,
Abhay
A driver is loaded using:
Class.forName();
And we obtain the connection using:
DriverManager.getConnection();
Now the question is how does the DriverManager class now which driver to use to get the connection.
This is what a few people asked me.
Are there any parameters in the .jsx file which can be configured or manupulated to change JBuilder settings.
17 years ago

Originally posted by Travis Hein:
the blank screen from the result of validate() being called and you have an input in the struts configuration action mapping, can be caused when the value of the input="" attribute does not references a jsp file, there is a typo in the path or file name, or you have included the application context as part of the path. the jsp path should be refrenced from the web application without the context path in front of it.
for example, my input form is in /WEB-INF/jsp/input1.jsp
then i would have input="/WEB-INF/jsp/input1.jsp"

Other times may be when the input jsp file has an error and does not compile.

I have found too when my execute() method cannot find a forward, or if my action class does not implement the execute() method I also get just a blank screen with no error messgaes, but that is after the validate().




Thanks for the help.
I will check if there is a problem with the jsp compilation.
But I have earlier tried to use the input jsp value as a jsp which is already getting used but still that does not work.
Anyway will try again and get back.
Regards,
Abhay.
17 years ago

Originally posted by Travis Hein:
the blank screen from the result of validate() being called and you have an input in the struts configuration action mapping, can be caused when the value of the input="" attribute does not references a jsp file, there is a typo in the path or file name, or you have included the application context as part of the path. the jsp path should be refrenced from the web application without the context path in front of it.
for example, my input form is in /WEB-INF/jsp/input1.jsp
then i would have input="/WEB-INF/jsp/input1.jsp"

Other times may be when the input jsp file has an error and does not compile.

I have found too when my execute() method cannot find a forward, or if my action class does not implement the execute() method I also get just a blank screen with no error messgaes, but that is after the validate().

17 years ago
I have set the input attribute of the action tag to point to a desired jsp.
This jsp is at the same location as my other jsp's.
But when the validate() method of my ActioForm is called upon error the jsp pointed to by the input attribute is not displayed.
Instead a blank page gets displayed.

Why is this happening.
My resource bundle is in the classes folder and named as ApplicationResources.properties.
The same name is configured in the struts-config.xml

What could be the problem.

Also if I remove the input attribute then the a message is displayed in the browser saying that "no input confitured"

Thanks
Abhay.
17 years ago