cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Java app using NWDS with tomcat

Thiruvengadam
Explorer
0 Kudos

Hi all,

I need to create a web application (HTTP) that will take 2 parameters and then call an RFC in SAP with those parameters. We have a Tomcat server that is currently used by another team for publishing some Bobj reports. I think it should be possible to use Netweaver Dev Studio to write some Java program and publish to the Tomcat server 6, since it is basically Eclipse. I have a basic idea of developing Java apps, but am a novice with web applications. I have worked on NWDS for some Portal apps I guess I have to create some jsp, but it is totally new to me. Can someone give some tips on how to proceed?

1. How to write a Java program and publish it as a HTTP page on the Tomcat server version 6?

2. Is NWDS a right tool for this purpose?

Regds

Thiru

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member207744
Contributor
0 Kudos

Hi Thiru,

You have to create web project to pass the value. It's simple

File-> New-> web project-> enter name and Finish.

Create jsp file under web project and design it as per your requirement.

Either export the web project as war file and deploy it in tomcat or configure tomcat server in nwds and publish the war file.

If you are following first step, pls note you have to place war file under webapps to run your application

For example: D:\apache-tomcat-7.0.39\webapps\test.war

To run application, url will be like this http://host:8080/test

host : it may localhost or ip address of the tomcat server.

Hope it helps.

P.S: Yes, you can use NWDS for this purpose.

Regards,

Sriram.V