aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes how  I can  add jsp file in Jbuilder? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "how  I can  add jsp file in Jbuilder? " Watch "how  I can  add jsp file in Jbuilder? " New topic
Author

how I can add jsp file in Jbuilder?

Robin Zhang
Ranch Hand

Joined: Apr 11, 2002
Posts: 139
how I can add jsp file in Jbuilder?
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
There is no need to add jsp pages to JBuilder. It does not offer much in terms of development support for JSPs (no IDEs really do). If you really want to add them though, create a new folder in your JBuilder project and then right-click on the folder and select Add Files/Packages. Browse for your files and there you go.
You will need to create multiple folders if your JSP pages are located in separate folder like they should be.
This is a poor point in most IDEs.
HanMing Low
Ranch Hand

Joined: Oct 18, 2001
Posts: 196
Hi,
Not too sure what do you mean by add a jsp in JBuilder.
But if you thinking of JSP development, then you can create a Web Application, then add a JSP page to the webapp.
In this way, you can deploy the whole webapp to your webserver e.g. Tomcat.
Hope this helps.

Han Ming
Robin Zhang
Ranch Hand

Joined: Apr 11, 2002
Posts: 139
Actually I want to put petstore1.1.2 in jbuilder and run it in Weblogic. The problem is , after I created a webApp, I could not add existing JSP files in my webApp. If I use "Add File/Package", it add my JSP files under project ,not under webApp-root directory.
Another problem, how can I set up weblogic in Jbuilder? I changed application server to weblogic in "enterprise setup" and "project properities".But when I builde my EJB, I got error:
-------------------------------------------------
"NumberGuess.jpx": Invocation Error. Check your CORBA configuration using Tools | Enterprise Setup... | CORBA. Also check IDL settings on the Project | Project Properties | Build | IDL page"
------------------------------------------------
I think I need to config the "CORBA configuration". Because I do not have Borland Enterprise AppServer installed , I need use weblogic instead. How can I do that, please advise.
HanMing Low
Ranch Hand

Joined: Oct 18, 2001
Posts: 196
Hi,
The problem is because that your Enterprise Setup for Weblogic is not configured properly I think.
Goto Tools | Enterprise Setup | Application Servers | Weblogic 6.x
Have you filled in those entries?
I'm not sure about Weblogic, so, if it need, you may have to fill in the CORBA setting tools by creating a new entry for it.
Hope this helps.
Han Ming
Robin Zhang
Ranch Hand

Joined: Apr 11, 2002
Posts: 139
thanks Han Ming, I sloved the problem. I deployed a simple EJB and run it successfully. But I got another problem. I was trying to make a simple jsp which I made using jbuilder to run in Weblogic , but I got errro message. I do not know why, can you tell me why?
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
This has been mentioned before but it is best not to build your entire application in an IDE. A build tool such as ANT serves that purpose much better.
Use the IDE to write your Java classes, use ANT to build your project. All the fancy wizards in IDEs do is take control away from the developer and make it harder to debug errors.
Robin Zhang
Ranch Hand

Joined: Apr 11, 2002
Posts: 139
chris, thanks for the advice. I think if I can make it work, It will be very convenience.
My problem is that I can not deploy a simple jsp webapp to the weblogic from jbuilder or from the dos command line. Mybe the DD file is wrong, I am trying to figure and at the same time I can study jbuilder and weblogic.
[ May 22, 2002: Message edited by: Robin Zhang ]
HanMing Low
Ranch Hand

Joined: Oct 18, 2001
Posts: 196
Hi Robin,
What's your error?
How do you add the jsp to your project?
Cheers.

Han Ming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how I can add jsp file in Jbuilder?
 
Similar Threads
JBuilder & SUN J2EE server
Developing Servlet using JBuilder 6
JBuilder 6 and custom tag-libraries
How can I format my jsp code in jbuilder??
jbuilder how to add a jar file in class path