Beginner SSL questions

I am still very much a beginner and this is my first time trying to set SSL up. I am experiencing some issues and I am not really sure what to do. I hope this is the right forum to post this.
When I go to https://xxxx.xxxxx.net/myContext my login index.jsp page displays however
1.) In IE it's not showing the page as secured(no lock).
2.) When I log in using valid credentials the url becomes http://xxxx.xxxxx.net:443/myContext/myServlet
and the page I expect to display doesnt. It only displays this:
3.) None of my stylesheets are being used.
When I go to http://xxxx.xxxxx.net/myContext my login index.jsp page displays perfectly and I am able to log in and do see the expected page.
Apparently I missed a step somewhere or just the obvious but how do I get my index.jsp to use SSL. Any help would really be appreciated. Thanks in advance
Crystal
SERVER.XML
<Connector port="80"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
<Connector port="443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile=".IRRS_keystore" keystorePass="thepassword"/>
STDOUT.LOG
May 4, 2007 11:20:38 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
May 4, 2007 11:20:39 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
May 4, 2007 11:20:39 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1031 ms
May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.0
May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 4, 2007 11:20:40 AM org.apache.catalina.core.ApplicationContext log
May 4, 2007 11:20:40 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
May 4, 2007 11:20:40 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-443
May 4, 2007 11:20:40 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 4, 2007 11:20:40 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=D:\Tomcat5\conf\jk2.properties
May 4, 2007 11:20:40 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1313 ms

Are you intentionally leaving a connector for port 80 open? If you don't need anything to be non-ssl enabled then you should comment out the port 80 connector and just have a connector for port 443. You should then be able to access any of your stuff via https://whatever/whathaveyou...
[edit]
this is an obvious question but you didn't mention it so just in case - you did create a self signed server certificate and import that into the keystore right? (or use a commercial certificate and import that and the CA chain into your trust store)
Message was edited by:
cjmose

