Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

converting java app to servlet

Thread view: 
shabbir_a@yahoo.com - 30 Apr 2007 15:59 GMT
Hi,

I have a java application with source code.  I want to convert that
into a servlet in order for it to be called within a web app.  The
java app has its own manifest, config.xml and .gram file, plus the
java file and the libraries (linked in teh manifest file).  I have
created a new web project in netbeans, with a new servlet and copied
the code from the original java file, linked in the libraries, but
how to link the configuration and .gram (grammar) file?

Also if I am referencing a file in the servlet, where would the file
be required to be located?

Thanks in advance.

Shabbir

--
--------------------------------- --- -- -
Posted with NewsLeecher v3.9 Beta 2
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
Daniel Pitts - 30 Apr 2007 19:14 GMT
On Apr 30, 7:59 am, Shabbir (shabbi...@yahoo.com) wrote:
> Hi,
>
[quoted text clipped - 18 lines]
> Web @http://www.newsleecher.com/?usenet
> ------------------- ----- ---- -- -

If its only going to be access by another servlet, why make it a
servlet itself? It is already an application, so I assume it has some
sort of useful API.  Just use the API!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.