Java 101?

Is there a simple way to learn how to post my instructable?  I used the simple set up and want to have more (pages, fancy lines, etc.)  Is there a template I can use?  I'll bee Thanks, Gracias, Xie Xie!

Question by jenengjen   |  last reply


java project

Hi...i'm a final yr computer science student n looking for some good topics for my final yr project in java.....i wanted some unusual then the normal company inventory or payroll system...please help me wid some topics n briefing abt it too.. thank u

Topic by vrunda.deshmukh   |  last reply


More Java problems!

I'm trying to make a simple program that will display a different text, depending on the day selected by the user. When I run it, I get the frame, the label, and the combobox. I don't see the textarea(source attached), but that might just be the way it is. However, the combobox is supposed to determine the textarea's text with a Switch statement. But it doesn't do anything on any of the days. I'm pretty sure it just has something to do with how I'm implementing the textarea, as the rest of it is fairly straightforward.

Topic by metrogdor22   |  last reply


Java Script Links

Ok, I need to know this, but I am sure it will help the members of the community also. Ok, the thing is, my life would be easier if I knew how to look at the coding or something to tell which answer is right on this thing. I was thinking I could somehow get the code and find which one is right by looking at it. Thank You.

Topic by King825   |  last reply


ERROR 500 : java...

When i try to look for any tutorial. I get this problem>...ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10Exceptionjavax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._explore._type._instructablejsp._jspService(_instructablejsp.java:305) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.sendToJspPage(ActionServlet.java:253) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208) at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.TemporaryProFilter.doFilter(TemporaryProFilter.java:75) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:138) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:67) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:595)Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1114) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:309) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 32 moreCaused by: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:898) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:268) ... 45 more

Topic by asiuklis 


can you program on java ? Answered

I can't find javascript and I was wondering if there is a way to program on java because I have downloaded it about a thousand times

Question by jOker58   |  last reply



i am a java beginner can u help me with a couple of questions plz and if u know any websites to improve my jav?

1.      The company pays “straight time” for the first 40 hours worked by each employee and pays “time-and-a-half” for all hours worked in excess of 40 hours. You’re given a list of the employees of the company, the number of hours each employee worked last week and the hourly rate of each employee. Your program should input this information for each employee, and should determine and display the employee's gross pay. This program should allow the user to enter the information of many employees until he/she enters -1.   Sample run: Enter the number of hours worked (-1 to end): 39 Enter hourly rate of the worker: 10 Salary is $390   Enter the number of hours worked (-1 to end): 40 Enter hourly rate of the worker: 10 Salary is $400   Enter the number of hours worked (-1 to end): 41 Enter hourly rate of the worker: 10 Salary is $415.00   Enter the number of hours worked (-1 to end): -1 2. Write a program that reads a series of integers; a positive followed by a negative then by a positive and so on. Once the user enters two successive positive or negatives numbers, the program should stop reading integers and displays the highest and lowest integers entered. (assume the first integer should be positive) Sample run: Enter a series of integers (2 successive negative or 2 successive positive to stop): 56 -896 74 -12 9 -85 319 -202 9584 -5 -96 The lowest integer is: -896 The highest integer is: 9584 3. A number n is called deficient if the sum of its proper divisors is less than n. 8 is a deficient number because the sum of divisors of 8: 1+2+4=7. Write a program that finds all the deficient numbers which are less than or equal 100, display 10 per line. Sample Run: Deficient numbers less than or equal 100: 2 3 4 5 7 8 9 10 11 13 14 15 16 17 19 21 22 23 25 26 27 29 31 32 33 34 35 37 38 39 41 43 44 45 46 47 49 50 51 52 53 55 57 58 59 61 62 63 64 65 67 68 69 71 73 74 75 76 77 79 81 82 83 85 86 87 89 91 92 93 94 95 97 98 99 4. Write a program that keeps prompting the user to enter a character different than a digit. The first digit entered by the user stops the input and the program should then display the number of punctuations characters entered (one of this list ! . , ; ?). When none is found, display a message “Characters entered without punctuation”. Sample run1: Enter any character (a digit 0-9 to stop): a B , R x u ! @ . C W 2 The list you entered contains 3 punctuations signs. Sample run2: Enter any character (a digit 0-9 to stop): r T 0 No punctuation. 5. Write a program that prompts the user to enter two digits (d1 and d2) between 1 and 9. Your program should then generate an integer (n) starting with the smallest digit between d1 and d2 and containing all digits in between till reaching the maximum among them two. Hint: if the integers d1 and d2 are 5 and 2, 2 is min and 5 is max, the integer n can be generated as follow: 2-->2 * 10 -->20 + 3 = 23-->23*10-->230+4-->234*10-->2340+5-->2345 Sample run1: Enter first digit between 1 and 9: 5 Enter second digit between 1 and 9: 2 Integer generated is 2345 Sample run2: Enter first digit: 4 Enter second digit: 9 Integer generated is 456789  

