We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,078 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

how to open jsp page in browser without starting NetBeans?

how to open jsp page in browser without starting NetBeans?
ie how to run localhost file?

5
Contributors
4
Replies
1 Week
Discussion Span
8 Months Ago
Last Updated
5
Views
fularipk
Newbie Poster
5 posts since Jun 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

deploy ur project folder in c:->program files->apache tomcat->webapps->urproject folder
start tomcat c:->program files->apache tomcat->bin->start.bat(double click)
write path of ur project folder in Browser like http://localhost(or server ip)/project folder/index.html

rahul pareek
Light Poster
33 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

hi fularipk,
if you are using netbeans glassfish will be default server,
The thing is net bean just Ide , Once we developed web application we need to install it in server, We have plenty of option for that jboss,apache tomcat,glass fish etc...After instalation we need to run it in browser

anand01
Posting Whiz in Training
288 posts since Aug 2010
Reputation Points: 12
Solved Threads: 22
Skill Endorsements: 0

rahul pareek: are you sure it's start.bat? sure it's not 'startup.bat' and 'shutdown.bat'?
with using a tomcat server, you could also add a xml file in the catalina > localhost folder, that provides information to where the classes and properties can be found, instead of copying your .war file in the webapps folder.

stultuske
Industrious Poster
4,375 posts since Jan 2007
Reputation Points: 1,318
Solved Threads: 610
Skill Endorsements: 24

I think you'd have to also type the port number after the localhost address. E.g http://localhost:8080 after you start tomcat.

rotten69
Master Poster
747 posts since May 2011
Reputation Points: 36
Solved Threads: 47
Skill Endorsements: 11

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0622 seconds using 2.65MB