• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP - WEBSPHERE urgent

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends
could anyone plz help me in configuring the WEBSPHERE for running my JSPs??In which dir should i place my JSPs and how to set the path(where my JSPs resides)?
thanx in advance
ram
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why dont you use java web server 2.0 for running your jsp.its free.in websphere find public_html folder and put your jsp in it with .jsp extension no need to configure.
 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
When u made the application for that particular alias, you specify the working directory of the web folder and the servlets , say in ur websphere app server dir, go to hosts, default_host,<applicationname>, there u should have one servlets folder and one web folder, i normally have my jsp's in the pages folder inside the web folder, and call it by /pages/myfile.jsp but you can keep them directoly in the web folder itself, just make sure also that the correct mappings are there in your httpserver, i am using apache.
Hope this helps,
Daman
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
When u made the application for that particular alias, you specify the working directory of the web folder and the servlets , say in ur websphere app server dir, go to hosts, default_host,applicationname, there u should have one servlets folder and one web folder, i normally have my jsp's in the pages folder inside the web folder, and call it by /pages/myfile.jsp but you can keep them directoly in the web folder itself, just make sure also that the correct mappings are there in your httpserver, i am using apache.
Hope this helps,
Daman
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Here are the steps to deploy a JSP and invoke in WebSphere
1. Create the JSP and copy it to the \websphere\appserver\hosts\default_host\default_app\web
2. From the Administrator's console select
Console->Tasks->Add JSP or Web resource-> and select the path to where you have stored the JSP.
You will get a message on the console saying ""WebApp.addWebResource" running.
3. On the Console select the View menu and set view to Topology(this is default)
4. Topology view gives you a tree structure, the last branch is default_host. Select this branch. On the right hand you will get default_host(Virtual host). Select the Advanced tab check the aliases used for default host.
5. Start the browser and give
http://alias/filename.jsp
Thats it !!
Suneel
P.S : please post queries with respect to Websphere in the WebSphere forum as we can have all of it together and can refer to the info.
Thanks!!
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Matt,
Could this too be transfered to IBM WebSphere forum.
Thanks
 
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Done.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Matt
I am not sure link to websphere forum can you post the link to websphere forum.
Thanks
Konda
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If u r using Websphere App server, also use Websphere Studio. All deployment problems are solved. Moreover it has wizards.
 
reply
    Bookmark Topic Watch Topic
  • New Topic