Src and href wrong

Hi all,
In my jee web app, I used href="/pages/jsp/emailToSms/sendSms.jsp" but while I run the program it shows that http://localhost:8080/EmailToSMS/pages/jsp/emailToSms/pages/jsp/emailToSms/sendSms.jsp.
My project name is EmailToSMS and folder structure is
EmailToSMS
_|
Webroot
__|
pages
___|
jsp
____|
emailToSms
_____|
sendSms.jsp
all othere jsps
Anyone got same problem and fixed it?
Seems while I run the project Webroot folder does not treat as root forlder.
Help me to fix this problem.
Thanks.

<html:html locale="true">
<head>
<html:base />
<title>leftMenu.jsp</title>
</head>
<body>
     <TABLE id="leftTable" align="left" border="0" width="100%">
     <TR valign="middle">
     <TD onClick="this.style.bgColor='blue';">Email SMS Alerts</TD>
     </TR>
     <TR valign="middle">
     <TD >User Account</TD>
     </TR>
     <TR valign="middle">
     <TD >Usage Report</TD>
     </TR>
     <TR valign="middle">
     <TD >Credit Status</TD>
     </TR>
     </TABLE>
</body>
</html:html>
This is what i used in my project...after run the project when i click the link "Email SMS Alerts" it goes to http://localhost:8080/EmailToSMS/pages/jsp/emailToSMS/receiveEmailSmsAlerts.do?do=executeEmailSmsAlerts.
Any probs in my struts-config.xml?

