Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 15-04-06, 02:24 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2006
Location: India
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 eswarig has disabled reputation
hi,
can anybody give me the right steps to install tomcat 5.5 exe with jdk1.5 on windows xp, although i hav installed it successfully i am unable to compile jsp pages, please reply asap


thanx in adv,

Eswari
eswarig is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19-04-06, 09:24 AM   #2 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 sureshc has disabled reputation


Hi,


Hi Tomcat 5.5 is pointing to JRE.So set path to JRE instead of JDK








sureshc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 23-04-06, 12:51 AM   #3 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 nishant_jaina has disabled reputation
well it doesnt matter whether u have given a classpath og jre or jdk as it has its own jdk and all such. The problem is with ur JSP file. Recheck the file bcoz the JSP file will not compile if there is any thing wrong in that as it first changes to corresponding servlet.

bye

nishant_jaina is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-04-06, 04:36 AM   #4 (permalink)
Junior Member
 
Join Date: Apr 2006
Location:
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 madhu_latha has disabled reputation

hi,

after writing ur programs in jsp, u have to copy them into ROOT folder which in the Tomcat Apache folder,



for example:



C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT



and then go to the web browser and then try to execute the JSP programs





Edited by: madhu_latha
__________________
vmlatha
madhu_latha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-06, 09:05 AM   #5 (permalink)
Moderator
 
t_mohan's Avatar
 
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57
Thanked 78 Times in 63 Posts
Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
Hi Eswari

Please donot copy your folder in the ROOT as specified by madhulatha, it should be copied in the webapps folder, if you copy your folder in the ROOT ,then the homepage of the tomcat server will not be shown which becomes a problem to you while you go to tomcat administration or manager pages


Correct me i'am wrong Madhu latha,


Thanks,

Mohan

__________________
M0h@n
t_mohan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-06, 10:40 AM   #6 (permalink)
Junior Member
 
Join Date: Apr 2006
Location:
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 madhu_latha has disabled reputation
hi mohan, i think u r right, but while i right jsp programs , in any folder i used to send those programs into ROOT folder and then open the browser with address http:// localhost:9040/ somejspprogram.jsp after activating tomcat server. the programs which i wrote upto now were executed well as i copied them into ROOT folder.
here 9040 is the port number we specify while installing in a system.

to know whether tomcat server is working or not, first type the following path in address bar,



plz explain if i am wrong


__________________
vmlatha
madhu_latha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-06, 06:39 AM   #7 (permalink)
Moderator
 
t_mohan's Avatar
 
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57
Thanked 78 Times in 63 Posts
Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
Hi madhu latha,

Yes, you are right , your JSPs may get executed when you give full path,but it is a caution that it should not be copied, since ifthe ROOT folder gets disturbed the Tomcat homepage will not be displayed. I'am telling you this bcoz we had this problem, once my junior has done the same thing by deploying the appn in the ROOT Folder.


If it is development environment, nothing gonna lose. but if it is a production environment, it going to be wrong


Please let me know your questions


Thanks

Mohan.T
__________________
M0h@n
t_mohan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15-05-06, 01:01 PM   #8 (permalink)
Junior Member
 
Join Date: Feb 2006
Location: India
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 eswarig has disabled reputation
hi all,
thanks a lot for ur prompt replies.it was indeed useful,i'l get back to u all whenever in doubt

eswarig is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 03:04 AM.





Search Engine Optimization by vBSEO 3.1.0