Similar Messages

  • Beginner font questions

    These are some beginner font questions if someone has the time/patience.
    I've never paid much attention to fonts over the years, never installed
    any other than those that might have come with applications. Early on,
    15 years ago or so, I settled on Palatino and I've stayed with it for
    most docs (Word 5.1a and now Word vX) and often for other apps (Safari,
    Now).
    I just upgraded to Tiger (10.4.4) and I use Word vX.
    Questions:
    1. I gather from looking at Font Book that when I'm using Palatino in
    Tiger that OS X is getting it from my OS 9 System folder for Classic.
    It does not look like Palatino is in any other locations including MS
    Office vX. Does that make sense?
    2. I always thought that Palatino was a very basic, always available
    font. Not so?
    3. If I decide to stop using Classic, and I'm close to that time, can I
    transfer those fonts to OS X? If so, to which location is best.
    4. And are the same fonts used for printing and screen? In other words
    back in pre OS X days I thought some fonts came in screen versions and
    print versions but my memory is hazy on that. Not only that.
    Thank you for any education or links for info.
    Powerbook G4 Ti   Mac OS X (10.4.4)  

    1. I gather from looking at Font Book that when I'm
    using Palatino in
    Tiger that OS X is getting it from my OS 9 System
    folder for Classic.
    It does not look like Palatino is in any other
    locations including MS
    Office vX. Does that make sense?
    That's correct.
    2. I always thought that Palatino was a very basic,
    always available
    font. Not so?
    It seems to be out of favor.
    3. If I decide to stop using Classic, and I'm close
    to that time, can I
    transfer those fonts to OS X? If so, to which
    location is best.
    Yes, you can just put it in Users/username/Library/Fonts (or Library/Fonts for all users).

  • Beginner's Questions

    As a really new beginner for BEx, I would like to ask you guys some basic questions.
    1) I have a problem with designing a query to serve our requirement.
    Fiscal Year       Accounting Num.        Amount          AVG(Amount)         
    2006                10001                         100                250
    2006                10002                         200                250
    2006                10003                         300                250
    2006                10004                         400                250
                           Total(AVG)                  250
    2006                10005                         300                350
    2006                10006                         400                350
                           Total(AVG)                  350
    What I want is the forth column, which is equal to the average value of amount in the third column. For example, in group 1 (Accounting Number 10001 - 10004), the average of 100 - 400 is 250. In the forth column, I want to get 250.How can I do this?
    2) How can I load a hierarchy from a text file in BI 7.0. I just see the option to maintain the hierarchy in BI, but I can't find the way to load the hierarchy from a text file.

    Hi,
    1.Create a formula or CKF which is equal to Amount. name it  AVG(Amount).
      right click AVG(Amount) in the query definition.select properties.select calculate  single value as 'Average of all values<>0'.
    i thnk this shld work!
    Regards
    Dhanya.

  • Load Balancing with BigIP / SSL question

    I have an oddball question. We're load balancing ColdFusion
    MX7 across 3 servers using a BigIP load balancing server. We
    decided to go the hardware approach and it has been great except
    for one small configuration issue.
    We use a mix of SSL and non SSL pages, prior to the switch
    from a single server to a load balanced setup I used to script that
    would determine if a page that was supposed to be SSL had the
    variable CGI.HTTPS turned on or off. If it was off, the page would
    redirect back to itself with the SSL turned on.
    The problem we have is that we followed BigIP's instruction
    to secure the load balancing hardware instead of the three servers
    running behind it. So what happens is that the traffic goes to the
    load balancer port 441, but then the calls from the load balancer
    to the individual servers is port 80. So even if a page is called
    as HTTPS://... the coldfusion server says that CGI.HTTPS is "off"
    since the traffic is port 80.
    This isn't much of a problem, our SSL pages are linked as
    HTTPS:// and the only problem would actually arise if someone was
    to type in the URL and call it as HTTP rather than HTTPS.
    My questions is this, does anyone know of a way that I can
    detect if the page should be HTTPS and is not without changing our
    configuration and putting SSL certificates on each individual
    server?

    Hey,
    Well the load balancing with the BigIP device is really very
    amazing. I think
    what i liked most was swapping out servers when their lease
    was up, through the
    BigIP manager I just stopped all traffic to a server, shut it
    down, plugged in
    the new one and turned traffic back on. It was really very
    easy.
    The SSL stuff still gives me a headache to think about. but
    I should mention I
    no longer work where I was, plus now I'm all .net C# but
    that's a different
    story.
    I think if I was going to do this all again I would not have
    secured the bigIP
    unit. It was nice to buy one SSL cert for all the servers I
    attached rather
    than one per server, but getting the SSL sites to work
    properly was a headache.
    We also use windows file replication where now I would go
    with like a pair of
    Dell MD1000's mirrored for storage and just have tons of ram
    and cpu on the
    front end units. Depends what you want to spend I guess. I
    think the bigIP unit
    we bought was like 20 grand, i think they are cheaper now
    though.
    Hope I helped.

  • Urgent SSL questions

     

    Why in the name of God don't you post this sample code here in the newsgroup so everyone can see it instead of just emailing it to a single individual? Can you please post it?
    Bryan O'Sullivan <[email protected]> wrote:
    b> All docs on the BEA website talk about 2-way authentication with
    b> browsers and servlets. Can I use the T3Client (t3s://host:port) in
    b> setting up my InitialContext to talk to beans on the server to
    b> create the secure connection?
    Yes, you can. You need to set up some extra environment parameters to
    do this, which unfortunately aren't well-documented in 4.5. I'll send
    you a code example that should clarify things.
    b> Do I need a specific service pack to enable this functionality?
    You need at least 4.5.1sp5. This functionality was documented as
    working in earlier 4.5 releases, but embarrassingly enough for us, it
    didn't.
    b> "Important: Certificates from Microsoft Internet Information Server
    b> and Netscape Enterprise Server cannot be used with Weblogic Server,
    b> because they are stored in a proprietary format."
    b> Does this pertain to Netscape Certificate Server as well?
    I don't know; I've never used NCS. However, if NCS can spit out
    certificates in X.509 format, using either DER or PEM encoding, then
    you should have no problems.
    b> Where can I find code samples for doing what I want to do?
    If you're using a Java client, we actually don't ship any useful
    examples of two-way SSL authentication with WLS 4.5.x. However, I'll
    mail you a copy of an example program from Denali beta 2 which should
    work with a 4.5.x server.
    b> The "Using Weblogic SSL" page is not too useful for implementation
    b> details.
    I know. We've worked to beef the documentation up for Denali. As you
    can imagine, since we documented two-way SSL authentication as working
    in 4.5 but never really got any complaints from customers about the
    fact that it was broken (I just happened to notice it myself), it's
    not a feature that has seen much use yet. I apologise for the
    roughness around the edges so far; I hope this information helps you
    to find out what you need.
    When Denali beta 2 comes out, you might want to download it and look
    at its expanded support for two-way SSL authentication. It's really
    quite a bit more useful than 4.5 in this regard.
    If you have any further questions, please feel free to ask.
         <b
    Let us pray:
    What a Great System.
    Please Do Not Crash.
    ^G^IP@P6

  • Mobile Access + Wiki Server via SSL Question

    If MAS is running with SSL, does that SSL continue for the entire session? Or just the initial passing of credentials?
    I'd like to not have the wiki server running SSL for internal use if MAS encrypts all the traffic. The reason for the question is when connecting to the wiki server via MAS, there is no SSL lock on the browser, telling me it's in the clear.

    Mobile Access Server does not provide proxy access to 10.6 server Wiki.
    hth,
    b.

  • Beginner: some questions

    Hello all,
    I am just a beginner for EJB, and writing a simple example of EJB. Some questions confuse me.
    1.     about server
    I just use JDK1.3.1 and JSDKEE1.3, is it all right? Do I need another things, for instance, weblogic ( what is this?)?
    2.     about deployment
    I wrote some code( CMP) include: home interface, remote interface, implement class, and primary key. Now , deploy it? Use ��C:\j2sdkee1.3\bin\deploytool�� command, is it?
    I thought every EJB need a XML deployment descriptor, my question is: I write this by myself or use deploytool?
    3.     about datebase
    I notice some example use Cloudscape, is this database? Whether can I use another database, for instance, MS Access? If I can, how to access it in CMP, and what is the ��Database JNDI Name��( if I use MS Access) when I deploy using deploytool?
    4.     about direction
    if I finish coding, then compile, and deploy, now, is it OK? I mean, I should move some file to special direction? (I remember the .class file is placed in special direction when I use servlets. )(suppose: I work in C:\mybean. Every file in it)
    5.     I use JDK1.3.1 and JSDKEE1.3 to write a simple example, do I need anything else in order to achieve EJB?
    Thanks

    1. No you do not need anything other than J2SE 1.3.1 and J2EE SDK 1.3 J2EE SDK 1.3 includes a reference implementation that you can use to do pretty much everything that is J2EE platform standard.
    Products such as WebLogic, WebSphere are comercial implementations of J2EE platform specifications. And you would use them for commercial/production quality applications.
    See http://java.sun.com/j2ee/faq.html Especially the questions about using reference implementation.
    2. You as a developer write the deployment descriptor and the deployment engineer customizes it if required at deployment time.
    3. You can use JDBC-ODB driver to work with Microsoft Access databse.
    See http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html#996747
    4. No. The files go to the right place at deploy time.
    5. No. If you have J2SE 1.3.1 and J2EE SDK 1.3, you arealready on your way to achieving EJBs.

  • Hello. I am trying to create an email address for my iPod touch 5G. It will verify for awhile ask me the SSl question, and fails all the verifications please help!

    I am trying to create an Email address on my iPod and always fails. can anyone give me some solutions?

    Bt SSI do you mean your security question answers?
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • Beginner's question:  Using Time Machine with a WD External Drive

    Hello folks,
    Could someone help me with some basic questions?
    I have a MacBook with Mac OSX 10.5.5. It has Time Machine but I've never used it before. I've just obtained a Western Digital External Hard Drive which is Mac compatible but, I'm told, may not be formatted for Mac.
    1. If that's the case, how do I format it for Mac so that I can use it with my MacBook? Or can I just plug-and-play?
    2. Once ready to use, I'd like to use the external drive for two purposes: (a) to create back-up images of my entire computer using Time Machine, and (b) as a second drive where I can just drag-and-drop selected files when needed (e.g. so that I can put photos in a photo folder on my external instead of on my MacBook hard drive). Will my MacBook let me do this, or will using Time Machine effectively reserve the entire external hard drive for Time Machine and not allow my to drag-and-drop files?
    Thanks! And Happy New Year!

    Question 1:
    1. Launch Disk Utility (in your Applications/Utility folder.
    2. Click the "erase" tab
    3. Select your entire WD disk on the sidebar (the uppermost icon).
    4. Format: "Mac OS Extended (Journaled)"
    5. Name the Disk
    6. Click on "erase"
    Question 2:
    What is the size of your drive? If it is large enough you can partition it but Time Machine backup will "grow". So if it's important to you to save all backups you'll want to give it the whole disk. If not, you can partition the disk at the same time you format it.
    Follow the steps here. It will accomplish both Q1 & Q2.
    -mj
    Message was edited by: macjack

  • Beginner's question about naming helper classes

    Hello,
    I am building a pretty basic multi-tier application. I want to reduce a much as possible the dependencies between the web tier and the ejb tier. Ideally I would like for the web tier to construct a request object (of class MyRequest) and send it to the ejb tier that would then return a results object (of class MyResults).
    These would therefore be the only two classes that BOTH the ejb and web tier would be aware of. All other classes would either belong to the web tier OR the ejb tier.
    My question relates to the naming of these two classes. I would like to have different package names for the two classes as follows:
    -web-tier request object will be of type com.mycompany.web.MyRequest
    -ejb-tier request object will be of type com.mycompany.ejb.MyRequest
    -web-tier results object will be of type com.mycompany.web.MyResults
    -ejb-tier results object will be of type com.mycompany.ejb.MyResults
    I am getting errors with that. Is there a way around it?
    Thanks in advance,
    Julien Martin.

    Hello PinkyDead and thanks for your answer,
    I got the errors on another project and can't remember which. Class Cast Exceptions perhaps. I had to change the package names so that they matched in the web tier and the ejb tier. (which is what I don't like).
    As far as the new project is concerned I am trying to design the application as well as possible and your comments are therefore useful. Better getting the design right before starting coding.
    Can you or anyone tell me what architecture would be better that the one I proposed?? Don't you agree that at least some classes have to be shared by the web tier and the ejb tier? How can it be otherwise?
    Thanks in advance,
    Julien.

  • Designer beginner's question: How to populate form with XML web service output?

    sorry, here is yet another Adobe Designer beginners question: <br /><br />My form uses a webservice data connection which returns <br />an xml-string like this: <br /><br /><?xml version="1.0" encoding="utf-16"?> <br /><CurrentWeather> <br />  <Location>Sion, Switzerland (LSGS) 46-13N 007-20E 481M</Location> <br />  <Time>Apr 26, 2007 - 09:50 AM EDT / 2007.04.26 1350 UTC</Time> <br />  <Wind> from the WSW (240 degrees) at 15 MPH (13 KT):0</Wind> <br />  <Visibility> greater than 7 mile(s):0</Visibility> <br />  <SkyConditions> partly cloudy</SkyConditions> <br />  <Temperature> 80 F (27 C)</Temperature> <br />  <DewPoint> 46 F (8 C) </DewPoint> <br />  <RelativeHumidity> 30%</RelativeHumidity> <br />  <Pressure> 29.88 in. Hg (1012 hPa)</Pressure> <br />  <Status>Success</Status> <br /></CurrentWeather> <br /><br />What is the simplest and recommended way to extract the <br />element fields to my form? <br /><br />Thank you very much an kind regards, <br />Hans Grund

    The question is still unanswered!
    Let me give some details and break up the problem
    in more specific questions:
    - In Designer 8.1 I click new data binding --> wsdl -->
    http://www.webservicex.net/globalweather.asmx?wsdl
    A message box comes up and says "cannot load wsdl file"
    ==> 1. Question:
    Why maybe refuses Designer to load the http-wsdl,
    although this option is explicitly allowed?
    - When I save the wsdl to a file, Designer loads it
    without any problems. The web service uses two input parameters
    (CountryName and CityName) and returns an xml-string GetWeatherResult)
    like the one in my first posting. I drag these fields from the binding view to my form, and it runs ok!
    - THE PROBLEM IS, THAT I NEET TO EXTRACT THE ELEMENT FIELDS
    FROM THE RESULT XML-STRING!
    ==> 2. Question:
    How to extract xml element fields from wsdl output into a form?
    - I tried with eclipse and XmlSpy to build a modified wsdl file
    with structured output definition, so that the specific element fields
    show up in the data binding view and are usable to my form,
    and the modified wsdl maps consistently to the web service result string.
    So far without success: In the PDF -preview or Reader-
    when the wsdl-binding is executed and the web service output
    should show up in the result fields, just nothing happens.
    ==> 3. Question:
    Can this strategy to provide a "modified wsdl" possibly succeed,
    and how?
    ==> 4. Question:
    Is is possible -and how?- to check whether an xml string
    is valid as web service output against the wsdl-definition?
    ==> 5. Question:
    How to debug a web service connection with Designer?
    - Finally I tried to find a way to load the result xml-string
    into a local var in the script editor and parse it, much like:
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.load(DataSet.MyForm.GetWeatherResult.rawValue);
    ==> 6. Question:
    Is it possible -and how?- to use a framework like dotnet?
    How to utilize SAX or DOM in Designer?
    Many thanks and appreciations for your help!!

  • Submitting a PDF form via HTTP Post: Beginner's Questions

    Hi,
    I am completely new to PDF forms, so I have been finding the documentation and options overwhelming.
    I am hoping to get pointed to the documentation/tutorials/examples I really need.
    I would like to build a "proof of concept" for my boss.  I would like to include a screen in our Java ( JSP & Spring ) webapp where either a PDF form is embedded or is accessed via a link.
    I have
    Adobe Acrobat Distiller X standard license
    Adobe Acrobat X Standard
    Microsoft Office 2010
    I made a small, 3 field Microsoft Word form.  I then converted it via DIstiller into a PDF form.
    I then found this document about how to submit a PDF form to a server side component:
    http://acrobatusers.com/tutorials/form-submit-e-mail-demystified
    My big problem with this document it doesn't have an example nor an example showing what is going on in a full HTML page.   As I result I have some questions:
    Can I see such an example somewhere?
    Does the call to the javascript function doc.SubmitForm(urlToMyServerSideComponent) go in a script tag on the HTML page like other javascripts?
    Can I execute that submit function from an HTML button or do I need to put a "submit" button on the PDF form?
    Do I need Adobe LiveCycle in order to create a PDF form with a "submit" button?  Free versions?
    Can I send via HTTP POST ?
    Do I need Adobe LiveCycle to crate a PDF form with a digital signature?
    Is there a document/tutorial that fits where I am starting off from? ( Please no books, I am tyring to show my boss that this is something that can be done, in a reasonable amount of time, not time to get and go through a book ).
    Thanks in advance for any tips that get me pointed in the right direction
    Steve

    To answer some of your specific questions:
    2, 3. The submit form button needs to be on the PDF. You can either configure a Submit Form action or use the submitForm JavaScript method.
    4, 6: No to both questions. You can create the form in Acrobat. Such forms are knows as Acroforms, as opposed to XFA forms that are created with LiveCycle Designer. Acroforms have wider support.
    5: Yes, that's the method that's used when submitting to a web server. You have your choice of formats. The "HTML Form" option causes the form data to be submitted in the same format as an HTML form, so the same type of server-side code can be used to process the data. As Dave's tutorial shows, the server should return an FDF as the response, however, as opposed to HTML content.
    It's a mistake to try to embed the PDF in a web page. So much depends on the user's browser, PDF viewer, and how both are configured. PDF forms can be submitted directly from Adobe Reader/Acrobat, so it's not necessary for them to be viewed in a browser. Note that Adobe Reader for iOS/Android don't yet support submitting to a web server (apart from FormsCentral), but that's is supposedly being worked on.
    Since you mentioned digital signatures, be aware that for Reader users to be able to sign, the document has to be Reader-enabled, either with Acrobat Pro or LiveCycle Reader Extensions (which is not the same as LiveCycle Designer). Digital signatures in PDF forms are not yet supported on mobile devices. Also, you will want to submit the entire PDF, as opposed to just the form data, when submitting a digitally signed form.

  • Beginner's question: how to call JSP

    Hi,
    Is the following a right way to call a JSP?
    GET /app/im/iClient.jsp?user=[email protected]&pass=welcome HTTP/1.1
    Host: st5.abc.com
    I am trying to manually send a HTTP request. I am sure the directory is right, but no response. Should I use "POST" instead of "GET"?
    Thank you!

    I dont believe that... If you're trying to get a response InputStream, or the response formatted as some object, for a request to an HTTP server, and you are just now writing Socket connection stuff, then you can just replace that with URLConnection and let it do the work given a URL.
    Otherwise, you should already have a class which uses Sockets internally to get what you want, and you shouldn't be asking us this question because it should take a URL and make the connection and give you what you want...
    I don't see any other possible "stage" at which you could be at that you need to a) use Sockets over URLConnections, b) need to know the details of HTTP, and c) can't change one or the other.

  • Beginner's question

    i started to work with labview newly, the task im tryin to do is the following : i have a microcontroller and i wanna know if it is alive or not .. simply am tryin to open a port (com) and to ping the microcontroller using the functions (.dll provided).
    as it could be seen from the attached file i have tow functions, the first opens a port (to the microcontroller) and returns a handle to the second function which pings the module (microcontroller). i tried to see if the functions return something but it looks like they don't.
    am really stuck, i tried to read some manules but i didnt get what i want out of them!!
    in all cases thx in advance .
    Attachments:
    test.vi ‏10 KB

    As Dennis mentioned without additional details no one will be able to accurately answer your questions. However, based on what you have provided I am not sure you will need the .dll at all. Basic serial communication is very easy in LabVIEW. There are several examples that ship with LabVIEW that you can look at. You would use VISA to open a serial connection and to read or write data on that connection. The second function call you specified may be a bit more challenging to implement in LabVIEW without a full understanding of exactly what the function is doing. A basic ping sounds fairly straightforward though and would probably be easy to reverse engineer what that function is doing. A serial port monitor would show you what was being sent and received. From there you should be able to implement it directly in LabVIEW.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Beginner Java questions

    Hello:
    I'm looking for some guidance on a few things I am confused on. Can somebody tell me or point me in the right direction on how you would write and equivalent compound statement for
    x = 2 * x;
    sum = sum + num;
    y = y / (x +5);
    lastly
    What type of input would I use for :
    import java.util.*;
    public class Strange
    static Scanner console = new Scanner (System.in);
    public static void main (String[ ] arg)
    int x;
    int y;
    String name:
    x = console.nextInt ();
    name = console.nextLine ();
    y = console.nextInt ();
    I appreciate any guidance and help provided on this. I'm struggling to wrap my head around some of these things.

    eaolson wrote:
    BigDaddyLoveHandles wrote:
    This is obviously a homework question. Please don't expect anyone here to do your homework for you.Well, if you notice, he's asking for "guidance" and for people to "point him in the right direction". He's not stating a problem and demanding a solution like so many others. If you ask me, he's asking for help with homework in exactly the right way.
    For the first question, I would suggest reviewing this section and the following ones of the Java Tutorials:
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/operators.html
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op1.html
    I don't understand what the second question is asking for.In reply #2 the OP tried to clarify the second question:
    Well, I'm tasked wtith stating "what type of input the progragms requires and in what order the input must be provided" for the program I stated. >Beyond that, I'm not sure either and that's why I'm looking for help. "Looking for help", eh?

Maybe you are looking for

  • Ituns on a mac mini 2k mem   Help

    I just have gone to Mac from IBM clone this month. Best thing I ever did. Now for my question. I have crated too user's and have a music file on lacie fire wire drive and both users acsess the same music files. If I run any other prog wile listining

  • Vendor code and vendor name in ME5A

    Dear Experts, In T.code ME5A Vendor and name of Vendor fields display in output but it is showing blank whenever po is created how can I found that which PR,s Po make vendor code and name display. RC

  • FM CRM_MKTBP_CHANGE_BP

    Hi! I need to assign diferent markting atributes to BP en CRM. The information is external, so I need a Z program to assign it. We were using FM CRM_MKTBP_CHANGE_BP to do so, but in some cases the assignment does not work. There is no entry created i

  • How to remove cs6 master collecton ?

    tried the adobe clener tool not working

  • Question about Folders & Files

    I always set up a new folder for each project. In iM4... in the main folder are other folders - Audio Waveforms... Media... Shared Movies... and a QT.mov. In iM HD... all I have in the main folder is an icon with a star. Everything works O K and burn