I enter the web pages:
http://geoserver.org/display/GEOSDOC/3+A+Simple+PlugIn, but not success
because the code "mvn install" have error.I find out that it is difficult to
use maven.Do you suggess some other way that easy to make a new plugin for
GeoServer.
But i prefer to create a independent web application, it only load map from
GeoServer, it run its Servlet which connect database and send query,  when
it receive the results from Servlet then it add path between 2 point on the
map.Do you tell detail or do you know any web that solve this way?
I am forwarding to your answer
Thanks

Justin Deoliveira-6 wrote:
> 
> You have a few options:
> 
> If you already have the Servlet implemented you can use the spring 
> controller framework to plug-in in a spring application context.
> 
> Or you can modify the web.xml file of GeoServer and add your servlet 
> directly.
> 
> Or if you do not have the servlet already implemented, an alaterntive is 
> to write a custom service for GeoServer. It is not much work, here is 
> some documentation here:
> 
> http://geoserver.org/display/GEOSDOC/3+A+Simple+PlugIn
> 
> Hope that helps.
> 
> -Justin
> 
> Hoku_sai2000 wrote:
>> Hi all,
>> I am Vietnamese,i am not good at writing English,but i have an important
>> essay to finish course at University.So i try to post this question to
>> forum
>> so that i hope some help.I really need some help.I am stuck
>> in this problem
>> I want to write an GIS application to find path between 2 point on the
>> map.I
>> want write an Servlet application which connect database and then send
>> many
>> SQL query to database and finally receive the result from databse.But i
>> do
>> not know how to run this file(an Servlet application) from JSP page in
>> GeoServer.I want to write a new web application in GeoServer,but where i
>> should start. 
> 
> 
> -- 
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-run-Servlet-application-which-connect-databse%2C-in-GeoServer-tp23008028p23070010.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to