Similar Messages

  • Java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/

    Hi
    I was trying to build an app using JBuilder personal. It would build and run fine. Then i realised that i could not use the api from jdk1.4 as JBuilder would only work with jdk1.3.
    So, i moved the project from JBuilder to Forte thinking that Forte would allow me to use the jdk1.4 api. After significant trouble porting the project, i got the project to build successfully.
    But when i try to run it , i get the following error
    What could be causing it and how do i fix it? these errors are very frustrating. searching this site or the forte help, hasnt given me any tips yet. Thanks
    java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/myapp )
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    Exception in thread "main"

    But when i try to run from Forte, it still gives the same dumb errors ..
    Could it be a Forte settings problem??Definitely. Choose the Project menu, then the Settings... at the bottom. That brings you up a new dialog. On the left, select the "Execution types", and the "external execution" within. On the right pane, click on the "expert" tab on the bottom. There you have a field named classpath; add your classpath directories there. Then your program will probably run from Forte.
    For compiling, you also should set the classpath; you need "Compiler types" on the left pane, and you have to set the classpath for the fastJavac compilation and/or for the external compilation, depending which one you use.
    On the left also a "Java Sources" node - click on it, and check if the "default compilation" is either external or (preferable) fastJavac; and that the default execution is external.
    How Forte works with internal compilation, and internal execution, I don't know, never tried that.
    Best Regards,
    Ivan

  • Fulfillment token nto showing src and downloadtype

    Hi,
    I'm having a issue with my fulfillment token using gblink. When a user click on a gblink the .acsm file doesn't have any src and downloadtype value in the file.
    ADE is able to download de file correctly, but in Bluefirereader, i'm having an error trying to download the ebook for the first time.
    When i'm checking that ressource in Content Server those value show up correctly.
    Any idea?
    Thank's
    Xavier

    Hi Jim,
    I don't understand how this can be a bluefire issue, because at this point, i only click on the GBLink and read the content of the acsm file! and i didn't see any src or downloadtype like i should.
    am i getting all this wrong?
    Thank's for the help.
    Xavier

  • HT5312 I forgot my security question answers and answered wrong too many times so now it won't let me download anything even though I know my password, what do I do?

    I forgot my security question answers and answered wrong too many times so now it won't let me download anything even though I know my password, what do I do?

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (95618)

  • Change the attribute "src" to "href" before importing an XML

    I need to change the attribute "src" to "href" (<img scr="....">) before importing an XML document. I think you could do with XSLT, so you can add a script to import XML documents. But I do not know much about XSLT ...
    Does anyone could give me an idea?
    Thanks in advance...!!!

    Piece of cake. Here is an identity transform, except that it filters out "src" attributes:
    <?xml version="1.0" ?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" >
    <xsl:template match="node()|@*">
      <xsl:copy>
        <xsl:apply-templates select="node()|@*"/>
      </xsl:copy>
    </xsl:template>
    <xsl:template match="@src">
      <xsl:attribute name="href">
          <xsl:value-of select="."/>
       </xsl:attribute>
    </xsl:template>
    </xsl:stylesheet>
    See http://stackoverflow.com/questions/2679443/how-do-i-rename-an-attribute-using-xslt

  • Is src and dst NAT possible in multiple rules on the ASA?

    Hello,
    We have +/- 50 customer companies that will have to enter our network via IPsec s2s VPN's and as backup the customers have the option to enter our network via a leased line. Since they can enter multiple routes we give them a source IP depending what side they enter so we know the route back internally in the network to the correct FW they entered.
    For the s2s we have to do source NAT on our side since we cannot burden all these customers with different NAT's for both the leased line and for the s2s. And we have to do destination NAT since the customers can access different DMZ systems depending on the application they connect to.
    1) source NAT can be 1 NAT rule per company (so hide NAT behind 1 IP)
    2) destination NAT is multiple rules (see below)
    At the moment we have 12 NAT rules per company since we have configured src and dst NAT in one rule to make it work.
    See example below:
    Question: How can we configure src and dst NAT in multiple rules so that we dont need 12 NAT rules per company?
    ASA cluster: single mode - Active/Standby
    asa922-4-smp-k8.bin
    asdm-731-101.bin
    Src REAL
    Src Mapped
    Dst MAPPED
    Dst REAL
    Service
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    192.168.143.128_29
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    11.11.11.1
    19.19.19.90
    19.19.19.90
    19.19.19.11
    19.19.19.11
    19.19.19.90
    19.19.19.90
    19.19.19.180
    19.19.19.180
    19.19.19.83
    19.19.19.83
    19.19.19.90
    19.19.19.92
    10.10.10.42
    10.10.10.42
    10.10.10.42
    10.10.10.42
    10.10.10.41
    10.10.10.41
    10.10.10.44
    10.10.10.44
    10.10.10.47
    10.10.10.47
    10.10.10.47
    10.10.10.47
    53-udp
    53-tcp
    53-udp
    53-tcp
    PoP3
    SMTP
    SMTP
    PoP3
    http
    tcp-5555
    http
    http

    Steve,
    That is my whole point.  To copy from the PC host memory to the CUDA device memory asynchronously, the host memory must be pinned.  Hence, the source and destination memory should be pinned.  Otherwise, I must copy the source memory to pinned memory I have allocated on the PC, copy it asynchronously to the CUDA device memory, process it on the CUDA device, asynchronously copy it back to the PC pinned memory, and then copy it to the destination memory.
    If you copy synchronously, it is slow as Christmas!  Therefore, you must copy the memory asynchronously, or you should not use CUDA and GPU acceleration.
    My question still stands.  Why is the source and destination memory on the PC used by Premiere Pro not pinned memory?
    Gene
    Gene A. Grindstaff
    Executive Manager, SG&I
    T: 1.256.730.6983 M: 1.256.566.5376 F: 1.256.730.8046
    E: mailto:[email protected]
    Intergraph Corporation
    19 Interpro Road
    Madison, AL 35758 USA
    www.intergraph.com/sgi<http://www.intergraph.com/sgi> |
    LinkedIn<http://www.linkedin.com/groups?gid=127267&trk=myg_ugrp_ovr> | Facebook<http://www.facebook.com/intergraph> | Twitter<http://twitter.com/intergraph

  • I deleted my photos and videos wrongly. I want to install them back. What can I do ?, I deleted my photos and videos wrongly. I want to install them back. What can I do ?

    I deleted my photos and videos wrongly. I want to install them back. What can I do ?, I deleted my photos and videos wrongly. I want to install them back. What can I do ?

    When your data (everywhere- computer, phone, pad) deleted you normally restore it from back up. Find if and where you backed it up and restore from that backup.

  • Set Codebase and href at runtime

    Hi,
    I want the codebase and href value in the jnlp file to be set at runtime. Anyone have any idea or a piece of code to achieve the same.
    Thanks in advance
    Pankaj

    If you use the JNLP servlet you can use $$codebase and $$name.
    See http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
    N.

  • My youngest kid found oldest kid ipod and entered wrong password to many times and now it tells me the ipod is disabled connect to itunes and when i connect to itunes it tells me that i need to unlock the ipod what do i do

    my youngest kid found oldest kid ipod and entered wrong password to many times and now it says it is disabled and i need to connect to itunes when i do it tells me i need to unlock the ipod and it wont let me what do i do

    Connect the iPod to yur syncing computer and restore the iPod via iTunes.. If it asks for the passcode and you can't enter it, place the iPod in recovery mode and then restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Cut and paste wrong text!

    Adobe Cut and paste wrong text!
    A simple cut and paste a street address from a rebate PDF
    When I go to paste the address in notepad, the street address is COMPLETELY DIFFERENT! 
    I right click on the text there is NO hyperlink.  The address is valid, just another branch office. 
    how is this possible? 
    I can not trust cut and paste from Adobe!

    Shared Files - Acrobat.com
    On the right hand side of page 1
    Mail to:
    Florida City Gas Rebates Offer
    xxxxxxx
    xxxxxx
    xxxxxx
    Carefully note what it says on the screen  (El Paso TX)
    NOW cut and paste it into word, notepad
    it changes the address to CA!

  • I put my password into my airport extreme and says wrong password what can I do thanks

    I put my password into my airport extreme and says wrong password what can I do thanks

    If your password is incorrect, perform a "soft reset": momentarily depress its reset button, and launch AirPort Utility. A "soft reset" will lower the Extreme's shields for about five minutes, so that you can configure it with a new password.
    AirPort Utility is in your Mac's Utilities folder.

  • HT4759 I find the delete button on my iPhone and iPhone wrong goes wrong please help thanks

    I find the delete button on my iPhone and iPhone wrong goes wrong please help thanks

    Welcome to the user to User Technical Support Forum provided by Apple.
    Clearly state your Issue and the Troubleshooting Steps you have tried to Resolve it.

  • My iPhone 5 is blocked and goes wrong with IOS 8.2.

    My iPhone 5 is blocked and goes wrong with IOS 8.2. How can officially return to IOS 7.12?
    The phone goes slow, hard contacts are loaded, the phone got stuck a few times.
    I would like to return to the IOS 7.12, but can not. Problems have occurred since the IOS8, but I hoped to solve with iOS 8.1 or 8.2. On the contrary, the situation was worsened.
    What can I do?

    I have a 64GB model
    Contacts are displayed harder. Not appear depending on usage, as IOS 7.
    All functions of the smartphone go late.
    Now I installed iOS 8.1 and did not improve anything
    It happens rarely that's right, the smartphone to block everything and need to restart. But we claim that we have an Apple that should function without resets
    I understand that the processor does not support well IOS8 iPhone 5, but I want to return to IOS 7 as the smartphone was perfect
    Apple must know these problems and have to accept a return to IOS7 for iPhone 5
    They were given a warning only 3, 3 g, 4, 4s
    I have friends with iPhone 5 that meet the same problem and they will return to IOS7 if possible
    I think that Apple has a problem in this regard
    Another version of IOS 8 can not resolve the situation, because it seems that the processor can not handle this software
    I would be very happy if Apple will understand the situation, and someone at Apple will give me an answer or a solution

  • TS1424 Game and developer wrong on email invoice

    I recently purchased an app upgrade and also downloaded a few free apps on the same day.  I got the billing email and it was for the right amount but the game was wrong.  It said I had been billed for one of the free games which had a different developer. This does not really affect me as it was the same amount going out of my account but not really fair on the developer.   I tried to report it as a problem but the email link does not work.

    Norman, you've been so helpful - thanks.  I hope that Skype takes into account Chat and Vision's dishonest conduct in this matter (and other matters; it is quite clear that I am one of many people having been dealt with dishonestly by them) when considering their relationship with this company.
    When there are so many reputable companies providing excellent customer service who would jump at the chance to be Skype's preferred sales partner, it seems the appropriate action would be for Chat and Vision to be disendorsed and any link with them removed from Skype's websites.
    Unfortunately this was paid through a Skrill account purchase which I think means that I'm not entitled to have this charge reversed, but I will certainly try.
    In the meantime, for the benefit of others considering purchasing anything from Chat and Vision, here are a few updates of the latest outrageous correspondence from these liars:
    on 3 February from a new representative named Debbie:
    My sincere apologies for any inconvenience this may have caused.
    We have received an update from the relevant department and they have confirmed that universal adapter has been included to the parcel.
    We hope that this helps clear up any queries in your mind, but please let us know if further clarification is required.
    This is a clear case of fraud and I will also consider options for taking the matter further directly against Chat and Vision.

  • IPhone 4 shuts down on its own all the time. Sometimes restarts without ability to make calls, receive emails, and the wrong time.  Only a restore fixes it.  What can I try?

    So my iPhone had a broken screen and back for a while, which may have something to do with this.  I mean like missing peices.  I realize this leads to corrosion and I may have a broken iPhone but this is a really strange problem.  It's always shutting off on its own, sometimes in my pocket while locked and sometimes randomly while in use.   For example the other day this started happening everytime I started safari.  This happens all the time, I usually just restart it and it works for a while.   Sometimes after shutting off a few times in a row, after restarting it will show the wrong time, screws up phone calls and says that it cannot locate the gmail server, or something to that extent (won't load emails).   The phone calls are weird, I can't receive any.   Any calls that are made from the phone, go through on the other side and ring for them, but won't ring or make a connection on my side, also I can't end the call when this happens, it responds to me pressing end by fading the screen to that graytone color that it does before ending usually but stays on that screen whenever you go back to it, only disappearing after reseting.  Texts work, not in iMessage, and internet seems to work.   The only thing that fixes this condition is a restore. The iphone has been turning itself off over the last 3 months and its been getting progressively worse.  Recently its been pretty bad, and then the phone started to do all that weird stuff I've been talking about.  That started about 3 weeks ago and has happened 4 times, the last two times relatively close together.   This is really annoying and I can't afford to replace it.   Do I have to live with it?   What can I try?  Should I maybe replace the battery?  I took the panel off to look at it and the plastic around it was pitted possibly from being really hot.

    Please don't respond with useless comments.  I've already addressed the fact that my screen was broken a few months ago.  My phone may or may not be broken beyond repair either way, as I said before I can't afford a new phone.  It's a strange problem because from what I can tell no one else has posted the same problem anywhere I can find.  Don't be a dickhole.

Maybe you are looking for

  • Keyboard is not working in firefox

    my keyboard is not working in it it happened when i typed one word many times in it a dilogue box appears that i typed many times words and there are two options on it yes or no i pressed no after that i can't use keyboard

  • HT201238 How can I purchase iCloud storage as a gift for someone ?

    I Want to purchase iCloud storage for someone as a gift.. Is that possible

  • Restore error 21

    HELP i have just had my ipad for about 1 year and my brother did some thing to it and then it got some problem and when i saw a problem i wanted to restore it but it did never do it. i always try the restore key and then i suddenly plugs my ipad out

  • Calling Classes and Methods in Transformation Rules

    Hi, I have transformations from Level 1 to Level 2 ODS where based on the source fields Date of Sale(ZDSALE) I have to derive Period to Date and Year to Date from the class ZBI_UTILITY_METHODS and method ATTRIBUTES_GET.  How do i incorporate this in

  • Flash Chart with Asynchronous Update

    Hello all, I'm trying to use the Asynchronous Update option of the chart's, but in different version of APEX it doens't work. In my local DB I have APEX v. 4.0.1.00.03 and it works fine, loads the graphic and keep updating, but in the server the grap