× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe,

You first have to add the servlets to the web.xml file in the web-inf
folder. Then to run a servlet the expand the Deployment Descriptor and you
should see servlets, expand that and you will see what you added to the
web.xml. You can now right click the servlet and say run on server. 

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of Joe Pluta
Sent: Wednesday, March 01, 2006 11:08 AM
To: 'Websphere Development Studio Client for iSeries'
Subject: [WDSCI-L] Launching a servlet

A while back I posted an issue I had with launching servlets.  In WDSC 5, I
could right-click on a JSP or a servlet in the Project Explorer and Run and
Debug options would appear in the menu.  These brought me to a submenu which
allowed me to Run or Debug on the server.  This basically launched a browser
and fired off the JSP.

 

Since switching to WDSC 6, I can only launch JSPs with this method.  The
only options available for servlets are "JUnit Test" and "Run.".  Run.
brings up the dialog to set up a launch configuration, but none of the
configurations run on the WTE server.

 

I can get around this by running a JSP to bring up an internal browser
window and then modifying the URL to load the servlet instead, bur I was
hoping there was a better way.

 

Joe

--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.