Welcome to Dream.In.Code
Become a Java Expert!

Join 149,493 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,332 people online right now. Registration is fast and FREE... Join Now!




include a jsp code in java

 
Reply to this topicStart new topic

include a jsp code in java

amooola
26 Mar, 2007 - 01:36 AM
Post #1

New D.I.C Head
*

Joined: 14 Mar, 2007
Posts: 9


My Contributions
Hi

i am using Sun Java Studio Creator to build a project

and i want to include a specific jsp code to it

can i do it??

and if i can how could i??

thanks
User is offlineProfile CardPM
+Quote Post

spullen
RE: Include A Jsp Code In Java
26 Mar, 2007 - 12:40 PM
Post #2

D.I.C Regular
Group Icon

Joined: 22 Mar, 2007
Posts: 330



Thanked: 1 times
Dream Kudos: 50
My Contributions
I don't know Sun Java Studio Creator, but you can probably make a JSP project and then add your files to that. If you're asking if you can add the JSP page to an existing java program that you are writing I don't think it can be done. If you could clarify exactly what you want to do that would be good.
User is offlineProfile CardPM
+Quote Post

ajwsurfer
RE: Include A Jsp Code In Java
26 Mar, 2007 - 09:06 PM
Post #3

D.I.C Regular
Group Icon

Joined: 24 Oct, 2006
Posts: 298



Thanked: 2 times
Dream Kudos: 50
My Contributions
The way I like to get this sort of thing done (it might be the only way) is to build a build.xml file that works with Ant to take all the files from the source and lib directories and build a distribution directory structure. This can easily include building jar files and a war file.
User is offlineProfile CardPM
+Quote Post

amooola
RE: Include A Jsp Code In Java
27 Mar, 2007 - 09:24 AM
Post #4

New D.I.C Head
*

Joined: 14 Mar, 2007
Posts: 9


My Contributions
Hi,

thanks for the replys

but what i mean is that i am going to build a website using java but i also want to include a jsp calender to it.

i don't want to use a java calender because i want something little advandce for my project.

i have the project and the calender code by jsp and i want to make them work together

can i??
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 05:46PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month