NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
papito
Joined: 10 Feb 2010 Posts: 2
|
Posted: Wed Feb 10, 2010 11:53 am Post subject: Uploading Web pages with servlets ... |
|
|
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
|
Posted: Fri Feb 12, 2010 3:30 pm Post subject: |
|
|
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
|
Posted: Thu Mar 04, 2010 5:41 pm Post subject: |
|
|
| 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
|
Posted: Wed Mar 10, 2010 5:13 am Post subject: same problem: |
|
|
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'
the server here is Oracle weblogic server..
do i need to make any changes in web.xml file???? |
|
| Back to top |
|
 |
|
|
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
|
|