Question by gougi88   |  last reply


java problem when logged in

Hello, i am getting this error when i am logged in (however it does occur sometimes when i'm not logged in): ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 Java is up to date. waiting for your answer, Algirdas

Topic by beholder   |  last reply


Best way to learn JAVA?

I already know a very small smidge(really not enough to say "know". More like I can read a Java program's source, and understand the difference between the methods, the classes, etc. and how they are used.)However, I don't know enough to write my own. I have a couple of books(Java for Dummies, and Sams Teach Yourself Java in 24 Hours), but they haven't really been much help to this point. Does anyone else know of a good book for learning Java?

Topic by metrogdor22   |  last reply


Java IDE Help With Code

Hey, i need help with a java code i just wrote up. Here it is: import java.awt.*; import javax.swing.*; import java.util.*; public class Main extends JFrame { public static void main(String[] args) {     JFrame gui = JFrame;   JLabel txt = JLabel("", JLabel.CENTER);   Random t = new Random();   int c;    for (c = 1; c <= 1; c++) {   gui.JLabel answer = new JLabel("");   Main();     gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     gui.setVisible(true);     txt.setText(t.nextInt(50));          }     } } Thanks.

Topic by nancyjohns   |  last reply


Major Java error on publishing

In trying to publish instructable, I've run into the same error twice. It seems to publish anyway, but the return screen has three navbars each down and to the right of the one before, and they're followed by: Please excuse me, that was very impolite! - javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/common/layout_editor.jspx': ServletException in '/pages/edit/share_body.jsp': Arguments to 'pdfURL' do not match expected length 2. Then there's the word Exception followed by a whole lot of error text. It must be in your log. I had a bunch of problems throwing errors with other stuff along the way, like adding image notes - which worked better in Firefox than in Chrome, though not flawlessly. Hoping I still get into the contests. Thanks.

Topic by susanrm   |  last reply



you probably can't post here at the moment but whats with the java error?? is it just me?

Java error...... I can't read posts not even this one!!

Topic by chaoscampbell   |  last reply


Major java error on publishing (2)

When publishing this instructable I the java error below. OS Ubuntu 10.04 firefox  3.6.15 . Running noscript and ad block +  too, but instructables.com is not forbidden.  Instructable otherwise publishes and works. javax.servlet.jsp.JspException: ServletException in '/common/layout_editor.jspx': ServletException in '/pages/edit/share_body.jsp': Arguments to 'pdfURL' do not match expected length 2. at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._edit._share__jsp._jspService(_share__jsp.java:69) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.sendToJspPage(ActionServlet.java:279) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.TemporaryProFilter.doFilter(TemporaryProFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:212) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:68) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:595) Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/pages/edit/share_body.jsp': Arguments to 'pdfURL' do not match expected length 2. at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120) at _jsp._common._layout_0editor__jspx._jspService(_layout_0editor__jspx.java:204) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 29 more Caused by: javax.servlet.jsp.JspException: ServletException in '/pages/edit/share_body.jsp': Arguments to 'pdfURL' do not match expected length 2. at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._common._layout_0editor__jspx._jspService(_layout_0editor__jspx.java:175) ... 42 more Caused by: javax.servlet.ServletException: com.caucho.el.ELParseException: Arguments to 'pdfURL' do not match expected length 2. at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120) at _jsp._pages._edit._share_0body__jsp._jspService(_share_0body__jsp.java:108) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 44 more Caused by: com.caucho.el.ELParseException: Arguments to 'pdfURL' do not match expected length 2. at com.caucho.el.StaticMethodExpr.evalMethod(StaticMethodExpr.java:123) at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:71) at com.caucho.el.Expr.evalStringNonNull(Expr.java:216) at _jsp._pages._edit._share_0body__jsp._jspService(_share_0body__jsp.java:91) ... 57 more

