Loading images in Forte 4J CE

253 byte By vivek_nari at 2007-11-25 17:01:18
When i load an image to an applet using Forte for Java CE 4 and run it ,the applet crashes giving an error message saying access denied to the images.How can i add images using Forte and make it run properly because i want to program games

Loading images in Forte 4J CE

183 byte By vivek_nari at 2007-11-25 17:01:20
Whenever I load an image into a JApplet using Forte for Java CE 4 and run the Applet an error occurs Telling access denied to image .How can I stop this problem .

add driver oracle8I

302 byte By Esbrabow at 2007-11-25 17:01:33
Hi I am trying to add the driver of the Oracle8i, they put I don't get. in the window /runtime/databases/drivers has all the drivers, but the one of the oracle doesn't work .I already downloaded driver of Oracle in the site of the Somebody can help me ...

How to change classpath when the programs compiles

522 byte By CSJakharia at 2007-11-25 17:01:36
I have used a JavaBean JCalendar.When I try to add it in the Forte by using option Tools->Install New JavaBeanBut it throws an Errorthat it does not have Java-Bean=True attribute in JAR manifest.I had downloaded JCalendar from a siteNow I want to use the JCalendarBut the problem is where to ...

problem running JSP pages

340 byte By zapnsr at 2007-11-25 17:01:44
Hai we are trying to execute JSP pages using Sun Web server, but when we start executing the JSP pagesthe Sun Web Server starts but the browser does notstart.But when Tomcat is the default web server, the browser starts and the page gets displayed.Any clues ? thanksSurya ...

how to run sscript shell with java program

318 byte By mipstn at 2007-11-25 17:01:45
Hi everybody,i want to know how can i do to execute a script shelle (bash) with program java (if it s possible)for example this script:#!/bin/bashecho "hello"can i run it with java program or i have to make dome modifications .thank you for your help in advance. ...

Whow to get a new recordset

1047 byte By peter_ax at 2007-11-25 17:01:46
I am trying to devlop a web appliction, which is searching people in a Database by name. After I havefound one ( with a parameter to the rowset) I can't seta new parameter to the same recordset and refresh the data table.How to do it?here the code: ...

Difficulty deploying

332 byte By clogon at 2007-11-25 17:01:48
Hi All does anybody know how to access a deployed module (as jar) from an ejb component (mostly session bean and cmp)? I have big ear file, that is not getting deployed and I am looking for way to spread the deployment. The main client is a Swing component. I dont see any documentation about ...

JSTL URI Problem

479 byte By ogaard at 2007-11-25 17:02:06
Hello,I am attempting to compile a JSP using JSTL and am receiving the following:CDShopCart/ProductList.jsp [-1:-1] This absolute uri ( http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application.I have imported the JSTL tag library JAR ...

CVS Resolve Conflicts errors

495 byte By BrettRobertson at 2007-11-25 17:02:20
Hi,I am using Sun One Studio 5u1 and external CVS v1.11.15 client on a Windows XPSP1 platform. Whenever CVS puts a file into [merge conflicts] status, when we use the Resolve Conflicts tool, Sun One brings up a dialog saying "No merge conflicts found".At this point, I need to delete the files ...

Unable to install and also unable to uninstall

375 byte By accawi at 2007-11-25 17:02:38
I am trapped in an infinite installation loop. Well, not exactly.I am unable to re-install my IDE and relevant servers. The log indicates that the installation is being skipped because the studio, etc. is already installed. I have tried cleaning the registry, and everything. Where is this ...

convert war file into a directory

830 byte By ahsenullah at 2007-11-25 17:02:41
Hi,I am running weblogic 8.0 and deploying a war file for my application. Whenever i need to update any changes in the war file i have to delete the war file and then redeploy the new war file. This process doesn't seem very effective because i need to do the same even if theres a small change ...

JFrame Setting

192 byte By moja at 2007-11-25 17:02:53
I am new to Sun Java Studio I want to know how to use the Items in GUI and how their properties are set and implemented in the Code.Items like JFrame, JButton, etc.

Applet notinited No ClassFound Error

1341 byte By tsuresh at 2007-11-25 17:02:55
hiI am using EspressReport for charting. I need to display the chart on Applet. I wrote a program to display the chart on Frame, it displays the chart perfectly. While trying to get on Applet, it gives error:java.lang.NoClassDefFoundError: quadbase/util/IResultSetat ...

Scrolling thru recordset

619 byte By joe.s at 2007-11-25 17:03:02
New to Creator/JSF, coming from Studio/JATO.Have simple form with two Text Fields bound to the PERSONID and NAME fields in the PERSON table. Also have two Buttons, one for going to the next record, one for going to the previous.Form renders fine with first record.What do I have to do get the ...

Passivation questions!

2192 byte By DanielChai at 2007-11-25 17:03:08
I wrote a stateful session bean and a client to test the passivation and activation. In the bean class, I added some debug messages in the ejbPassivate() and ejbActivate(). Then I changed the sun-ejb-jar.xml to limit the max cache size to 2 and I created 3 beans in the client code.The following ...

Newbie - Insert/Update Sql Records

198 byte By Cutback at 2007-11-25 17:03:12
Is there a good overview available somewhere that I can see the code necessary to insert/ update MSSql records? The selects and data vieing is simple, just need the next step.Tx

Using static HTML templates

10140 byte By ctellez at 2007-11-25 17:03:13
Our team and I work our web-applications in Visual Studio 2003. We have a HTML designer who creates all the pages using DreamWeaver and MS-FrontPage. Then as soon as he give us the HTML template we start coding internally the programming.I like the new working model of Creator and we need to ...

Creating menus...

69 byte By mmanske at 2007-11-25 17:03:18
Is it possible to create a menu directly from the IDE ?

FacesContext.addMessage question.

1578 byte By vgrama at 2007-11-25 17:03:23
Hi,I want to do the following: on one page I ask for a confirmation code. If the code is not the right one I want a message to appear on the same page and the user be given another try.I tried this: when the button to submit the code is clicked the event handler checks the code and if it's not ...

Help with Master-Detail implementation

578 byte By Marco.Gambini at 2007-11-25 17:03:27
I'd like to create one table with summary info with each row linked to the details about the items in that row. How can the application figure out which master table row the user selected and make the corresponding details available for display? I tried the example provided in "Accessing DB ...

Event handler run before render ?

939 byte By vgrama at 2007-11-25 17:03:31
Hi,I would like to do the following: on some pages I want to have some components displayed for all users while some other components to only be visible if the user is authenticated.In general how can you dynamically select what to display from a page ?If it is the first time the page is loaded ...

Creating JAR of an ejb from sun one studio 5.0

1314 byte By charly at 2007-11-25 17:03:35
Ive got the following error when Im trying to generate the jar of and ejb from sun one studio 5.0. Whats the problem?org/w3c/dom/Document.java [0:0] No file named org/w3c/dom/Document.java exists on disk in src.zip.Therefore it may not be compiled with an external compiler.You may need to check ...

Perhaps Java Studio Standard

470 byte By ogaard at 2007-11-25 17:03:42
Hello All,I've been playing with Java Studio Enterprise, but am now considering the Standard version. I would like to move into J2EE development on a J2EE compliant app. server (considering Sun's Platform or Standard edition app. servers). With this in mind, which IDE, Enterprise or Standard, ...

