Is there way to make a page postback automatically for every 30 seconds?I am making a chat application that needs refresh for every 30 seconds. I failed by using <meta http-equiv="refresh" content="30"> it is reloaded by not change the value on output Text. but when I click submit button ...
I've tried the following code to insert a new row:loanRowSet.setConcurrency(java.sql.ResultSet.CONCUR_UPDATABLE);loanRowSet.setAutoCommit(true); loanRowSet.moveToInsertRow();loanRowSet.updateInt(2, userID);loanRowSet.updateFloat(3, amount);loanRowSet.insertRow();. The code compiles, but throws ...
Hello,I have three or four questions or clarification to know.. 1 ) When you create components in Creator, if you want assign the component's name dynamically then how will you do ? example. take TextField component. Some time your application requires to create dynamicall n number of ...
I have a set of jsf:s that I want to be available via the palette. How is this accomplished in JSC? (build 040429_2)(the help page in JSC is not implemented yet ;-)Any help is welcome!Thanks,/Tony
Hi My application contain two war files and one ejb jar file How can I package my application using the Sun One Studio in to a sigle ear file . I couldn't find the option to do this . Please help me Suneesh VR
Hello all,Creator follows any design pattern, If it is then what kind of design pattern it follows.Because it creates all the files and giving the developer luxury of drag and drop the component and do some alignment. Is Creator giving the flexibility to implement our own design patterns.Take ...
723 byte By
cwho1st at 2007-11-25 17:12:25
Does anyone have problems selecting component properties from Document Outline view?I was trying to do the tutorial on validators and converters. There was one section that we were supposed to modify the max and min properties of doubleRangeValidator1.In the tutorial there was no explaination ...
185 byte By
dfrach at 2007-11-25 17:12:31
I want to display these 2 columns in my HtmlDataTable: engineer.id and product.idBut table shows only engineer.id in both columnsAny sugestions?Thanks
I was working on the tutorial "Referencing Class Libraries". While trying to add an Output Text Component and do a Value Binding, I was unable to Select a binding expression target.The Value Bindings Dialog box came up as described in the tutorial. In the "Selected Component" the outputText1was ...
hi allI have been having problems calling the repaint() method from a function. the caller function has a loop . the repaint() method is called 5 times in each iteration. but for each iteration only the last repaint() is called. public void setAlgo1(boolean a){for(int i = 0 ;i < q ; i++){ ...
Components like DataTable have a background color property, but i can't figure out how to properly set it. I tried using java.awt.Color.GREEN, but that doesn't work.How do you specify color?
96 byte By
sn1357 at 2007-11-25 17:12:53
Any one knows what are the login ID and password for the Admin Console? Thank you.
Hello, The application we build using Creator, will it be compatible to be deployed in any other server like Weblogic, Websphere.Is there any changes needed before deploying to other server other than configuration files.Thanks
Hello,For better navigation and edit the values of Property window, you may need to move or resize size the window.This gives lot of proplem when you move or resize and taking your time more and will definely give irritation to developers. One of the main purpose of JSC is reducing the ...
390 byte By
friv9821 at 2007-11-25 17:12:58
Hi. 2 questions.1. Will there be a Sun Java Studio Standard 6. If so, when will it be released ? Uptil now Sun has released their app just after Netbeans release. Now it has been a couple of month since Nb 3.6, and no sign of a new Sun Java Studio Standard release.2. Are Sun Java Studio ...
513 byte By
thoffma3 at 2007-11-25 17:13:01
i wrote my own custom validator. But how can i use it in the studio creator. couldn't find a way to bin the validator to my component. if i look at the properties there is only a dropdown list with validator from the studio creator. It should be possible to edit this field to refer to my ...
Exception Details: javax.faces.el.PropertyNotFoundException Can't instantiate class: 'Can't instantiate class: 'untitled.Page1'.'.
i write application in chinese soft enviorment ,every time the jsp is saved,the encoding ="gb2312" was deleted ,so i have to rewrite again,it's not convenient!how could i handle above problem?can i configure the encoding content for all pages?thanks.
Hi ,I am using NetBenas 6.3 IDE for development, using that i dont know how to configure weblogic and how to debug the java files using the IDE.If anybody knows pls let me know.Thanks Balasenthilkumar
309 byte By
p3000074 at 2007-11-25 17:13:15
Hi! I have a question... Does anyone know, how can I save the html source code of a web page through java code? I want to do the following thing:1. give the url an get the html page2. save the html page source code -both functions should be in one class..Thanks a lot ...
i was able to control only one webcam through the FrameGrabber class using JMF.my application requires controllingtwo webcams placed at different positions.i need only one of them at a given moment but the point is that JMF doesnt detect two cams, it shows only one at a time where as both the ...
i was able to control only one webcam through the FrameGrabber class using JMF.my application requires controllingtwo webcams placed at different positions.i need only one of them at a given moment but the point is that JMF doesnt detect two cams, it shows only one at a time where as both the ...
2888 byte By
boci13 at 2007-11-25 17:13:40
Hi!I try to install creator to my computer with 1.5 Beta 1 J2SE.The creator installed because the application server is not.The install.log:(Jun 10, 2004 12:07:30 PM), Setup.product.install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, installing Files (bean46)(Jun 10, 2004 ...
* How to create a form that the post the values to the datbase. I am not able to find any tutorial regarding that.
So in the most basic (first exercise) jsp, it works fine, but; if I open another instance of IE and then return to the localhostpage (*.jsp) clicking the submit button causes the page to refresh to default values. It also takes 10-15 seconds for the page to update after clicking the submit ...
I have an application that has been deploying without problem it seems.I recently made some changes to my jsp and when I redeployed my changes don't take effect.I am using Sun App Server 7. I have all the web modules and application executing fine.Doesn't the IDE create class file for the ...
1087 byte By
nhpg at 2007-11-25 17:13:54
Hi!I am developing a web app that periodically needs to send some data to another app.I did this creating a load-on-startup servlet which invokes a TimerTask. So far so good.The TimerTask needs to invoke some classes which access the database and create an xml file with the fetched data. I am ...
Hi,With j2sdk1.5.0-beta2 installed under Sun JDS R1, the SJSS5u1 search failed to find a suitable J2SDK. Also, when specifying the home directory the studio shows a message stating that the specified J2SDK Home is invalid.Other applications that ship with JDS such as Jedit and the SDM were able ...
1. Are you able to drag existing page components into a grid/group component?2. Are you able to reorder components placed into a grid/group component?I have Creator build 040409.Any help is greatly appreciated.
Good day, I tried following the sample to populate a drop down list from a database but I'm having issues running it on Apache/tomcat. When running it on the sun app server it connects just fine to my SQL server but when I run it on my TomCat server I get this.....Exception Details: ...
1167 byte By
SueBob at 2007-11-25 17:14:18
OK, I figured out from other postings that if you add a databound dropdown to a page and you don't add a converter to the dropdown you'll generate errors when you try to do a dropdown1.getValue(). Adding a Message List to your page lets you see the error: "Validation Error: Value is not ...
I am trying to export my application to our sun server. I developed this app on my windows machine.When I try to export the ear file it is disabled.I then tried to create the build scripts from the tools menu by right clicking on my app.It allowed me to create the build scripts. After I created ...
Creator can't seem to resolve:import javax.servlet.*How do I fix this? Thx.
How does one distinguish the first time a JSF page is requested from subsequent times? For example, suppose I have an EditProfile.jsp w/ an Update button. The first time this is requested, I want to initialize the components from a DB. When the user edits some values and clicks the Update ...
The following panelGrid renders right-to-left. In other words:message | inputText | outputLabelinstead of:outputLabel | inputText | messageWhy?<h:panelGrid binding="#{index.gridPanel1}" border="1" columns="3" id="gridPanel1" style="position: absolute; left: 24px; top: 48px; width: 360px; ...
1664 byte By
dolbydoll at 2007-11-25 17:14:51
public String button1_action() {// Add your event code here...String pid = (String)textField1.getValue();String pnam = (String)textField2.getValue();String pjob = (String)textField3.getValue();String pfre = (String)textField4.getValue();try {//personRowSet.setCommand("insert into ROOT.PERSON ...
1664 byte By
dolbydoll at 2007-11-25 17:14:52
public String button1_action() {// Add your event code here...String pid = (String)textField1.getValue();String pnam = (String)textField2.getValue();String pjob = (String)textField3.getValue();String pfre = (String)textField4.getValue();try {//personRowSet.setCommand("insert into ROOT.PERSON ...
241 byte By
Grhhhhh at 2007-11-25 17:14:57
i can't install Sun Java Studio Creator with this message anyone can help me? "invalid jvm file name specified in LAUNCH. Invalid variable reference(Boy).Must use N or S as the variable type,e.g. N2 or S1."
141 byte By
nik_a at 2007-11-25 17:15:02
HiI'm using JConnect 5.5When I connected to ASA I can read DB structure,but I can't read content thid db
I am trying to simply format double as pattern #############.##, 14 integer digits, decimal separator, and 2 franction digitis. For some reason, second fraction digits formats as 8 instead of 9 in the code below. Interestintly, 13.2 format pattern works fine. Please, somebody enligthen me.// ...
446 byte By
devvi_v at 2007-11-25 17:15:20
i have one interface and two classes all in the same package. am getting " cannot resolve symbol", when the code refers to the interface or the class . the package name is collections.impl and the directory i used to store all the java files:c:\jdk\bin\collections\impl.isthere any othe option ...
Recently I had a runaway app server trying starting domain1. The server log kept filling up. Come to find out that one of the web-module placements did not have a context-root (context-root="something").Ie. Bad XML.<web-module enabled="true" location="C:/Documents and Settings/snelson/My ...
Hi. I have a big problem. I making some changes to a program and I need to be able to maximize the windows, but the dialogs and frames layouts are set to null, therefore when I maximize a window, nothing gets maximized.... Does anyone know how to fix this?thanks for your help!!Daniel ...
442 byte By
sunratna at 2007-11-25 17:15:56
Hi guys,I have created a simple portlet displaying "Hello" string. Whenever I am trying to Simulate the Portlet application I am getting "HarnessPortletProvider" and the error is "Error in provider method getContent(): com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): ...
Good day,I need to use a different jdbc driver for my app then the one sun provides and I saw a few post that said the JTDS from sourceforge worked with Studio Creator. However, I'm having a little bit of trouble getting it to work. I created a new Servertype and add the jar file in the ...
5083 byte By
antonkv at 2007-11-25 17:16:12
I'm learning, but I havent been able to find much information on this problemI have a JTable, that I use to store data, and dynamically change it with ActionListeners modifying cells as buttons are pushedThe CellEditor and CellRenderer that I have used are at the bottom if that is important ...
624 byte By
rjsaul0 at 2007-11-25 17:16:29
Hi, I've downloaded the trial version of Java Studio Standard 5 IDE and have bypassed the version hooks to load it on Fedora Core 2. It's get past the questions but hangs after pressing "Next" on the "Select the components" page. Any solutions, I don't want to hear, use Java Desktop or ...
227 byte By
zhou01 at 2007-11-25 17:16:32
Does anyone know where is this log and how to open it? I know where is the server.log but not this one while the Deployment process gave an "ping failed" error and said to check the ide.log.Thanks,Yi
14167 byte By
Manoj_Sun at 2007-11-25 17:16:38
I have my application running on tomcat 5.0.25 with context root as /wbs/* now wbs map to WBSServlet which axpects argument as template/home.vm now i have mapped Velocity files to /content/velocity and jsp files to /content/jsp. i am getting all my files view properly. When i try to exetute jsp ...
502 byte By
accawi at 2007-11-25 17:16:46
for a number of reasons, i am creating a web service by defining the xsd types and wsdl first. i am using sun java studio enterrprise 6 2004Q1. everything is fine for my first step, which is i right-click on the wsdl, and create new web service. next, is my problem. when i then right click on ...