Topic by scraptopower   |  last reply


Error 500!!!

Why I get this: ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 when I login????

Topic by FoxmanLTU   |  last reply


Error 500 again

Sorry but I cant see answer to my previous question. It displays again the same error 500 page. Maybe you are so kind and post your answer to my e-mail: >inode AT operamail.com<. Thanks.

Topic by disposable 


Unreadable entry in Be Prepared Contest

The latest entry in the Be Prepared contest is entitled "How to Make A Grey Man Bug Out Bag". When I click on it, the text of the Instructable does not come up. Instead I get a page of repeating "computer-hash" that seems to be related to some kind of Javascript error. I know it's not my computer at fault, as I have tried to read this Instructable from two different computers. How can this entry be fixed?

Topic by ldmorgan   |  last reply


chatbot in sql?

Hi everyone my name is hanoo i'm eng. student i hope i am in right place to ask and Consult about my project first i want explain my idea i want make database for "GYM management system" and i want make interface by using php and html also when any  one open this side appears for user  small app. chatbot and this chatbot ask the user "hello in my side i am here to answer your q ,any Q do you have it you know about activity that is available here? than if the user say no the bot answer "ok,I'll tell you about 1>>>so on . the bots take information from the database so it work like quere . my Q is how i can link between those ? what is best language for make this kind of chatbots as you knew there is many language for build chatbots take ur acount i am engineer student and this project for 4 courses (database,Artificial Intelligence,html,php) this is my idea i hope it's clearly and still i have 2 week to present my project can any one help me and give me any project smiler this and any information or website I'm waiting for your advice and help thank you

Question by a7la nono   |  last reply


cant open pages of project steps

Often when i tryed to read all projects step i get an error which tells what I it can't loade page. here is the text which i get ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10Exceptionjavax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._explore._type._instructablejsp._jspService(_instructablejsp.java:305) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.sendToJspPage(ActionServlet.java:253) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208) at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.TemporaryProFilter.doFilter(TemporaryProFilter.java:75) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:135) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:66) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619)Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1114) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:309) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 32 moreCaused by: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:898) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:268) ... 45 more

Topic by benukaz   |  last reply


Java: install, and use an API? (SIGAR)

I downloaded the Sigar API for Java(http://support.hyperic.com/display/SIGAR/Home). I want to use it in Java, but I don't know how. After I've downloaded it, where do I put it? Is there a certain folder in my java JDK I need to put it?

Topic by metrogdor22   |  last reply


Communicating between a calendar file and Java?

Currently, I am trying to make a Java program that displays a daily school schedule based on user-defined courses and input from a calendar (an outlook/ical/google docs calendar with an event on every day corresponding to what day in the school's schedule it is) to determine what day of the school's rotating schedule it is. I have everything working except for the calendar input, which I am unsure of how to incorporate into Java. I found this: http://www.moyosoft.com/joc/, which would work, but it costs $289 for a basic version. Are there any cheaper versions of something like it, or any other ways to incorporate a calendar into Java?

Question by ALogan97 


Can you fix my Java code?

I have this. import javax.swing.JLabel; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import javax.swing.JFrame; public class WebViewer {   public static void main(String[] argv) throws Exception    {     URL url = new URL("http://www.youtube.com");     BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));     String str;     while ((str = in.readLine()) != null)     {       System.out.println(str);       JLabel textLabel = new JLabel(str); }     }   } I'm getting an error that says Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.youtube.com     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)     at java.net.URL.openStream(URL.java:1010)     at WebViewer.main(WebViewer.java:15) The code should be getting a url's content and printing it to the screen. I'm using youtube as a test. Can you help me?

