Error in ActionMappings please help!!
Hi,
I got this err:
Cannot find ActionMappings or ActionFormBeans collection
I am not able to find the cause:
Here's my form:
<%@ taglib uri="/META-INF/tlds/struts-html.tld" prefix="html"%>
<html:form action="login.do">
<table>
<tr>
<td> <br>
<table class="log">
<tr>
<td>User id</td>
<td><html:text size="8" property="user"/><br>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>Password</td>
<td><html:text size="8" property="password"/></td>
</tr>
</table>
<html:submit value="submit"/>
</html:form>Here's my struts-confg.xml file :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean
name="login"
type="cVLogin"/>
</form-beans>
<action-mappings>
<action path="/login"
type="cALogin"
input="login.jsp"
name="login"
scope="request">
<forward name="success"
path="success.jsp"
redirect="false"/>
</action>
</action-mappings>
</struts-config>Could any one help me on this!!
I
Edited by: BalajiSundar on Apr 8, 2008 12:13 AM
Hi,
I' m getting the following error messages when I'm trying to run my jsp file(hotel.jsp). I guess der s some prob with the version of struts I'm using(I'm using struts 2.0.11.1)
root cause
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.hotel_jsp._jspService(hotel_jsp.java:116)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:741)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
org.apache.jsp.hotel_jsp._jspx_meth_html_form_0(hotel_jsp.java:133)
org.apache.jsp.hotel_jsp._jspService(hotel_jsp.java:106)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
My struts-config file looks like this :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<DOCTYPE sruts-config PUBLIC
"?//Apache Software Foundation//DTD Struts Configuration 2.2//EN"
"http://jakarta.apache.org/struts/dtds/struts?config_2_2.dtd">
<struts-config>
<form-beans>
<form-bean name="HotelForm" type="wiley.HotelForm">
</form-bean>
<form-bean name="AmenitiesForm" type="wiley.AmenitiesForm"/>
<form-bean name="SearchForm" type="wiley.SearchForm"/>
</form-beans>
<action-mappings>
<action path="/Hotel"
type="wiley.HotelAction"
name="HotelForm"
input="/hotel.jsp">
<forward name="success" path="/hotelupdate.jsp"/>
<forward name="failure" path="/hotel.jsp"/>
</action>
<action path="/Search"
type="wiley.SearchAction"
name="SearchForm"
input="/search.jsp">
<forward name="success" path="/searchupdate.jsp"/>
<forward name="failure" path="/search.jsp"/>
</action>
<action path="/Amenities"
type="wiley.AmenitiesAction"
name="AmenitiesForm"
input="/amenities.jsp">
<forward name="success" path="/amenitiesupdate.jsp"/>
<forward name="failure" path="/amenities.jsp"/>
</action>
</action-mappings>
</struts-config>
A part of my hotel.jsp looks like this:
<html:form action="/Hotel" >
<table width="45%" border="0">
<tr>
<td>hotelname:</td>
<td><html:text property="hotelname" /></td>
<td>hotelid:</td>
<td><html:text property="hotelid" /></td>
<td>hoteladdress</td>
<td><html:text property="hoteladdress" /></td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit /></td>
</tr>
</table>
</html:form>
Similar Messages
-
Hi everybody !
AT&T company is unlocked (factory)my iphone4 before 3 days ago so i want to restore to unlock iphone 4 with itunes but it is not restore.
How can I fix this type of error in iphone 4?- "The iphone could not be restored. An unknown error occurred (3194) "
please help me in nepali language(if posible) or english. thank you.http://support.apple.com/kb/TS3694#error3194
This means that either your firewall/antivirus is blocking access to Apple's servers, or you have used your computer to jailbreak an iDevice in the past. The link above tells you how to resolve this issue. -
Photoshop CS6 could not update successfully. Error codes Adobe Photoshop 13.0.1.3 Installation failed. Error Code: U44M1P7 Extension Manager 6.0.8 Update Installation failed. Error Code: U44M1P7 Please help me figure out how to call customer service. I would prefer to talk to someone directly.
Are you using any disk cleaner or optimization tools like CleanMymac or Mackeeper?
Regards,
Ashutosh -
when i export movie from final cut pro to quicktime , something happened. it says error quicktime -50. please help.
i need to submit this movie for uni project tomorrow.
any help/advice will help . thanks.According to Crash Analyzer
-50 (QuickTime)
This error occurs when there is corrupt or invalid media in your timeline. Check that the codec used by the file is recommended for use in your editing application.
good luck -
hi, I was trying to update my iPhone 3gS but when I turn it on again iTunes send me a message that says error 3194 occurs, please help me!!
If the screen shows a plug going to itunes, then you have no choice, It's in recovery mode. You'll be given the chance to restore from a backup either from itunes or icloud.
I assume when you got the message to update (was this for the ios or update some apps?), that was before the device when dead. At any rate, doing a restore does not change the ios. -
Whenever i try to sync my ipod a message keeps coming up saying "1 or more items could not be synced", apparently its error -69. Please help, i've tried rebooting my laptop, installing the latest itunes and turning off the wifi but nothing seems to work.
Are you using security software on your PC? If yes, try to disable the software or check the settings. More info here: http://support.apple.com/kb/TS3125
-
My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!
I also tried the ol' whacking 3 times trick...Didn't work to my surprise
-
I backed up my movies and rebuild my computer, and after making sure i'm using the latest version of itunes and quicktime and and making sure i still had spare computer authorizations, i still get error 23132. Please help.
I had this exact issue. Spent over an hour on the phone with apple support, they couldn't resolve. Here is what I ended up doing, that worked.
1. Turned iTunes match off on all my iOS devices
2. Deleted the offending playlists from the iOS device they originated on
3. Started iTunes, let it run (literally) for an hour before it became responsive. First thing I did, before clicking anywere else was disable iTunes match. If I clicked anywhere, it would clock for another hour.
4. Let iTunes run overnight, by morning it had cleaned out the repeating play lists. This got my Mac/iTunes back to an operable state.
5. Restore iPhones from backup in iTunes.
What was causing my issue was a single playlist that was created on an iPhone, then suddenly showed up with several thousand duplicates on my other iPhone. The culprit playlist did not, for some reason, duplicate itself on my two iPads. Apple support seemed to think it was because the problem iPhone tried to sync the playlist to iCloud over and over again unsuccessfully, then it finally went through and populated the thousands of blank/failed playlists which then tried to propigate to iTunes and my other iOS devices. Seems like a reasonable theory.
I have not yet re-enabled iTunes match. So, no idea what will happen if I decide to go back down that rabbit hole. -
Cannot restore my brand new iphone 4s ,got stuck in DFU mode and itunes shows error code (-1) please help?
repeatedly tried from diffierent computers and the same error code pops up (error -1)That's a hardware problem which will require a trip to the Apple store for evaluation, unless your phone has been jailbroken, then it's a corrupt hosts file (and we can't help you with that here as it is against the forum's terms of use).
-
I cannot restore my Iphone 4, I keep getting the error code 1611, please help and the Iphone keeps displaying the "Plug-In Itunes Symbol!??
http://tinyurl.com/nyj36v
-
ýesterday my iphone 5c screen suddendly shows connect to itune and i try to restore it using itune but halfway i got a message error occured (14). please help me in solving this problem.
what did you learn when you search the internet for iPhone error 14?
-
i am not able to sync some videos and apps onto my iphone 3gs. it shows a sync error: 0xe8008001.i updated it but still i am getting the same sync error problem..please help.
amanAre you using Windows...?
-
dear sir during updating my iphone 4s 16 giga error 4005 found please help me
http://lmgtfy.com/?q=iPhone+error+code+4005
-
Hello. I have an iphone 3gs 8gb factory unlocked. Currently its running on ios 5.0.1 and I am trying to update it ios 5.1.1 but its not updating. The itunes downloads the ios 5.1.1and gives back unknown error(3194). Please help.
Unable to contact the iOS software update server gs.apple.com
Error 1004, 1013, 1638, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
Install the latest version of iTunes.
Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
Try to restore from another known-good computer and network.
If the errors persist on another computer, the device may need service. -
when i sync my ringtone to my phone, it pop up a message" unknown error occurred -54", please help me!! thank you!!!
http://www.lmgtfy.com/?q=The+iPhone+couldn%27t+be+restored.+An+unknown+error+occ urred+(12)
Maybe you are looking for
-
How to log the messages in an internal table n display
Hello guys, This is my first post in SDN. I am uploading some data from application server. I am doing lot of varifications, based on that I have to display the messages. So I asked not to use the write statements to display the messages but asked me
-
Whenever I visit YouTube I sometimes have problems opening new tabs or clicking on videos. Sometimes when I click on a video all that shows is code and nothing else. Other times I click on a video and I get a window that looks like I'm trying to down
-
Cant open ITunes after Upgrade
Must have upgraded my ITunes recently because ITunes will no longer open unless I download the new Quicktime 7.6. My company computer is running MAC OS 10 with no option for Leopard. APPLE! You idiots! If your upgrade is going to render a customers I
-
BT Infinity Lack of Connection EVERY night!
We had BT Infinity installed on 10 April and the following day went on holiday for a week. When we returned we found we cannot load any web pages from around 8.30pm every night and the problem is still there in the morning. We have one wired connect
-
Makepkg doesn't work - can't build new different pkgs.
I'm maintaining a pkg named firefox-optimized. Now after I change mozconfig and PKGBUILD, I can't build a different pkg. All the pkgs I built are all the same except .PKGINFO. I have disabled ccache, and delete all cached files, even try to login ano