Help with web.xml and deploying a servlet

Hello,
I've been tearing me hair out for the last few hours trying to get this to work... I've got a servlet org.fatbaob.servtest.Servtest that I want to deploy with Tomcat 4.0.4. It doesn't seem to mater what I put in the web.xml file I'm always getting 404 errors.
The servlet is contained in a file c:\development\projects\servtest\WEB_INF\classes\org\fatboab\servtest\Servtest
which mapped with a <context> tag in the Tomcat conf\server.xml file:
<!-- Servtest context -->
     <Context path="/servtest" docBase="C:\development\projects\servtest" debug="0" privileged="true" reloadable="true">
     <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_servtest_log." suffix=".txt" timestamp="true"/>
</Context>
My web.xml file contains:
<?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>
<servlet>
<servlet-name>ServTest</servlet-name>
<servlet-class>org.fatboab.servtest.Servtest</servlet-class>
</servlet>
</web-app>
Although I have tried putting in <servlet-mapping> tags, but they didn't seem to work either.
My html file contains:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Servlet Test</title>
</head>
<body>
<h1>Servlet Test</h1>
<form action="/servtest/servlet/org.fatboab.servtest.Servtest" method="post">
<table>
<tbody>
<tr>
<td>Name:</td>
<td><input type="text" size="77" name="name" /></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" size="77" name="email" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Submit" /></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
The 404 error I get is:
description The requested resource (/servtest/servlet/org.fatboab.servtest.Servtest) is not available.
Help!
Cheers,
Bob.

Hello,
I've been tearing me hair out for the last few hours
trying to get this to work... I've got a servlet
org.fatbaob.servtest.Servtest that I want to deploy
with Tomcat 4.0.4. It doesn't seem to mater what I put
in the web.xml file I'm always getting 404 errors.
The servlet is contained in a file
c:\development\projects\servtest\WEB_INF\classes\org\fa
boab\servtest\Servtest
which mapped with a <context> tag in the Tomcat
conf\server.xml file:
<!-- Servtest context -->
<Context path="/servtest"
docBase="C:\development\projects\servtest" debug="0"
privileged="true" reloadable="true">
<Logger
er className="org.apache.catalina.logger.FileLogger"
prefix="localhost_servtest_log." suffix=".txt"
timestamp="true"/>
</Context>
My web.xml file contains:
<?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>
<servlet>
<servlet-name>ServTest</servlet-name>
<servlet-class>org.fatboab.servtest.Servtest</servlet-
lass>
</servlet>
</web-app>
Although I have tried putting in <servlet-mapping>
tags, but they didn't seem to work either.
My html file contains:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>
<title>Servlet Test</title>
</head>
<body>
<h1>Servlet Test</h1>
<form
action="/servtest/servlet/org.fatboab.servtest.Servtest
method="post">
<table>
<tbody>
<tr>
<td>Name:</td>
<td><input type="text" size="77" name="name"
="name" /></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" size="77" name="email"
"email" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit"
submit" value="Submit" /></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
The 404 error I get is:
description The requested resource
(/servtest/servlet/org.fatboab.servtest.Servtest) is
not available.
Help!
Cheers,
Bob.Bob,
Here an servlet definition I have defined in my web.xml...just plug in your values.
<servlet>
<servlet-name>AutoUpload</servlet-name>
<servlet-class>com.lendleaserei.webservices.AutoUpload</servlet-class>
<display-name></display-name>
<description></description>
</servlet>
<servlet-mapping>
<url-pattern>/webs</url-pattern>
<servlet-name>com.lendleaserei.webservices.AutoUpload</servlet-name>
</servlet-mapping>
Hope this helps,
Marco