How to view records from database

319 byte By A@K at 2007-11-25 17:03:44
Hi!I would like to display records from database in 4 columns and as many rows as needed.First three columns would be values from database and the fourth would be a button.How can I make this? I dont want a static table. I need something like iterate in struts.Thanks!!! ...

xml-xsl transformation

702 byte By narendaveraj at 2007-11-25 17:03:46
This is a issue releated to transforming an input xml to output xml by applying xsl.when an attribute in an xml element contains an "(double quot)it is represented as ".When xsl is applied to it to generate an output xml which represents the data as an element value rather then attribute ...

Hello everybuddy

549 byte By denFly at 2007-11-25 17:03:47
I am a new user at this Sun Java Studio Creator dedicated forum. A long ago I joined .NET community for C# language's beauty that was gifted by Java and ASP.NET's great great Web Control concept ( Server side components that render their HTML interface and keep track of it )Now I see both on ...

Problem on starting deployment server

225 byte By denFly at 2007-11-25 17:03:48
Hello,When I try to compile and deploy my application in Creator studio, progressbar stops at near end and a message says that server started but ping was not successful.Can anyone help me on this?

Problem testing jsp - creating webmodule

463 byte By threshold_j_toth at 2007-11-25 17:04:00
I have created a webmodule according to the tutorial guidelines.Everything seems to deploy fine, but when I try to execute my jsp nothing happens.The tutorial mentions that I should start Sun App Server 7, which I did.But when I try to execute the Tomcat server starts.I am not sure what I am ...

Same problem unable to start the Java Application server in java Studio cre

1595 byte By shaileshraj at 2007-11-25 17:04:05
I am facing the same problem i.e. unable to start Java Application Server in Java Studio CreatorThis is some lines of server logSever log size is very big.Caused by: (PEMain.java:172)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at ...

What is default user is password for admin console

191 byte By shaileshraj at 2007-11-25 17:04:10
Hi I wanted to open admin console in Java applicaion server of Java Studio Creator. I dont know what is userid password. Can anybody tell me ?ThanksShailesh

Data from table is getting displayed in listbox component

661 byte By shaileshraj at 2007-11-25 17:04:12
HiI have attached one table to listbox through rowset. On the design page it is loooking fine (displaying abc on design page) but when I am running the application then following exception I am getting.Description: An unhandled exception occurred during the execution of the web application. ...

how to call java applet in html without having jvm on client .

358 byte By nic_trainee at 2007-11-25 17:04:21
hello,i'm calling applet in html using <APPLET> & <PARAM> to pass params. Now my client don't have JVM installed on his windows-xp. So it loads html page but while loading applet it asks to install JVM.Is there another method thro' which i can call applet without having JVM ...

Deployment Error

