sai baba

Greenhorn
+ Follow
since Apr 26, 2004
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 sai baba

Hi I have just installed tomcat on my windows xp machine.I downloaded the Apache-Tomcat version 5.5.15(windows executable) and also the jdk 5.0.
When I enter http://localhost:8080/ into the browser, I get the tomcat Jakarta page-no problem.

When I try my first test jsp page (main.jsp)with the follwing expression in the body section of the jsp page:
Hello! The time is now: <% = new java.util.Date() %>

I get the same line in my webpage:
Hello! The time is now: <% = new java.util.Date() %>

The java expression is not evaluated, no error messages.
Anyone have any suggestions what I should be doing?

Thanks
--------------------------------------------------------------------------------
Posts: 8 | Registered: Apr 2004 | IP: Logged

Satou kurinosuke
ranch hand
Member # 112140
posted February 26, 2006 09:04 PM
--------------------------------------------------------------------------------
First, you've got an extra space between the % and the =.
You should remove it.

What file did you put this line in ? (filename and directory)
--------------------------------------------------------------------------------
Posts: 835 | Registered: Nov 2005 | IP: Logged

sai baba
greenhorn
Member # 71858
posted February 27, 2006 07:29 AM
--------------------------------------------------------------------------------
Hey Thanks for the help,
I have the file main.jsp in a WebProject folder which is a subfolder of the Tomcat Root folder(Root/WebProject/main.jsp).

From what little I know its supposed to be a simple test. I have no servelet in the page so am I still to have created WebProject\WEB-INF\web.xml? If so what will it contain in the servlet tag? I have not edited any other XML files.

Any Ideas/Suggestions?

Sai
18 years ago
JSP
Hey Thanks for the help,
I have the file main.jsp in a WebProject folder which is a subfolder of the Tomcat Root folder(Root/WebProject/main.jsp).

From what little I know its supposed to be a simple test. I have no servelet in the page so am I still to have created WebProject\WEB-INF\web.xml? If so what will it contain in the servlet tag? I have not edited any other XML files.

Any Ideas/Suggestions?

Sai
18 years ago
JSP
Hi I have just installed tomcat on my windows xp machine.I downloaded the Apache-Tomcat version 5.5.15(windows executable) and also the jdk 5.0.
When I enter http://localhost:8080/ into the browser, I get the tomcat Jakarta page-no problem.

When I try my first test jsp page (main.jsp)with the follwing expression in the body section of the jsp page:
Hello! The time is now: <% = new java.util.Date() %>

I get the same line in my webpage:
Hello! The time is now: <% = new java.util.Date() %>

The java expression is not evaluated, no error messages.
Anyone have any suggestions what I should be doing?

Thanks
18 years ago
JSP
Hi,
I am creating a Jar file of a java application that references external libraries (GUI components). When I click on the Jar file created it does nothing! I know the format for manifests to identify the main class.

However I am not sure about including a "Class-path" in the Manifest for the external libraries as I have been told.

Has anyone any idea tof his? Can you explain what I need to add to the manifest.
18 years ago
Hi

Can anyone help me with my original question? I would be grateful for any ideas.

Thanks
Sai
18 years ago
I am more interested in if you have a response to my question and nothing else. This is not the medium for this kind of sentiment - you should know better!

Do you want to go round changing everyones name in the world because it has a meaning in your language or religion? My intention is not to disrespect - its the first time I have heard of this - so carry you issues somewhere else(you've definitely got them)!
18 years ago
Hi,
I am creating a Jar file of a java application that references external libraries (GUI components). When I click on the Jar file created it does nothing! I know the format for manifests to identify the main class.

However I am not sure about including a "Class-path" in the Manifest for the external libraries as I have been told.

Has anyone any idea tof his? Can you explain what I need to add to the manifest.
18 years ago
Hi,
I have installed oracle 9i personal on my system and have no problems runng SQL sql querries on it.

I have also downloaded jdbc oracle thin drivers to my desktop.

I am using JCreator as my IDE, how do I configure/ install the driver so that it allows me to querry the database from my application? Do I have to place the driver in a specific folder/ path etc??