Similar Messages

  • Help with web.xml under WL5.1sp3

    Hello,
    I just started to explore Weblogic Server 5.1sp3 as part
    of setting it up for the JASIG uPortal project here at UBC.
    I'm unable to get web.xml to work for me. I've created the
    file, I know WL is seeing it and parsing it (through various
    typos during the installation process) but when my index.jsp page
    runs, getInitParameter() comes back with nothing.
    Any ideas what I could be missing?
    Thanks
    George
    [email protected] ITServices, UBC
    Programmer/Analyst
    phone: 604.822.4375 fax: 604.822.5116

    Please post this to the weblogic.developer.interest.servlet
    thanks
    mbg
    In article <[email protected]>, [email protected] says...
    Hello,
    I just started to explore Weblogic Server 5.1sp3 as part
    of setting it up for the JASIG uPortal project here at UBC.
    I'm unable to get web.xml to work for me. I've created the
    file, I know WL is seeing it and parsing it (through various
    typos during the installation process) but when my index.jsp page
    runs, getInitParameter() comes back with nothing.
    Any ideas what I could be missing?
    Thanks
    George
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Help with web.xml

    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>Comerica RPM - Relationship Pricing Model</display-name>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- Struts Tag Library Descriptors -->
    <taglib>
    <taglib-uri>/WEB-INF/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/tags/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/tags/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/tags/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/tags/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/tags/struts-tiles</taglib-uri>
    <taglib-location>/WEB-INF/tags/struts-tiles.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/tags/displaytag-12</taglib-uri>
    <taglib-location>/WEB-INF/tags/displaytag-12.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
    <taglib-location>/WEB-INF/tlds/x.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
    <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
    </taglib>
    </web-app>
    Showing red x mark beside file name.
    According to tooltip
    Invalid content was found starting with element taglib.
    one of {"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display name, ...................
    What wrong in here?
    I just modified
    <webapp>
    to
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    and added the JSTL taglibs at the end.
    thanks.

    Below is the error.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected. [56]
    web.xml validation errors detected!

  • Help with Web Service and Action Script

    Hi! I have a Web Service to which I should pass multiple
    parameters. I would like to implement it completely in Action
    Script for studing. What's happening is that in the call I pass 3
    parameters and the soap message created is repeating the first
    parameter. Let me explain better:
    Here is the declaration of the webService:
    quote:
    <mx:WebService
    id="ws"
    wsdl="
    http://127.0.0.1:8080/WS1/pessoaService/pessoa.wsdl">
    <mx:operation name="PesquisarPessoa">
    <mx:request>
    <PesquisarPessoaRequest>
    <id>{fieldId0.text}</id>
    <nome>{fieldNome0.text}</nome>
    <endereco>{fieldEndereco0.text}</endereco>
    </PesquisarPessoaRequest>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    Here is my action script which invokes the PesquisarPessoa
    operation:
    quote:
    private function exibirAlterarRegistro():void {
    ws.PesquisarPessoa(fieldId0.text, fieldNome0.text,
    fieldEndereco0.text);
    Here is the message catched by the web service (It repeats
    the first parameter):
    quote:
    <SOAP-ENV:Body>
    <schema:PesquisarPessoaRequest xmlns:schema="
    http://www.example.org/Pessoa">
    <schema:id>3</schema:id>
    <schema:nome>3</schema:nome>
    <schema:endereco>3</schema:endereco>
    </schema:PesquisarPessoaRequest>
    </SOAP-ENV:Body>
    Thanks!

    check the names of parameters published to the wsdl
    file.

  • Java app with web service and servlets

    Hi. I intend to make a java application which exposes some methods as a web service and as jsp/servlets. It's core functionality is not really web centric, but its more a java app with a web tier. I am not sure about how the architecture of such a system would look like using the java platform. I currently see three options:
    1. Run everything in a servlet container like tomcat. I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web services. However, it would be really easy just to put everything into tomcat and use ServletContext to maintain some global objects.
    2. Use a Java EE to seperate application/business logic and data access into session beans and entity beans. I hesitate to this because it seem a bit overkill because the system isn't very big or complex right now. It also means that I would have to learn to use EJB's instead of just using some POJOs.
    3. Run the web tier in a servlet container and the main app in a separate JVM, and then connect the tier by sending serialized objects over TCP sockets. I don't like writing network code but at least there is some separation of the tiers.
    What would you do? Maybe I have overlooked a much better solution to the problem?
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) instead of the something quick and dirty that is hard to defend.

    jschell wrote:
    Run everything in a servlet container like tomcatTomcat is a JEE container.Now I am confused. Maybe you mean Glassfish? Tomcat is definitely a web container(?).
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) That pretty much makes it impossible then.
    1. A "Right" solution is generally only proven by time.
    2. It requires a great deal of knowledge about the business domain.Yeah, you are right. Let be try to rephrase it. What solution (pattern) would be considered the most common or appropriate when you have a Java App and want to expose a few methods as a website and web service?
    I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web servicesHuh? Do you already have an exposed web service? If you already have a server which other clients communicate then where does this functionality that you don't want to be tomcat running now? Or where do you think that you want to run it? And if you are or do run it somewhere else then tomcat could access it the same way any other client accesses that server.Sorry, that sentence was written badly. I don't have anything right now. What I meant to write was that I will have a lot of application scope data, objects that are kept in memory as long as the server is running, shared by multiple servlet instances.

  • Mime-type tag in web.xml and attachment download

    i have set a mime-type in web.xml as below:
    <mime-mapping>
         <extension>xls</extension>
         <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    And i have a simple jsp that only shows a table and i am making this jsp to get downloaded as an excel attachment. To make it possible i have written the following line in the JSP:
    response.setHeader( "content-disposition", "attachment; filename=myexcel.xls" );
    But i am not setting the content type first by writing:
    response.setContentType( "application/vnd.ms-excel" );
    since i have already mentioned the appropriate mime-type for excel files in web.xml.
    I am using both mozilla and IE. Both are showing file download dialog. But IE is able to correctly identify the type of the attachment and opens it up with Microsoft Excel whereas mozilla fails to identify the type, assumes it to be an HTML document and opens it up in a new window of IE.
    mozilla works fine only when i set the content type in the JSP itself. But IE works in all conditions even without having the mime-type tag in web.xml.
    If i have already specified the mime-type for particular type of file in web.xml, is there any requirement to set the content type again in the JSP/servlet?
    Please help. I even changed the mime-type for .xls (excel) files in web.xml and made it text/plain, but still the same thing is happening. IE is always showing the correct file type where as mozilla is taking it as an HTML document.
    i am using weblogic server 8.1.

    the web xml mime type setting are for static files served by the server...
    if you print a file directly to the output of the servlet, you must set the mime type, so DO write :
    response.setContentType( "application/vnd.ms-excel" );
    IE "works fine" because it also uses the file extension to decide the mime type... but in the absolute, it's a wrong behaviour

  • Problem with web.xml

    Hello,
    I have a big problem with web.xml.
    i can run the servlet demos with the default web.xml, but when i try to user a costum web.xml files, i receive a 404 page not found on a link.
    i have some dificulty to post here. but can somebody help my with my web.xml files?
    thanks for your help.
    have a nice day!

    Be careful with the place of your files and folders. It's possible that you've just mentioned the cause of your problem.
    My web.xml is
    <?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>gco</display-name>
    <description>gco webapplicaties</description>
    <servlet>
    <servlet-name>MopoController</servlet-name>
    <servlet-class>org.gertcuppens.controller.MopoController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MopoController</servlet-name>
    <url-pattern>/MOPO</url-pattern>
    </servlet-mapping>
    </web-app>
    When I want to call my web application locally, I use the URL http://localhost:8080/gco/MOPO.
    The http://localhost:8080 calls Tomcat. With /gco, Tomcat knows it should look for a folder gco inside the webapps folder. This one should contain a WEB-INF/web.xml folder for further instructions.
    With /MOPO Tomcat knows, having read the web.xml files of all webapps folders at start, it should look for a servlet with the name MopoController. And this MopoController points to the class org.gertcuppens.controller.MopoController. So, Tomcat knows where to find everything.
    Try to see whether your Tomcat can find everything inside the folders using your web.xml file.

  • Taglib tag doesn't work with web.xml 2.4 ?

    That is, I switched to the 2.4 version of web.xml and now none of the taglib elements I have in there work.
    I get the following excpetion
    org.apache.jasper.JasperException: File "/tags/struts-html" not found
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav a:105)
    I've been surfing a good portion of the day looking for some documentation on this but to no avail. I did find that I should wrap the taglib elements in a jsp-info. I'm runing tomcat 5.0.19.
    In any event here is my web.xml:
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
    version="2.4">
    <display-name>Struts Examples Application</display-name>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <servlet>
    <servlet-name>InitServlet</servlet-name>
    <servlet-class>com.jacent.admin.servlet.init.InitServlet</servlet-clas s>
    <init-param>
    <param-name>log4j</param-name>
    <param-value>/WEB-INF/log4j.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class&g t;
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <!-- module configurations -->
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- Struts Tag Library Descriptors -->
    <jsp-config>
    <taglib>
    <taglib-uri>/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-tiles</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/datetime</taglib-uri>
    <taglib-location>/WEB-INF/datetime.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/tabs-taglib</taglib-uri>
    <taglib-location>/WEB-INF/tabs-taglib.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/admin-widgets</taglib-uri>
    <taglib-location>/WEB-INF/admin-widgets.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>http://java.sun.com/jsp/jstl/core</taglib-location> ;
    </taglib>
    </jsp-config>
    </web-app>
    In addition Eclipse is complaining about web-app element not able to be found.
    Thanks for anyone's help!
    John

    #1 programmers excuse: It works for me. You must be doing something wrong.
    Finding out what is the trick.
    I have Tomcat 5.0.28, but I don't think it would make THAT much difference.
    What version of Java are you running?
    You shouldn't need the entry for the JSTL library c. That works without an entry in web.xml, provided you use the correct URI.
    First step: make a test page that only uses that one taglib - eg an html:base tag.
    Confirm that it breaks with the current setup.
    Backup web.xml, and start it from scratch with an absolute minimal one - only import the struts-html library.
    Does that work?
    Slowly copy and paste in the different bits of web.xml until you find what breaks it.
    Hope this helps,
    evnafets

  • Help on web.xml file, what if the parameters contains key words ?

    Hi:
    I am just wondering what should I do if I want to include key words suchs
    as <param> in web.xml file for a servlet config.
    Example:
    <servlet>
    <servlet-name>testServlet</servlet-name>
    <parameter>
    <param-name>some name</param-name>
    <param-value>some value</param-value>
    </parameter>
    </servlet>
    What should I do if I want to repleace 'some value' with '</param-value>some
    value' and still to prevent the engine to terminate parsing the param-value
    at the fake ending? Is there a standard way in XML to distanguish that?
    (in URL format it can be replaced %xx for some chars).
    ie,
    <param-value> </param-value>some value</param-value>
    where the second </param-value> is the real ending.
    Thank you!
    Gang

    Hi!
    You can use "& lt ;" and "& gt ;" xml entities for that. Or wrap text element in <![CDATA[...]]> section.
    Regards,
    Ignat.

  • Help with Web Authentication

    Having a couple of issues with web authentication, and not getting much help from Cisco TAC. Basically, I'm trying to set up different login pages for each WLAN (so far I have two) with a 4402 controller running 5.1.151.
    For one WLAN, I'm using the internal (default) login page with the following modifications: Cisco Logo is hidden, custom Headline and custom Message. User authentication is done through RADIUS. This works great, but every time I reboot the controller, my custom Message disappears and I get the generic Cisco message, which I don't want. When I add the custom message, I make sure to click Apply and Save Configuration.. don't know if this is a bug or not, anyone else seeing this?
    For the second WLAN, because I need a different login page, I've tried using a customized downloaded login page and also an external web page.
    For the external web authentication, the documentation says you don't need a pre-authentication ACL and yet without this, the redirect doesn't work. Does anyone have this working without an ACL? Also, the sample login page provided by Cisco does not work and I have no clue what code is needed for the username and password credentials to be passed on to WLC for RADIUS authentication.
    As for the customized downloaded login page, I've gotten a sample page from Cisco which they've said they do not support and this page has several issues which I can't seem to get around: it redirects users to the generic welcome page (which we don't want), and does not prompt the user when they enter incorrect credentials (though I can tell the code for this is there).
    So, I'm wondering if anyone has either an external or internal login page that is working properly and is willing to point me in the right direction?
    Thanks.

    We have had some similar issues with the controllers not telling user they have used the right username/password, but have solved it. Whether it will help or not we can let you have a copy of our login.tar file if you want, just stick your email address in a reply.
    As far as I know, there is only one place to enter a re-direct page, which is in the config for the default web auth page and all web auth methods use this re-direct...that is our experience at least.

  • Need help with Blog, Wiki and Gallery

    Hi Team,
    Need help with Blog, Wiki and Gallery startup. I have newly started visiting forums and quite interested to contribute towards these areas also.
    Please help.
    Thanks,
    Santosh Singh
    Santosh Singh

    Hello Santhosh,
    Blog is for Microsoft employees only. However, you can contribute towards WIKI and GALLERY using the below links.
    http://social.technet.microsoft.com/wiki/
    http://gallery.technet.microsoft.com/

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • Search Help with Web Dynpro call on another system

    Hi all,
    I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
    Many Thanks in advance...

    I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around.  With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module.  Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
    You can read more about Search Help Exits here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm

  • Search Help with Web Dynpro

    Hi all,
    I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
    Many Thanks in advance...

    I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around.  With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module.  Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
    You can read more about Search Help Exits here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm

  • Help with photoshop quitting and AMD graphics

    help with photoshop quitting and AMD graphics
    im not a techy, but it appears i have to do someting with my amd graphics card - this might be why my software is crashing - ive no idea what to do though

    Hi Chris
    I have tried to go on the website, then i tried to download the automatic detect because i wasnt sure which driver i had or needed - but it has just downloaded a load of game software - which i dont want ( i dont think)
    i have find out my laptop has a amd radeon HD 8750M card, but i dont know what im doing! i would hate to mess my computer up as i am in thailand with no one to help me!
    its frustrating as i am paying for CC but cant use it!

Maybe you are looking for