Question by 4lifenerdfighter 


How can I have my Java program access a USB webcam?

I'm trying to develop a system that needs video input through USB. I don't know how to do this. I've seen OpenCV and Xuggler, but I don't know how to actually use them. I'd vastly prefer OpenCV. Or heck, maybe it's possible in "standard" Java. If anyone knows how to do this, that would be awesome.

Topic by 4lifenerdfighter   |  last reply


How come I can't get Java to install an old (necessary) version on my computer?

I have Windows XP on my laptop and subscribe to Pogo games. It came up with a "either you don't have java or it's not working" error message so I went and got 6u11 from Java, and that didn't work either. Their tech people told me to try and get java 6u7 on there instead because that works better with their games. I can't get my computer to open the file I downloaded for that version because it doesn't recognize the extension. Have tried to get their download manager to help and no luck. I'm furious and frustrated. Anyone who can help, please do get in touch. Thanks.

Question by jussa   |  last reply


Java bug when trying to read articles

When I am trying to read any article or If I get to open it and then, I try to comment it, I get this error and only when I am logged inside system :(ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10Exceptionjavax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._explore._type._instructablejsp._jspService(_instructablejsp.java:355) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:298) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208) at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:211) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:70) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:595)Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1114) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:239) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 27 moreCaused by: javax.servlet.jsp.JspException: Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:898) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._common._newlayoutjspx._jspService(_newlayoutjspx.java:198) ... 40 more

Topic by Deele 


Be Prepared Contest Entry Unreadable

Be Prepared Contest entry unreadable: Build A grey Man Bug Out Bag.

Topic by ldmorgan   |  last reply


Javascript not working

It seems the majority of java script pages on Instructables for me do not work. When I go to Submit > New Instructable > Yes I've read the tips the page doesn't go to the editor... When I go to "You" and then try view my unpublished Instructables, the webpage stays on the currently published ones only... Is this just me? Well I hope not, and I hope it gets fixed! ~K

Topic by Kryptonite   |  last reply


Programming

Just looking for some good Tech Resource books that go from basics to beyond.... Any help would be greatly appreciated.

Topic by Cheshir_monkee   |  last reply


TOTAL BUG

In _ANY_ page shows: ERROR 500: javax.servlet.jsp.JspException: ServletException in '/common/newlayout.jspx': Can't insert page '/pages/explore/newrightbar.jsp' : ISO-8859-10

Topic by zetas   |  last reply


What's wrong with my Android code?

I'm trying to write a simple Android app for my own personal use that gets basic Cpu and Memory information, but I'm only getting 1 error at the end that I can't figure out. The code is attached below, so if someone could be so kind as to show me what's wrong? I get the following error: Multiple markers at this line - Syntax error on token "+", delete this token - Syntax error on token(s), misplaced construct(s) On the last line: System.out.println(cpuInfo + memInfo);

Topic by metrogdor22   |  last reply


Error message received on Newly installed Android Studio 2.3.2? See below.

I just opened an instructable tutorial on " How To: Create an Android App With Android Studio to Control LED " and with a new install of Android Studio. I ran the build (make project) but I received this error message below: Error:A problem occurred configuring project ':app'. > failed to find Build Tools revision 21.1.2 Can you help me solve this error message as I am finding very little on the internet concerning this particular error message. Thanks David Lee

Question by dmenefee 


How To: Create an Android App With Android Studio to Control LED?

In this tutorial here: https://www.instructables.com/id/Android-Bluetooth-Control-LED-Part-2/#step1 it says to "Import the followings packages:" in the DeviceList class. My question is, HOW DO YOU IMPORT these packages? Does it mean to copy and paste somewhere the two code snippets: #1 import android.widget.Button; and #2 import android.widget.ListView; into the DeviceList class, it doesn't say.  While I am new to instructables I do have some background in C#,  C++,  and other languages and I certainly am familiar with the "importing" feature in many programs but I never heard of "importing" directly into code. Can you please help me understand what it means to "import" in the tutorial. Thanks David Lee

