• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Running JSP on WSAD 5.0

 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I�m new to WSAD 5.0 and creating a simple web application using it. This application will have JSPs and Servlets. I started the project with following steps.

1.Created Web Project userAdmin under Web Modules. This project was created with new enterprise application project MSEnterprise

2.Added MSEnterprise to Server MSServer

3.Created new JSP file main.jsp by right clicking on Web Modules � userAdmin � New � Other � Web � JSP File

I was wondering how to run main.jsp on server and view it via browser. I really appreciate any help. Please let me know if I�m doing something wrong.

Thank You
[ July 29, 2004: Message edited by: Dilipkumar Kalyankar ]
 
author & internet detective
Posts: 39341
755
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dilipkumar,
Right click the jsp and select "run on server." That is a good time to make a note of the URL in case you want to go directly.

This will open the jsp in WSADs test browser. You can set an external browser in the workspace preferences.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the response.

I could see main.jsp under C:\My Documents\IBM\wsappdevie\workspace\userAdmin\Web Content. I could see this page in one of the windows in WSAD where I can edit and preview this file. But I don't see this file listed in J2EE Hierarchy (Web Modules\userAdmin). Any ideas ?

Thanks
 
Jeanne Boyarsky
author & internet detective
Posts: 39341
755
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dilipkumar,
I think only servlets show up in that list. I don't remember ever seeing my JSPs there.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne,
You are right. J2EE Hierarchy is not showing list of JSPs. But I could see them using J2EE Navigator.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!