| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#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
|
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 |
|
|
|
|
|
#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
|
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 |
|
|
|
|
|
#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
|
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 |
|
|
|
|
|
#5 (permalink) |
|
Moderator
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
|
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 |
|
|
|
|
|
#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
|
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 |
|
|
|
|
|
#7 (permalink) |
|
Moderator
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
|
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 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|