Question by dmenefee   |  last reply


HI! could someone please tell me how to make this code run?

Import javax.swing.*; import java.awt.event.*;     public class project9AlexandruMandache extends JFrame { private JPanel panel; private JLabel messageLable; private JTextField nameTextField; private JTextField addressTextField; private JTextField dateTextField; private JTextField rentTextField; private JButton calcButton; private final int WINDOW_WIDTH=500; private final int WINDOW_HEIGHT=400; public project9AlexandruMandache(){   setTitle(" Input tenants information");   setSize(WINDOW_WIDTH, WINDOW_HEIGHT);   setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);   buildPanel();   add(panel);   setVisible(true); }    private void buildPanel() {    messageLable=new JLabel("Enter name of tenant:");    nameTextField=new JTextField (25);    messageLable=new JLabel("Enter proprety address:");    addressTextField=new JTextField (25);    messageLable=new JLabel(" Enter Date:");    dateTextField=new JTextField (25);    messageLable=new JLabel(" Enter rent:");    rentTextField=new JTextField (25);    calcButton=new JButton(" Save to file ");    calcButton.addActionListener(new CalcButtonListener ());    panel=new JPanel();    panel.add(messageLable);    panel.add(nameTextField);    panel.add(addressTextField);    panel.add(dateTextField);    panel.add(dateTextField);    panel.add(calcButton);   }     private class CalcButtonListener implements ActionListener{     public void actionPerformed (ActionEvent e){         String input;                  input=nameTextField.getText();                  input=addressTextField.getText();                  input=dateTextField.getText();                  input=rentTextField.getText();     JOptionPane.showMessageDialog(null, input);    }   }      public static void main(String[]args){      new project9AlexandruMandache(); } }

Question by alexman027   |  last reply


ERROR 500

ERROR 500: javax.servlet.jsp.JspException: ServletException in '/pages/forum/forum_layout.jspx': Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10Exceptionjavax.servlet.jsp.JspException: ServletException in '/pages/forum/forum_layout.jspx': Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._forum._topicjsp._jspService(_topicjsp.java:72) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.sendToJspPage(ActionServlet.java:228) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208) at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:134) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:63) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619)Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1114) at _jsp._pages._forum._forum_0layoutjspx._jspService(_forum_0layoutjspx.java:230) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 30 moreCaused by: javax.servlet.jsp.JspException: Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:898) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._forum._forum_0layoutjspx._jspService(_forum_0layoutjspx.java:195) ... 43 more

Topic by zetas   |  last reply


ERROR 500

ERROR 500: javax.servlet.jsp.JspException: ServletException in '/pages/forum/forum_layout.jspx': Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10Exceptionjavax.servlet.jsp.JspException: ServletException in '/pages/forum/forum_layout.jspx': Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._forum._topicjsp._jspService(_topicjsp.java:72) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ActionServlet.sendToJspPage(ActionServlet.java:228) at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208) at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:48) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:134) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:63) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619)Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1114) at _jsp._pages._forum._forum_0layoutjspx._jspService(_forum_0layoutjspx.java:230) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) ... 30 moreCaused by: javax.servlet.jsp.JspException: Can't insert page '/pages/forum/topic_rightbar.jsp' : ISO-8859-10 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:898) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._forum._forum_0layoutjspx._jspService(_forum_0layoutjspx.java:195) ... 43 more

Topic by zetas   |  last reply


Are there any third-party Java tools for the Blackberry?

Is/are there any third-party Java SDKs or "compilers" that can be installed on a Blackberry; so BB source can be debugged/edited directly on the Blackberry? Thanks in advance.

Question by    |  last reply


Favourite Java-based mobile applications?

Having just got a Java-enabled semi-smart phone, I would like some (free) and good apps to go with it.. It is touchscreen (with no keyboard) so that might effect your app choice.. Something cool, maybe even useful. A media player would be good.. and a fun game.

