Please look at this problem and give me solution
hi all,
iam getting this problem when i run th server
javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml
so, i am unable to run jsp, servlets using struts in tomcat.
pls solve this problem
--> i have a servlet file namd Form.java
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
public class Form extends Action {
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
ServletOutputStream sos=response.getOutputStream();
String fname=request.getParameter("firstname");
String lname=request.getParameter("lastname");
String dob=request.getParameter("dob");
String uid=request.getParameter("uid");
String pwd=request.getParameter("pwd");
sos.println("First Name = " + fname +" "+lname+"<br>");
sos.println("DOB = " + dob);
sos.println("Username = " + uid);
sos.println("password = " + pwd);
String target = new String("success");
return (mapping.findForward(target));
-->jsp file named form.jsp
<html>
<body>
exe on httpservlet
<form action="http://localhost:8080/satish/Form">
enter firstname <input type= "text" name="firstname"><br>
enter lastname <input type="text" name="lastname"><br>
enter DateofBirth <input type="text" name="dob"><br>
enter userid <input type="text" name="uid"><br>
enter password <input type="text" name="pwd"><br>
<input type="submit" value="register">
</form>
</body>
</html>
and i have web.xml in F:\projects\tomcat\webapps\satish\WEB-INF
with below contents
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>struts example</display-name>
<description>
Mycode
</description>
<!--GENERATED_JSPS-->
<!-- JSPC servlet mappings start -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class> org.apache.struts.action.ActionServlet </servlet-class>
<init-parameter>
<name>application</name>
<value>ApplicationResources</value>
</init-parameter>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>action </servlet-name>
<url-pattern>/satish/Form</url-pattern>
</servlet-mapping>
<!-- JSPC servlet mappings end -->
</web-app>
and struts-config.xml file in F:\projects\tomcat\webapps\satish
with below contents
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" >
<struts-config>
<action-mappings>
<action path="/form" type="Form" input="/form.jsp" >
</action>
</action-mappings>
</struts-config>
and run the tomcat server
typed http://localhost/satish/form.jsp
given the input and clicked submit button and i got
this
HTTP Status 404 - /satish/Form
type Status report
message /satish/Form
description The requested resource (/satish/Form) is not available.
Apache Tomcat/5.0.5
double post:
http://forum.java.sun.com/thread.jspa?threadID=684573&tstart=0
Similar Messages
-
I am unable to export my contacts from my iPhone 4 to the hands free unit on my Honda Civic VTI-LN. Has anybody had this problem and found a solution.
Strange that your dealer could not help.
When my car was in for its 6 month service in July/August I mentioned this problem to the dealer service dept (Northway Honda, Bundoora, Vic)
The person booking the car in told me an update to the software was needed and that they would do the update.
I don't know if it was free as there was no specific listing of a software update on the invoice - just a lot of item numbers.
All has been well since -
I rented a movie from the iTunes Store and the download failed. I can't restart the download without error or rent other movies? Anyone have this problem and found a solution?
1. Sign out of your Apple ID
2. Reboot iPad
3. Sign back in to Apple ID -
I have an Iphone 4 13.5 GB, iOS 7.1.2. Currently when I make a call or someone calls me, I can hear people on call perfectly but sometimes they can't hear me. It maybe fine for afew mins but then sound drops again? Anyone have this problem and find a solution? Thanks.
I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.
-
What do I do if I can't upload photos into my photobook? Every time that I try, the upload starts but then stops. Then the only options I have are to cancel or retry. Has anyone else had this problem and how have they solved it?
I solved the problem. Had nothing to do with Mac or iphoto. Problem must be my the internet connection to my provider.
Upload at my office worked without any problem. One problem solved, now i am aware with a lot of discussions with my providers helpdesk ;-) -
Can you have a look at this video and give advice please?
Hi Guys,
Can you have a look at this video-
http://www.youtube.com/watch?v=UA0x3bQUW-g
I shot it for a friend at a hotel. Can you let me know if if works ok / stutters etc. on your computer.
I edited hdv pal / ppro cs3 then adobe media encoder to H 264 1280 x 720 25fps bitrate min 2 max 4. keyframes 25.
It looks pretty bad i think at the normal youtube. It looks a lot better when you hit the 'watch in hd' but begins to stutter.
Do you have any advice?
Many thanks
scottFirst, thank you for doing a very nice piece. I'm a tad bit tired of the "in-your-face" skateboarding pieces. The young lady is also "easy on the eyes."
Second, I looked at the piece in both resolutions, and also after all buffering had completed. The only things that I saw were one Transition at about the 1/4 point that seemed to have about a 1-frame "glitch," or something. Two of the Titles also did not seem to fade-up/move-in at the same pace, or with the same smoothness as the others. Even looking at movement, like the flag (again near the 1/4 mark - sorry that I did not write down the exact TimeCode), I did not notice any stuttering. I'd better get this out of the way right now, I'm viewing on my laptop's 17" 1680x1050 nVidia GeForce 8800M GTX-512MB display, with full hardware acceleration.
Not sure what you, and Dan, are seeing. I'm usually a pretty critical observer, though might be missing something important. If you can give me a TimeCode and where, in the frame, you're both seeing the problems, I'll be glad to give it another go.
Good luck,
Hunt
PS I like the mood that both the visuals and music convey. My wife also made note of the URL, for our next trip to the UK in October. -
Hello, I have Airport Express installed on my PC which runs XP. When I play my library through iTunes after about 2 hours Airport quits and I have to log out and restart my computer - very frustrating. Don't know if it is overheating but if anyone can make any suggestions it would be greatly appreciated.
Thanks
MurrayMaybe Mail's message index is corrupt. The following procedure is safe to try. Its only deleterious effect is that windows you left open in Mail at step 1 won't reopen automatically in step 4.
1. Quit Mail.
2. Browse to ~/Library/Mail.
3. Move "Envelope Index" to your desktop.
4. Launch Mail.
Mail will rebuild its index before it opens any windows. It may take a few minutes to rebuild. Be patient!
The new index is likely to be a different size than the old one, usually smaller.
Only the Message Viewer window will open--not any other windows you may have left open when Mail quit.
Be sure your mail folders are there and have their messages. They always are there, but the prudent check anyway.
Be sure you can send and receive mail. This always works, too.
After you have done the above, trash the old Envelope Index that you saved on your desktop. It is never better than the new one, and as time goes on, it becomes more and more out of synch with your mail folders, so you won't want to put it back in Library.
If Mail doesn't crash for a week or two, you probably fixed the problem. If not, you at least freed up some disk space.
Let us all know whether and how you solved your problem. -
Overprinting occurs when printing a playlist in CD Jewel Case Insert format. Has anyone had this problem and found a solution?
This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
Regards. -
My iPhone 4 with iOS 6 is making me start to hate Apple. Any App and at any time I open and I can not view it or move for more than 2 minutes, they close themselves. During connections, it also gives this problem and the signal disappears after a few seconds back but often the person on the other end has hung up ... I can not stand it anymore, someone suggests something?
Besides these problems, there is the battery, which was bad got worse, she is not lasting more than 10 hours, even without using the phone.
Sometimes it even seems that the problem was solved, but my joy did not last long after I celebrate all the problems return, is incredible ...
thanks.
Sorry my bad Inglês.Try a reset hold home/sleep buttons until Apple logo appears
If that does not improve try a restore
http://support.apple.com/kb/HT4137
For your information
We are NOT Apple here we are all users helping other users
so emotion is ignored -
when I click on a link to complete a form, or a link to take a closer look at a picture, I get a blank screen and it says at the top 'search bookmarks and history', at the bottom it says 'stopped' - what is this problem and why is it happening ?
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
I got my Iphone 3gs unlocked, but Navigation and Compass are not working. Please help if anybody had faced this problem and got it resolved.
Only the carrier that the iPhone was locked to can unlock. There you go, hacking void any support from this forum.
-
Using windows 8 - receive message "ipod detected but cannot be identified properly" when connecting ipod nano 7th gen. Have unisntalled and reinstalled itunes from apple site as advised with no luck. Has anyone else had this problem and resolved it please?
This is how it's displayed: http://i50.tinypic.com/nd7vk7.jpg
And this is what happens when I click properties and 'search for solutions': http://i47.tinypic.com/2iu3vrc.jpg (the box disappears after that, apparently having done nothing, when I search online for software it informs me my computer already has the best/latest installed)
I use a Toshiba Satelite L350-170, my Vista is a 32-bit Thankyou!
Message was edited by: Martha11 -
i have a problem with my Imessage at my macbook pro ,its says it can contact the server and i cant use it ,please solve me this problem
I am having the exact same problem with the iMessage on both my MacBook pro and my iphone4. It either says the username/password is incorrect or it can not contact the server. Facetime and iCloud works just fine with the same apple id and password. Somebody please help, I am beyond frustrated!
-
Whenever I click on the button of Firefox 4.0 Beta 10 located in my shortcut bar. It opens after a very long time i.e. after 5-10 minutes after I get irritated and start using Safari. And sometimes it doesn't even open. Please look into this matter. :D
ThanksTry disabling hardware acceleration in your Firefox settings and see if it helps:
From the Firefox menu, go to '''Options''' and click the '''Advanced''' panel, then select the General tab. Clear the box in front of "Use hardware acceleration when available" so that it is unchecked, then restart Firefox. ([http://support.mozilla.com/media/uploads/gallery/images/2011-01-27-04-52-31-8c9d82.png screenshot]).
Ref: <br>
https://blog.mozilla.com/tglek/2010/12/21/rude-surprise-startup-overhead-of-windows-font-apis/ -
Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud
elhoseny wrote:
... Instructions for activating iCloud gives wrong email address to verify account..
The Apple ID and Password that was Originally used to Activate the iDevice is required
If you do not have that information you will not be able to use the Device.
Activation Lock in iOS 7 > http://support.apple.com/kb/HT5818
Maybe you are looking for
-
BPEL Workflow email not stored in database!
Hi, I'm using SOA Suite 10.1.3.4. I have a worklist application where notifications are sent to Assignees, Approvers when the action is Assign or Approve. The mails are delivered as expected. But there is not trace of emails sent. I checked WFNOTIFIC
-
Howto disable TopLink localized labels and messages?
Hi, my windows regional settings are configured with Portuguese (Brazilian) as language and Brazil as location (since I am a Brazilian Portuguese speaking person who lives in Brazil). But the TopLink translations are POOR (almost stupid), it seems th
-
Title safe problem on 4:3 tv
Hi all. Matt from Australia here. my question is this. When I simulate my 16:9 project in DVDSP, with it set to 4:3 letterbox, it all looks good - all the text up the top of the screen is visible and is letterboxing as expected. When I play the burnt
-
Regarding Doc, for a New Implementation
Hello, Will you pl, help me in getting complete documentation (Std / Template)for all stages of ASAP methodology, for a new module. If you provide at least URL, it will be of great help.
-
II'm using OS X 10.8 Mountain Lion and I have a proplem with the Launchpad. When I install new app, the app's icon appear in Lauchpad at first page instead of 2nd page same OS X 10.7 Lion. I like it in the 2nd page so I can manager my installed app e