269 byte By Carinac at 2007-11-25 17:04:22
My datasource is MySql. When I try to deploy the application I get the following error:javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: Error in allocating a connection. Cause: nullWhat am i doing wrong?

Connection object is null returned

803 byte By shaileshraj at 2007-11-25 17:04:26
Hi, I have created a datasource in Server Navigator for MySql database. Also in Admin Console I have given a JNDI name to this datasource. I am using this JNDI name. Application is able to lookup for this JNDI name but unable to get connection object. I am getting this exception while ...

How to create javascript in the creator?

80 byte By eric at 2007-11-25 17:04:49
How can I create clientside validation using javascript functions.

New Bee Java Server Faces Question

898 byte By kpaxian at 2007-11-25 17:05:02
Hi All!I have an application which is written by a vendor.Had a requirement to change link in the application so i figured out html coming out from a jsf page..so i made the change to the jsf...the change didn't reflect immediately ...i am running iplanet web server .. i did restarted the ...

Adding an Existing Servlet to a Web Module

522 byte By threshold_j_toth at 2007-11-25 17:05:04
Does anyone know how to do this?I don't see what I am supposed to be seeing when I following the instructions from IDE's help section.The help says to copy the class file using the explorer to the class folder under the web modules/inf. It says choose paste and a confirm changes dialog box ...

Show an image in datatable and gridpanel!

1109 byte By marcomangiante at 2007-11-25 17:05:08
Hello,say I want organize my site with table, so I create a header orizontal table and two vertical table (one much more big than other). Because I am novice, I don't know if is better to use datatable control or grid control. I see in various sites that they use in html the table but I don't ...

Servlet loading on startup

476 byte By nhpg at 2007-11-25 17:05:10
Hello!I'm developing a web app that needs to perform periodical actions. So, I created a servlet that is loaded on startup, which calls a class that implements Timertask, named FileProcessTask.FileProcessTask is working fine, but when it is called by the servlet, I get an error indicating that ...

InitialContextFactory

253 byte By nhpg at 2007-11-25 17:05:11
Hi!I need to invoke EJBs in a Sun AS Application Server 7 but I don't know what the InitialContextFactory class is. I also don't know the url I have to pass to the initial context...Does anyone know?Thanks in advance

Problem in starting deployment server

5676 byte By den2Fly at 2007-11-25 17:05:12
Hello and hope all are fine,I know I have already started a thread for this issue, but as it is almost urgent for me I have to post another thread again:While trying to start my deployment server progress bar stops advancing and a message indicates that the server is started but could not be ...

Get ID from selected row in data table

231 byte By A@K at 2007-11-25 17:05:15
Hi!Does someone know how to get ID from row on which I click a button or link?getRowData() doesnt work!Or any other method in jsp or just something to get the ID from selected row?Thanks!!!

No action when submit a form with a dropdownList

8343 byte By angeldiazmarti at 2007-11-25 17:05:16
When I put the dropdownlist the code of the method button1_action() not run, if I delete the dropdownlist it run public class Test extends AbstractPageBean { private HtmlForm form1 = new HtmlForm(); public HtmlForm getForm1() {return form1;} public void setForm1(HtmlForm hf) {this.form1 = hf;} ...

Install Windows Offline Installation, Multi-language (j2sdk-1_4_2_04-window

261 byte By Rodrigo_Uzeda at 2007-11-25 17:05:26
Hi,I want include in DOS Sistem to use the code JAVA.When I install , I don't have problem, but when I compile the class the answer is "The Comand javac do not exist".The question is: I need intall other product?Thanks

AppServer 8 fails to start: ping failed

2268 byte By MSDCMark at 2007-11-25 17:05:29
I have spent the last two days with my laptop at home working with the JSC. I have worked through all the tutorials, and everything works great!... At home...I get to my office this morning, and now JSC will not work - the AppServer will not start.We have a firewall, but port 4848 is not being ...

Software Registration

378 byte By kmbarz at 2007-11-25 17:05:30
I just got the Sun Java Studio Standard 5 Update 1 as part of the JDS release 2 download on the developer tools disk. When I go to register, it's prompting me for a serial number and won't let me proceed without it. Can't seem to find one in the product and don't recall it being mentioned ...

Code sample for inserting row into table

239 byte By shaileshraj at 2007-11-25 17:05:32
HI,I am devolping one application using JSC. I have to insert row into a table by reading the data from form. Can anbody provide me running code sample? I tried but the code is not working.Thanks Shailesh

JSP can't find servlet

845 byte By threshold_j_toth at 2007-11-25 17:05:35
I have deployed two web modules, one for the jsp's and one for the servlet. I have no problem calling up the jsp's.I am getting the following message when the jsp tries to call the servlet via post.[24/May/2004:16:00:58] WARNING ( 344): for host 127.0.0.1 trying to POST ...

Talk to Us

335 byte By joe4sun at 2007-11-25 17:05:36
Have you taken the Developer Survey? You can help shape the future of the Sun Developer Network by completing the survey posted on developer.sun.com, Right Nav Bar, under 'Talk to Us'. We're considering new membership offers and we'd like your ...