Skip to main content

Where to place Jsp files in GlassFish Server ?

4 replies [Last post]
mrharishpathak
Offline
Joined: 2012-12-12
Points: 0

Hi All,

Please tell me where to place JSP fiiles in GlassFish Server ?
I want to run JSP and SERVLET in GlassFish Server.

Also how to run GlassFish Server ?

Please answer as soon as possible

Thanks in advance.

Harish Pathak

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Torchaves
Offline
Joined: 2013-09-13
Points: 0

I'm also looking forward on that. Thanks.
buy real instagram like

Roel_D

Asuming you have some kind of devopingtool like eclipse for your project, let it create a WAR file.

Drop this war in the autodeploy directory or via the adminportal at port 4848 or with the commandlinetool asadmin.

It will deploy and "install" the jsp's in a subdirectory of your domain (domain1 is standard)
The you can navigate to http://servername:8080/warname and the files will be interpreted.
After that goto the http-listener section in the admin-portal and create an internet domainname for your project and let the http listener point directly to the war directory.

This was a quick-and-dirty howto. Read online documentation further.
Over and out, closing intercom...
The out-side

Op 12 dec. 2012 om 19:58 heeft forums@java.net het volgende geschreven:

> Hi All, Please tell me where to place JSP fiiles in GlassFish Server ? I want
> to run JSP and SERVLET in GlassFish Server. Also how to run GlassFish Server
> ? Please answer as soon as possible Thanks in advance. Harish Pathak
>
> --
>
> [Message sent by forum member 'mrharishpathak']
>
> View Post: http://forums.java.net/node/893167
>
>

mrharishpathak
Offline
Joined: 2012-12-12
Points: 0

Hi,

Thanks for your reply.

Well I have not install Eclipse.

Simply I have install "Java Platform, Enterprise Edition 6 SDK Update 4 (with JDK 7u7)" from website "java.sun.com".

With this "GlassFish server" is also install.

The directory structure is as:

D:\Java
Inside "Java" directory the following is installed >>>>
-------------------------------------------------------------------
"bin" directory
"glassfish" directory
"install" directory
"javadb" directory
"jdk7" directory
"mq" directory
"pkg" directory
"updatetool" directory
"var" directory

-------------------------------------------------------------------
Please reply as soon as possible.........

Thanks

Harish Pathak

kumara
Offline
Joined: 2004-12-03
Points: 0

Please refer to GlassFish Server Quickstart guide for next steps. It should be available at D:\Java\glassfish\docs\quickstart.html in our installation or on-line at http://docs.oracle.com/cd/E18930_01/html/821-2432/index.html

The document will describe how to start the GlassFish server and then deploy and run an application.

If you want guidance on what is new in Java Enterprise Edition 6, you can look at the samples in D:\Java\glassfish\samples\javaee6 directory. If you would like an overview of Java Enterprise Edition, you can start with the tutorial at D:\Java\glassfish\docs\javaee-tutorial\doc\index.html