Question by JavaNut13   |  last reply


Installing Java on a Tom Tom One GPS.

Hello, many of you will be familiar with the Tom Tom One GPS. I wish to run a program on the device that is written in Processing (which, I'm given to understand compiles to Java). My question therefore, is how would one go about getting the Tom Tom to run programs that are written in Java. Thanks in advance.

Question by alexhalford   |  last reply


Simple Java-based mobile phone text editor.?

Does anyone know where I can get a simple .txt file editor for a Java enabled mobile phone? Nothing fancy, just write text and save it. If I can find one.. Instructable coming soon. Note: this is not for an iPnone or Android, just a bog-standard java mobile phone.

Question by JavaNut13   |  last reply


Does any one know any good java / c++ / c# tutorials on the net?

I'm looking into coding, but no one happens to do a good tutorial! If some one could post one on Instructables that would be even better. Would any one recommend coding as a job for an up-coming member of society? (I'm not there yet.)

Question by Kryptonite   |  last reply


laptop controlled robot

So i want to make a robot with a wifi router and a usb webcam that i could connect to using a java program and controll it

Topic by The nerdling 


Program or script to change volume...? Answered

Another question that is way out of my league (woe is me).  I need (or rather want) a program, in either Java or VBs (if there's a better one like Python or something, that would be alright too) to change the volume of a Windows computer.  It would also be a good showcase of your skills to make it able to change the volume of a specific program or application.  The way I intend to use it is as if it were a function, rather than a program. So a different script will activate it (perhaps by writing it, which in Java I don't think is possible) and then set the volume and the program to change the volume of. If that can't be achieved, could it be made to read a text file (or something else) with two lines on it; the first the program, the second the volume. If the first line says something like none, It would change the volume of the whole computer. Hopefully I've given you a good enough description to make it clear exactly what to do. Thank you in advance.

Question by Prof. Pickle   |  last reply


ERROR 500: java.lang.RuntimeException:(what is this?)

Im not sure if this belongs here but when i tried to delete a comment it saidERROR 500: java.lang.RuntimeException: none of the thingId values was set, don't know what to add the comment TOExceptionjava.lang.RuntimeException: none of the thingId values was set, don't know what to add the comment TO at com.instructables.webapp.comment.CommentForm.load(CommentForm.java:148) at com.instructables.servlet.ActionServlet.fillFormBean(ActionServlet.java:282) at com.instructables.servlet.ActionServlet.process(ActionServlet.java:270) at com.instructables.servlet.ActionServlet.doPost(ActionServlet.java:137) at com.instructables.webapp.edit.EditServlet.doPost(EditServlet.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:164) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:70) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619)what is going on?and i'm sorry if i shouldn't have created this topic

Topic by ReCreate   |  last reply


Javascript help?

After figuring out how to use arrays and turning them into strings, I now need to do floating point operations with the variable. To first I created an array:      var = array1 = [];      var = array1value = 0; then, I add tack in numbers and operations when the right button is pressed, satisfying the corresponding if statement. if ( condition_1 = true){     array1.push(1); } if ( condition_2 = true){     array1.push(2); } if ( condition_3 = true){     array1.push(3); } //(you get the idea) if ( condition_A = true){     array1.push("+"); } if ( condition_B = true){     array1.push("-"); } if ( condition_C = true){     array1.push("*"); } if ( condition_D = true){     array1.push("/"); } (did you notice I had to add quotes to the operators? otherwise I get errors.) Anyway, then I proceed to take the data inside the array, and 'compress'  it into one string of characters. if (array1.length === 1){     array1value = array1[0].toString(); } if (array1.length === 2){     array1value = array1[0].toString() +                            array1[1].toString(); } if (array1.length === 3){     array1value = array1[0].toString() +                            array1[1].toString() +                            array1[2].toString(); } etc. you can see the pattern (also can anyone tell me how to convert all this redundant code into a nice for loop? I couldn't figure it out, so I just did the above all the way up to array.length === 13) Then finally, I make this appear as text on a output, and I can see the final value after pressing buttons and stuff, say, 534+902/21. So I would expect that if I save this in a new variable, that it will perform the math operation: except the new variable just returns the same exact thing: 534+902/21 var newVariable = array1value So I tried adding and subtracting some numbers from array1value, and the output of the newVariable is an error. I believe this is because although as text, array1value appears as 534+902/21, in actuality, it is *really*   534 + "+" + 902 + "/" +21. or maybe as "534+902/21." How do I force javascript to convert this back to 534+902/21? Also, please don't tell me to google it, or find java tutorials, I have already searched for half the day and don't want to watch 2 hour long videos on programming. 

