Conversion from Juniper Configuration to Cisco Config
Hi,
I have a Juniper firewall config of 32,000 lines. I want to convert this into Cisco ASA v.8.3. Is there any pearl script available which can do that for me?
regards,
Mohsin
The first question is if you are migrating a ScreenOS config or a JunOS config. If you are migrating a ScreenOS config, the process is rather simple and can be done with the use of notepad/word to do search and replaces for key words and excel for re-ordering columns (ScreenOS puts the permit after the services, we put it before the services, etc). I have helped with a few migrations myself using this process and have found it much more reliable than even Juniper's ScreenOS to JunOS tool. (Perhaps because it is a firewall-firewall migration, as opposed to a firewall-router migration.) Your account team can provide you with documentation to support this process.
Now, if you are migrating a JunOS config to an ASA config, there are also tricks that allow you to do it. However, it is not as straight forward as the JunOS config looks very different. This process is most efficiently done using the output of some show commands rather than the config itself. In this case, I would strongly recommend you contact your account team for more details.
In either case, welcome to Cisco's firewalls. I am sure you will feel like one who has emerged from black and white movies to technicolor!!
Maria
Similar Messages
-
Converting config from Juniper netscreen to ASA 5585 8.4
Does anyone know who to convert config form a Juniper Netscreen Firewall to a ASA? We are trying to get rid of the netscreen firewalls at our location and replace them with ASA's.
Here is the new self-service tool that Cisco has released to convert to any vendor firewalls to Cisco ASA.
Currently it supports Juniper ScreenOS and CheckPoint to Cisco ASA conversion.
Link to the original post:
https://supportforums.cisco.com/community/netpro/security/firewall/blog/2013/09/27/conversion-tool-juniper-screenos-to-cisco-asa
Link to the tool itself:
https://fwmig.cisco.com -
Juniper SSG and Cisco ACS v5.x Configuration
I searched for a long time unsuccessfully trying to find a resolution to my SSG320M and Cisco ACS v5.x TACACS dilemma. I finally got it working in my network, so I'm posting the resolution here in case anyone else is looking.
Configure the Juniper (CLI)
1. Add the Cisco ACS and TACACS+ configuration
set auth-server CiscoACSv5 id 1
set auth-server CiscoACSv5 server-name 192.168.1.100
set auth-server CiscoACSv5 account-type admin
set auth-server CiscoACSv5 type tacacs
set auth-server CiscoACSv5 tacacs secret CiscoACSv5
set auth-server CiscoACSv5 tacacs port 49
set admin auth server CiscoACSv5
set admin auth remote primary
set admin auth remote root
set admin privilege get-external
Configure the Cisco ACS v5.x (GUI)
1. Navigate to Policy Elements > Authorization and Permissions > Device Administration > Shell Profiles
Create the Juniper Shell Profile.
Click the [Create] button at the bottom of the page
Select the General tab
Name: Juniper
Description: Custom Attributes for Juniper SSG320M
Select the Custom Attributes tab
Add the vsys attribute:
Attribute: vsys
Requirement: Manadatory
Value: root
Click the [Add^] button above the Attribute field
Add the privilege attribute:
Attribute: privilege
Requirement: Manadatory
Value: root
Note: you can also use 'read-write' but then local admin doesn't work correctly
Click the [Add^] button above the Attribute field
Click the [Submit] button at the bottom of the page
2. Navigate to Access Policies > Access Services > Default Device Admin > Authorization
Create the Juniper Authorization Policy and filter by Device IP Address.
Click the [Customize] button at the bottom Right of the page
Under Customize Conditions, select Device IP Address from the left window
Click the [>] button to add it
Click the [OK] button to close the window
Click the [Create] button at the bottom of the page to create a new rule
Under General, name the new rule Juniper, and ensure it is Enabled
Under Conditions, check the box next to Device IP Address
Enter the ip address of the Juniper (192.168.1.100)
Under Results, click the [Select] button next to the Shell Profile field
Select 'Juniper' and click the [OK] button
Under Results, click the [Select] button below the Command Sets (if used) field
Select 'Permit All' and ensure all other boxes are UNCHECKED
Click the [OK] button to close the window
Click the [OK] button at the bottom of the page to close the window
Check the box next to the Juniper policy, then move the policy to the top of the list
Click the [Save Changes] button at the bottom of the page
3. Login to the Juniper CLI and GUI, and attempt to change something to verify privilege level.Cisco Prime LMS is not designed to manage appliances like the ACS. ACS is not on the LMS supported device list and I would doubt that it would be as LMS's functions are mostly not applicable to the appliance or software running on it.
You can use ACS as an authentication source for LMS, but authorization is still role-based according to the local accounts on the LMS server. -
Unable to access/lan2lan ping from VPN Fortigate to Cisco ASA 5505
Problem : Unable to access user A to user B
User A --- router A (122, fortigate 80c) --- (Site to Site VPN between fortigate & cisco asa) --- router B (93, cisco Asa 5505{in front asa got cisco800[81] before to internet} ) --- User B
After using wizard to configure the cisco ASA site to site VPN, the site-to-site tunnel is up.
Ping is unsuccessful from user A to user B
Ping is successful from user B to user A, data is accessable
After done the packet tracer from user A to user B,
Result :
Flow-lookup
Action : allow
Info: Found no matching flow, creating a new flow
Route-lookup
Action : allow
Info : 192.168.5.203 255.255.255.255 identity
Access-list
Action : drop
Config Implicit Rule
Result - The packet is dropped
Input Interface : inside
Output Interface : NP Identify Ifc
Info: (acl-drop)flow is denied by configured rule
Below is Cisco ASA 5505's show running-config
ASA Version 8.2(1)
hostname Asite
domain-name ssms1.com
enable password ZZZZ encrypted
passwd WWWW encrypted
names
name 82 B-firewall description Singapore office firewall
name 192.168.1.0 B-inside-subnet description Singapore office internal LAN IP
name 192.168.200.0 A-inside-VLAN12 description A-inside-VLAN12 (fortinet)
name 192.168.2.0 fw-inside-subnet description A office internal LAN IP
name 122 A-forti
interface Vlan1
nameif inside
security-level 100
ip address 192.168.5.203 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address 93 255.255.255.240
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/7
ftp mode passive
dns server-group DefaultDNS
domain-name ssms1.com
object-group network obj_any
network-object 0.0.0.0 0.0.0.0
access-list inside_nat0_outbound extended permit ip any 80 255.255.255.240
access-list inside_nat0_outbound extended permit ip fw-inside-subnet 255.255.255.0 B-inside-subnet 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.5.0 255.255.255.0 A-inside-VLAN12 255.255.255.0
access-list outside_cryptomap extended permit ip fw-inside-subnet 255.255.255.0 B-inside-subnet 255.255.255.0
access-list Outside_nat-inbound extended permit ip A-inside-VLAN12 255.255.255.0 192.168.5.0 255.255.255.0
access-list Outside_nat-inbound extended permit ip host A-forti 192.168.5.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 192.168.5.0 255.255.255.0 A-inside-VLAN12 255.255.255.0
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-631.bin
no asdm history enable
arp timeout 14400
global (outside) 101 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 101 0.0.0.0 0.0.0.0
route outside 0.0.0.0 0.0.0.0 81 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http B-inside-subnet 255.255.255.0 inside
http fw-inside-subnet 255.255.255.0 inside
http 0.0.0.0 255.255.255.255 outside
http 0.0.0.0 0.0.0.0 outside
http 192.168.5.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs
crypto map outside_map 1 set peer A-forti
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map 2 match address outside_cryptomap
crypto map outside_map 2 set peer B-firewall
crypto map outside_map 2 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 20
authentication pre-share
encryption aes-192
hash md5
group 2
lifetime 86400
crypto isakmp policy 30
authentication pre-share
encryption aes-256
hash md5
group 2
lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
dhcpd address 192.168.5.10-192.168.5.20 inside
dhcpd dns 165 165 interface inside
dhcpd enable inside
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol IPSec l2tp-ipsec svc webvpn
username admin password XXX encrypted privilege 15
tunnel-group 122 type ipsec-l2l
tunnel-group 122 ipsec-attributes
pre-shared-key *
class-map inspection_default
match default-inspection-traffic
class-map outside-class
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
message-length maximum client auto
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect icmp
policy-map outside-policy
description ok
class outside-class
inspect dns
inspect esmtp
inspect ftp
inspect h323 h225
inspect h323 ras
inspect icmp
inspect icmp error
inspect netbios
inspect rsh
inspect rtsp
inspect sip
inspect skinny
inspect sqlnet
inspect sunrpc
inspect tftp
inspect xdmcp
service-policy global_policy global
service-policy outside-policy interface outside
prompt hostname context
Cryptochecksum: XXX
: end
Kindly need your expertise&help to solve the problemany1 can help me ?
-
Sample RAS configuration of Cisco 3725
Dear All,
If anyone can help me with some sample RAS configuration of Cisco 3725 having one 1-Port Channelized E1/T1/ISDN-PRI Network Module & 12 Port Digital Modem Network Module.
Thanks
SureshThe configuration is not mine, I just took it from:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_configuration_guide_chapter09186a00800d9bb5.html
and I remove the extra lines (in the config is 1 to 48, but in your 3725 can be others depending in which module are installed). Also you have to check the lines of your modems. This is a useful link, but you can check it with show diag:
http://www.cisco.com/en/US/products/hw/routers/ps274/products_configuration_example09186a0080094691.shtml
Config:
controller T1 0
framing esf
clock source line primary
linecode b8zs
pri-group timeslots 1-24
interface Serial0:23
no ip address
encapsulation ppp
dialer rotary-group 0
dialer-group 1
no fair-queue
no cdp enable
interface Dialer0
ip unnumbered Loopback0
no ip mroute-cache
encapsulation ppp
peer default ip address pool dialin_pool
dialer in-band
dialer-group 1
no fair-queue
no cdp enable
ppp authentication chap pap dialin
ppp multilink
ip local pool dialin_pool 10.1.2.1 10.1.2.50
dialer-list 1 protocol ip permit
line 1 48
autoselect ppp
autoselect during-login
login authentication dialin
modem DialIn
Hope it helps
-as -
Cisco works LMS 3.0.1 does not archiever configuration for cisco 7201 router
Hi All,
We have Cisco works LMS 3.0.1 and it does not archiever configuration for cisco 7201 router.
Any help would be appriciated.
Thanks in advance
SamirHi,
*** Device Details for d0151-100 ***
Protocol ==> Unknown / Not Applicable
Selected Protocols with order ==> TFTP,SSH,HTTPS
Execution Result:
Unable to get results of job execution for device. Retry the job after increasing the job result wait time using the option:Resource Manager Essentials -> Admin -> Config Mgmt -> Archive Mgmt ->Fetch Settings
This is the error while doing syn archieve.
I am not sure about Rtr7000 version but we have latest Rtr7000.
Waiting for your kind reply.
Samir -
Field setting when collective conversion from planned order to PR
Dear expert:
Is there any way(except ABAP enhancement) to add the field "tracking number" in MD15 when I conduct collective conversion from planned order to PR. Seems in standard config this field in not included in this screen. I have set this field as a mandatory field, but even though when I conduct the conversion, this field still can not be displayed in the MD15 conversion screen.Hi,
There are following T. Codes to convert Planned Order to PR;
MD14 - Individual Conversion
MD15 - Collective Conversion
MDUM - In Background
Also MD04
User Exit is LMDZU001 - User exits in additional planning -
Nice People HELP ME!!! IPv6 over PPPoE Configuration on Cisco 7206VXR
I have a 7206VXR which connects to a DSLAM via the router's ATM/DS3 interface. A CPE home router connects to the DSLAM. So it's like:
PC -----ethernet---- CPE Router ------ dsl line ------ DSLAM ----- atm/pppoe ------- BVI/Virtual-Template/PPPoE on Cisco 7206VXR
Now the problem is:
- PC CAN ping the BVI interface of Cisco, but NOT beyond that. For instance he can't ping 7206's loopback ipv6 address.
- I found something interesting on the CPE, that CPE itself can't ping BVI interface of Cisco, AND it doesn't have a default gateway ::/0 set on itself. I manually added a default router like "route -A inet6 add ::/0 gw <BVI's IPv6 addr>", and the problem got solved and PC can ping Cisco's loop back IP now. But this is not a solution since I want this thing to be automatically ready.
Note both CPE and PC are happy with global IPv6 addressed assigned.
I believe this problem is related to how PPPoE/IPCPv6 handles addresses and prefixes.
Ok, now some configuration details: I use 2001:7:7::/64 for the "WAN" side of CPE, and 2001:8:8::/64 for its LAN side (PCs). And here's the Cisco config (only related stuff is shown here):
ipv6 unicast-routing
ipv6 cef
ipv6 dhcp pool foo
prefix-delegation pool test
address prefix 2001:7:7::/64
bridge irb
bba-group pppoe global
virtual-template 2
sessions max limit 256
interface Loopback0
no ip address
ipv6 address 2001:9:9::1/64
ipv6 enable
interface Virtual-Template2
description Public PPP CHAP
mtu 1492
ip unnumbered BVI1
ip pim sparse-dense-mode
ip igmp version 3
ipv6 unnumbered BVI1
ipv6 enable
ipv6 mtu 1492
ipv6 nd managed-config-flag
ipv6 nd other-config-flag
ipv6 nd router-preference High
no ipv6 nd ra suppress
ipv6 dhcp server foo
peer default ip address dhcp-pool Public
peer default ipv6 pool test
ppp authentication chap
ppp pap refuse
interface BVI1
description Public IP ADSL
ip address 12.230.197.129 255.255.255.224
ip pim sparse-dense-mode
ip igmp version 3
ipv6 address 2001:7:7::1/64
ipv6 enable
ipv6 mtu 1492
ipv6 nd managed-config-flag
ipv6 nd other-config-flag
ipv6 nd router-preference High
no ipv6 nd ra suppress
ipv6 nd ra lifetime 60
ipv6 nd ra interval 40
ipv6 local pool test 2001:8:8::/56 64
NICE PEOPLE PLS HELP ME! ^_^Thanks Andrew for your response and sorry for the confusion: actually I didn't include all my config lines. For bridging, actually I did what you mentioned and everything works fine with IPv4:
interface ATM1/0.3 multipoint
description Public DHCP
bridge-group 1
pvc 1/1060
encapsulation aal5snap
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip -
SOLMAN_SETUP/ preparation phase 5.1 configure web dispatcher config failed.
Hello
Based on SAP Solution manager 7.1. SPS 11 Fresh install, SOLMAN_SETUP/ preparation phase 5.1 configure web dispatcher config failed.
Error message:
L3 - Failed to reach test WS through System Settings (ICM/HTTPURLLOC):
http://vip.myfqdn.fr:80
L2 - Test WS can be reached through ICM:
http://hostname.myfqdn.fr:8000
SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")
Solman is located in a DMZ, http/https are configurated in table
HTTPURLOC and load balancer is used to publish http and https url and port redirection
instead of native url « hostname » + default port (80xx / 443xx)
• In DMZ for url
http://hostname.myfqdn.fr:8000/ManagedSetupWS/Config1?style=document
system answer is OK
• In LAN via Load balancer url return KO message
http://vip.myfqdn.fr:8000/ManagedSetupWS/Config1?style=document
Any help will be appreciate.
Regards
EricHi All,
I have resolved the issue with re-setting the password of SM_INTERN_WS & SM_EXTERN_WS.
from step 1.
with no-dispatcher configuration..
Regrads,
Gagandeep Singh -
Still trying to configure a Cisco 877W router
Hi,
I am still unable to configure my Cisco 877W router for use on a B.T. ADSL phone line.
I can log in to the router which starts up the SDM Express. I then select the wizard and get as far as filling in the DHCP server configuration.
When I then press next it does not go to the next step, it just stays on the DHCP config screen. I am now using a Windows XP machine to configure the router as someone suggested, but it continues to halt at the same place.
Can anyone help please,
Thanks.
Dave.Hi. You may check out the topics in this link instead.
-
Getting ÿþ as saved conversations from Lync in Outlook in Office 2013
Hi,
I've been trying to get to the bottom of this and have found similar posts, but no one seems to have an answer.
When I IM someone using Lync 2013, they get a pop up notification but instead of the message they see ÿþ<. Once they open the chat window, they can see my typed text. Occasionally, certain people can't see the first line of my chat, but as
long as they keep the chat window open, they can see everything new I type.
All my conversations that are saved in outlook show ÿþ< for the text and are unreadable. I've disabled the saving of conversations because they have become worthless.
I believe it has to do with BOM but have not been able to find a way to fix this.
If I copy a conversation from the chat window and paste it into Microsoft Word it shows ÿþ<, but if I paste it into notepad the conversation appears.
(I had inserted a screenshot here, but am unable to because I am unable to figure out how to get my account "verified")
I've tried changing the preferred encoding for outgoing messages: to Unicode (UTF-8) in Outlook, but this had no effect and I can't find a similar option in Lync 2013.
(I had inserted a screenshot here, but am unable to because I am unable to figure out how to get my account "verified")
I enabled logging for Lync and the event IDs that come up are 1, 11 and 12, to which I cannot find any information for at the moment.
Any help and or suggestions would be appreciated.Hi,
Did the issue happen only for you or for multiple users?
Please try to delete Lync User Profile and information on Registry, then repair Office 2013.
The path of Lync User Profile: %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
The path for information on Registry: HKCU\Software\Microsoft\Office\15.0\Lync\[email protected]
Then test the issue again.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Project Conversion from 11.03 to R12- need help
Hi All,
I need some information regarding conversion from 11.03 to R12 along with Capital Project's conversion, do we need to take care Asset Assignment and Assets information at the time of Project Conversion. Iam doing Project and Task conversion different. Is there any good mapping document or Conversion FD, if any body have please send my mail ID. [email protected]
Thanks for your help.
Thanks,
Srini..Usually only Open Invoices and Unapplied Receipts are migrated from Old system to New Instance.
Post Migration Reconciliation shall be tough in that scenario. Reconsider/Rediscuss with Client.
Migration can be done using APIs or Custom Scripts using Standard Interfaces.
Hope this is helpful
Regards,
Sridhar -
How to configure for struts-config.xml
Hi
I am having a JSp which is Mapped to anothr action through the registration.The registartion is mapped to action
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.apache.struts.validator.ValidatorPlugIn" session="true" %>
<%@ page import="org.apache.struts.Globals" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html:html locale="true">
<head>
<title><bean:message key="index.title"/></title>
<html:base/>
</head>
<body bgcolor="white">
<logic:notPresent name="<%= Globals.MESSAGES_KEY %>" >
<font color="red">
ERROR: Application resources not loaded -- check servlet container
logs for error messages.
</font>
</logic:notPresent>
<%-- :TODO: Need code to do this with moudles
<logic:notPresent name="<%= ValidatorPlugIn.VALIDATOR_KEY %>" >
<font color="red">
ERROR: Validator resources not loaded -- check Commons Logging
logs for error messages.
</font>
</logic:notPresent>
--%>
<h3><bean:message key="registrationForm.title"/>1222AAAAAAAAAAAAA</h3>
<ul>
<li><html:link action="Test.jsp">Test212121.jsp</html:link >
<li><html:link action="/registration"><bean:message key="registrationForm.title"/></html:link></li>
<%System.out.println("hellooooooooooooo");%>
<!-- :TODO: Should have a non-JaveScript message-by-field example -->
<li>
<html:link action="/jsRegistration"><bean:message key="jsRegistrationForm.title"/></html:link> -
<bean:message key="jsRegistrationForm.description"/>
</li>
<li>
<html:link action="/multiRegistration"><bean:message key="multiRegistrationForm.title"/></html:link> -
<bean:message key="multiRegistrationForm.description"/>
</li>
</ul>
<a href="registration.jsp">Registration Test</a>
<p> </p>
<h3><bean:message key="typeForm.title"/></h3>
<ul>
<li>
<html:link action="/type"><bean:message key="typeForm.title"/></html:link> -
<bean:message key="typeForm.description"/>
</li>
<li>
<html:link action="/editJsType"><bean:message key="jsTypeForm.title"/></html:link> -
<bean:message key="jsTypeForm.description"/>
</li>
</ul>
<p> </p>
<h3>Change Language | Changez Le Langage</h3>
<ul>
<li><html:link action="/locale?language=en">English | Anglais</html:link></li>
<li>
<html:link action="/locale?language=fr">French | Francais</html:link> -
<bean:message key="localeForm.fr"/>
</li>
<li>
<html:link action="/locale?language=fr&country=CA">French Canadian | Francais Canadien</html:link> -
<bean:message key="localeForm.frCA"/>
</li>
<li>
<html:link action="/locale?language=ja" useLocalEncoding="true">Japanese | Japonais</html:link> -
<bean:message key="localeForm.ja"/>
</li>
</ul>
<p> </p>
==============struts-config.xml=================\<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<!--============================================== Form Bean Definitions -->
<form-beans>
<!-- Registration form bean -->
<form-bean name="registrationForm" type="validator.RegistrationForm" />
<!-- Multi-Part Registration form bean -->
<form-bean name="multiRegistrationForm" type="validator.RegistrationForm" />
<!-- Type form bean -->
<form-bean name="typeForm" type="validator.TypeForm" />
<!-- JavaScript Type form bean -->
<form-bean name="jsTypeForm" type="validator.TypeForm" />
</form-beans>
<!-- ======================================== Global Forward Definitions -->
<global-forwards>
<forward name="home" path="/index.jsp" />
</global-forwards>
<!-- ========================================= Action Mapping Definitions -->
<action-mappings>
<action path="/welcome" forward="/index.jsp" />
<!-- Registration Action
-->
<forward name="registration" path="/registration.do" /> //// ==========>here it is mapped
<action path="/registration" forward="/registration.jsp" />
<action path="/registration-submit" type="validator.RegistrationAction" name="registrationForm" scope="request" validate="true" input="input">
<forward name="input" path="/registration.do" />
<forward name="success" path="/index.jsp" />
</action>
<action path="/jsRegistration" forward="/jsRegistration.jsp" />
<!-- Multi-Part Registration Action -->
<action path="/multiRegistration" forward="/multiRegistration1.jsp" />
<action path="/multiRegistration-submit" type="validator.MultiRegistrationAction" name="multiRegistrationForm" scope="request" validate="false">
<forward name="success" path="/welcome.do" />
<forward name="input1" path="/multiRegistration1.jsp" />
<forward name="input2" path="/multiRegistration2.jsp" />
</action>
<!-- Type Action -->
<action path="/type" forward="/type.jsp" />
<action path="/type-submit" type="validator.TypeAction" name="typeForm" scope="request" validate="true" input="input">
<forward name="input" path="/type.do" />
<forward name="success" path="/welcome.do" />
</action>
<!-- JavaScript Type Action -->
<action path="/editJsType" type="validator.EditTypeAction" scope="request" validate="false">
<forward name="success" path="/jsType.do" />
</action>
<action path="/jsType" forward="/jsType.jsp" />
<action path="/jsType-submit" type="validator.TypeAction" name="jsTypeForm" scope="request" validate="true" input="input">
<forward name="input" path="/editJsType-submit.do?typeForm.reset=false" />
<forward name="success" path="/welcome.do" />
</action>
<!-- Locale Action -->
<action path="/locale" type="validator.LocaleAction" name="localeForm" scope="request">
<forward name="success" path="/welcome.do" />
</action>
</action-mappings>
<!-- ============================================= Controller Definition -->
<controller inputForward="true" />
<!-- ===================================== Message Resources Definitions -->
<message-resources parameter="validator.MessageResources" />
<!-- ============================================ Plug Ins Configuration -->
<!--
Add multiple validator resource files by setting the pathnames property
with a comma delimitted list of resource files to load.
-->
<plug-in className="validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validator/validation.xml" />
<set-property property="stopOnFirstError" value="true" />
</plug-in>
</struts-config>
<html:img page="/struts-power.gif" altKey="index.powered"/>
</body>
</html:html>Hey,
U can do it the way u want. Use DispatchAction Class instead of Action Class. Just go through the documentation for this. If u still have problem let me know.
Thanks
KM
Hi,
I am new to struts and when i am doing my application i find some >>difficulty i.e,
I have two buttons on a jsp page Save,Delete.when I click on >>save ,saveAction must be called.if we click delete deleteAction to be >>called.
for this how can I configure in struts-config.xml file. and how it >>knows which button has been clicked.
Can any one please guid me.
Thanks -
Since downloading Firefox 4, I am having problems archiving gmail conversations from my inbox view (either one or several conversations) as it says "No Conversations Selected" when I have selected one or several. Also, when I go to enter a new event in google calendar, I have to click the cursor in the box to type the event (it used to let me just start typing) or else it flips out and starts jumping to day view or another month. Does anyone know how to fix either of these?
I have had this problem; but while trying to fix another problem, I reset my preferences for Firefox and it fixed this problem as well. To reset preferences, follow this link: http://support.mozilla.com/en-US/kb/Resetting%20preferences
-
How can I print a text message conversation from my iPhone? Not using screenshots.
How can I print a text message conversation from my iPhone? Not using screenshots. It's around 500 messages so screenshots is not a option.
Yes, you can delete from iphone:
http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf
It is covered in the manual.
Page 172:
"Delete a podcast: In the Podcasts list in iPod, swipe left or right over the podcast, then
tap Delete. "
Maybe you are looking for
-
חאן I puchased HP dm4 1203 tu 15 days back.. i have tried everything but my laptop runs for ONE 1 hour: TWENTY TWO 22 minutes when charged 100% no matter what power plan I use contrary to advertised 6.5 hours ...I BOUGHT THIS LAPTOP BECAUSE OF THIS F
-
Link between Oder number, Operations and PRT ?
Hello, I am trying to find the link between Ordeer number (T-code IW32) , its Operations and PRT linked to Operations. Can someone shed some light on the links for these in PM tables ? Thanks. Regards, Rajesh.
-
Hi! Could you tell me a flash player that I could use in iweb. With the widgets It (por example) doesn't work http://www.premiumbeat.com/flashresources/free_flash_musicplayer/ Regards: Palosanto
-
Schedular to call OrderService at configured intervals in OSB?
HI All, I am new to OSB, I have requirement of calling the exposed web service(Order service) at configured intervals in OSB. Can you suggest best way. any related example blog. Thanks in advance.
-
Dispatching an event from a MovieClip???
Hello, can somebody tell me if there is a way to dispatch an event from a Movieclip?, I tried to dispatch an event from a class and all ran ok. But now, if I have a Movieclip on my scenario and I want that when it arrive to "x" frame it dispatch an e