Link to home
Start Free TrialLog in
Avatar of Darshini_
Darshini_

asked on

new to JSP

I would like to know i i need to do web page using JSP.What software/web server that i have to use to.
Thank you. I'm new to JSP.
ASKER CERTIFIED SOLUTION
Avatar of debuchakrabarty
debuchakrabarty

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree.

Download tomcat (using the link above) or Resin (www.caucho.com)

read a tutorial and try some stuff out :-)

how to setup configure tomcat:
http://www.moreservlets.com/Using-Tomcat-4.html

I favor these tutorials:
http://www.jsptut.com/
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.html
http://www.jspin.com/home/tutorials

CJ
Avatar of Darshini_
Darshini_

ASKER

Can i use dreamweaver ultradev for this. Use IIS as server and dreamweaver ultdev as editor?
hai darshini,
        Since u r new to jsp, u can use jswdk-1.0.1 server.


u can download that from sun website.


There are some examples in the package itself. try those


to see the examples  http://127.0.0.1:8080 in the browser if the port number is 8080.
             
for further details contact me . i like to help u                                    


-Rajesh


Installing the jswdk 1.0.1 webserver:

1. Download the jswdk pakage from sun website

2. Extract the files to the location where you want to run the server

3. set the path to jdk pakage & it's bin directory
     eg:
     set path=c:\jdk1.3;c:\jdk1.3\bin;%path%

4. set the classpath to tools.jar in the lib directory of jdk
     eg:
     set classpath=c:\jdk1.3\lib\tools.jar;%classpath%

5. Edit the configuration file webserver.xml in the jswdk-1.0.1

     a) locate this line in the file
          port NMTOKEN "8090"
         and change to the desired port number
     

     b) If you want to store your jsp files in separate directory for eg. new
          (i) create a folder in the path D:\jswdk-1.0.1 and save your files in that folder
         
          (ii) include this line in the webserver.xml            
                  <WebApplication id="new" mapping="/new" docBase="new"/>
               next to
                    <WebApplication id="examples" mapping="/examples" docBase="examples"/>

6. if you want to use javabeans in ur jsp add the class path for the bean directory

     eg:
          set classpath=D:\jswdk-1.0.1\alumini\WEB-INF\jsp\beans;%classpath%











IIS won't support jsp. so u should use jswdk-1.0.1 or tomcat
debuchakrabarty , nimaig ,cheekycj , rajesh

Thank you very much.
hi darshini
 i don't understand ur language
  plz use english


rajesh
sorry darshini i thought debuchakrabarty , nimaig ,cheekycj  are some words ..




it's ok. Thanks a lot for the information and i will try to learn jsp but i think it wil take time.
hi darshini,
            If u know java ,it's very easy to learn jsp. i have learned it within 20 days. i am working on a jsp project now. if u r having yahoo messanger contact me at r_a_j_e_s_h_a@yahoo.co.in .  i like to help u


rajesh

r_a_j_e_s_h: EE does not allow handling of solutions to questions outside of this site b/c that is unfair to other experts trying to help and reduces the value of a question in the knowledge base.  Please keep all communications regarding this question on this site.

CJ
Avatar of girionis
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Split points between debuchakrabarty and nimaig

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

girionis
EE Cleanup Volunteer