Question by -max-   |  last reply


Importing JARs in Eclipse

I am trying to import a .jar into an Eclipse Java project for use with the import command. Once again, me and my problem-solving-skill derived self can't seem to figure out how to do it. I've done it before, but i just forgot.UPDATE:What feels like 2 seconds after posting this, I discovered I just had a Referenced Archive to the Build Path. I do really weird things sometimes.

Topic by puffyfluff   |  last reply


is it possible to program my BS microcontroler with python? what else can python do?

My computer science teacher was wanting to buy a set of robots. the boe-bot and the scribbler bot. All of us are really skilled in java. could they be programmed with that? He's more or less appointed me as his adviser to this venture, and i'd like to hear frome someone who's had some experience I'm also an arduino freak and i was wondering if python could have anything to do with that.

Question by mikemmcmeans   |  last reply


BOUNCE: original game (download here)

BOUNCEBOUNCEBOUNCE [download] BOUNCE is an original 2D platform style game built in Java. The game incorporates game elements like destructible terrain, 3rd person shooting, and puzzles, to provide an experience similar to such games as Mario and Minecraft. You, a lone circle in a world of squares, must make your way through 50 levels to save the galaxy from destruction. Along the way, you'll face laser shooting robots, parkour puzzles, and fire-breathing dragons. More information available at http://www.java-gaming.org/topics/iconified/27023/view.html.

Topic by supercapacitor   |  last reply


If I want to convert the number 2, 5, 7 into 257, and also do the inverse (257 to 2, 5, 7)? how do I do that in code?

If I want to convert the number 2, 5, 7 into 257, and also do the inverse (257 to 2, 5, 7)? how do I do that in code? I have considered using math to do this: 2, 5, 7;   2*100 + 5*10 + 7 = 257; but This will only work with numbers with X number of digits. I need to to work with a variable amount of numbers in an array or stored in separate variables. Also, I need to do the reverse, so how would I go about doing that? particularly in C, arduino, and Javascript.  If anyone wants to know why I need to do this, I am trying to program a simple calculator app in java, and I would find this useful with the arduino too. I am learning programming here, and this is currently the calculator app: https://www.khanacademy.org/cs/calculator/5724205359824896. It is not finished, but I got over 200 lines of code to draw out the buttons and screen, and make them interactive. I need a way to capture the presses of the buttons and store them in arrays that when an operator is pressed,  a new array is created with more numbers inside it and those numbers are joined together. 

Question by -max-   |  last reply


My Windows won't run Java or Minecraft?!?

Whenever I run Minecraft it will come up with an error message saying bad video driver and OpenGl and such. I deleted my .minecraft and got a fresh new folder without any mods and it didn't fix the problem. Also, when doing the Java check it won't run and when going on a game on Pogo it won't run and says I need to install Java. However that is only for Google Chrome but it WILL work on Internet Explorer. I have Java enabled as a plugin as well. Please help I have one more thing to say: Before this laptop was Windows Vista Home Premium. Now I upgraded it to Windows 7 Ultimate x32 bit and I did it for free from YouTube, Lol ikr. All was required was to mount the Ultimate to a virtual drive using PowerISO and to install Windows 7 and then to use a program called Windows 7 Loader by DAZ v.2.2 or something like that which would activate the key and before I activated it, it was already saying it was activated. Lol long story short, HOW CAN I FIX THIS? (Also my video driver crashes once in a while like 4 times a day in use and recovers XD). Please reply! :)

Question by knexpert1700   |  last reply