NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Uploading Web pages with servlets ...

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
papito



Joined: 10 Feb 2010
Posts: 2

PostPosted: Wed Feb 10, 2010 11:53 am    Post subject: Uploading Web pages with servlets ... Reply with quote

Hi guys !!

I'm completely newbee in this huge world, and i'm just completing my firsts steps with Java Technology, so I pray excuse me if i'm asking some trivial questions.

I'm just read a pair of Java books, mainly focused on gramatical constructions and OOP, but i thing it is better learning by example, so I have began building an easy (and why not, quite stupid) web page using jsp and servlets. As something exceptional, I have include a little SQL treatment in order to do something more interesting (basically, check if a user exist in a database).

I feel quite stupid asking this, but if I want to upload the project to a real server (I have a little server space from my internet provider):
1) Which files will be necessary? (jsp for sure, but then ... *.java files? *.class files? *.xml, *.sql ...??
2) Which file structure should I use? (I mean if a should create some folders in the server ..
3) In my computer I have had to install a MySQL tools ... how can it works on my server provider? ... (i don't have acces to do that, right?)

Many thanks !!!
Back to top
WhiteTea27



Joined: 23 Dec 2009
Posts: 5

PostPosted: Fri Feb 12, 2010 3:30 pm    Post subject: Reply with quote

In my experience distributing the project usually consists of placing the .war file in the correct directory of a container like Tomcat. The .war file can be found in NetBeansProjects/your project name/dist

So you at least need to know what container the server is using or if you have to install one like Tomcat or Glassfish yourself

hope this helps (:
Back to top
papito



Joined: 10 Feb 2010
Posts: 2

PostPosted: Thu Mar 04, 2010 5:41 pm    Post subject: Reply with quote

Thanks .. finally, after some tries and google advices .. i've been able to solve it !!
Back to top
kamalkant_singh01



Joined: 09 Mar 2010
Posts: 1

PostPosted: Wed Mar 10, 2010 5:13 am    Post subject: same problem: Reply with quote

hi everyone,

I have same problem....

I have never uploadded any java code on real server yet.

Recently registered domain(www.13pen.com) but i am not able to find a correct directory where i need to upload the war file.

I tried to upload it in public_html directory but still 'cannot find server' Sad

the server here is Oracle weblogic server..

do i need to make any changes in web.xml file????
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo