Results 1 to 4 of 4
  1. #1
    avcaballero is offline Member
    Join Date
    Oct 2013
    Posts
    2
    Rep Power
    0

    Default Accessing java routines from jsp

    Hello, I'm a newbie in JSP and I'm starting a learning project. The goal is accessing java routines from jsp pages. Surely I missed something. I attach the entire project. Any help?

    Thank you
    Attached Files Attached Files

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Accessing java routines from jsp

    You;re very unlikely to find someone here who will unzip your project and try and figure out what it is that is wrong.

    Describe your problem, and post relevant code that shows where you are stuck.
    Include any errors you have either compiling or executing the code, highlighting the problem lines.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    avcaballero is offline Member
    Join Date
    Oct 2013
    Posts
    2
    Rep Power
    0

    Default Re: Accessing java routines from jsp

    Good day. I've just finished my learning project on jsp/java/javabeans/xml/PostgreSQL and I have uploaded it to my page:

    If anyone interested, you can downloaded it freely. Much more of what you have helped me, eh?

    Some of the characteristics are these:
    •Separación de la capa de presentación jsp del acceso a base de datos en java.
    •Para usar los class de java usamos java beans, cuyas rutinas devuelven datos de tipo integer, matrices de Strings, etc.
    •Base de datos PostgreSQL.
    •Creo un fichero xml donde podemos poner un número indeterminado de órdenes a la base de datos y los tipos pueden ser (no sólo): selects, updates, inserts.
    •El fichero xml es leído por una rutina java que he desarrollado yo mismo, a la que accedemos en jsp mediante java beans. Para ello la rutina está asociada a un nombre, que es el que buscamos. Puesto que este fichero es externo a jsp/java, podría modificarlo cualquiera sin conocimientos de jsp/java, y sin necesidad de reiniciar el servicio Tomcat.
    •Login de usuarios con un tiempo de espera de inactividad de 3 minutos.
    •Personas, mpleados, clientes y roles de usuario de la aplicación.
    •Podemos dar de alta nuevos registros en toda la gestión del videoclub, así como modificar registros, pero no eliminar (de momento esta última característica no está añadida).
    •Para simplificar el proceso de relleno de los formularios para dar de alta/modificar registros, se han creado botones de lista que nos ofrecen los datos necesarios.
    •Si un usuario no tiene rol para acceder a una página, la aplicación se lo notificará con un alert en javascript y no le permitirá el acceso.
    •Si no hay usuario logado y solicitamos el ingreso en alguna página, el sistema redirecciona a la página de login y, una vez logado correctamente, lo devuelve a la página solicitada.
    •javascript para chequear e informar al usuario de la aplicación de errores cometidos en la gestión.
    •css para darle a la aplicación un aspecto cuidado y bonito con métodos estándar.

    PS. Sorry for not translating it to English, but I have no much time, but given how much you have helped me, maybe not worth it .... :)

    Cheers

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Accessing java routines from jsp

    ?
    You've got two posts here, and I'm the only person who has replied.
    I mean, it's all nice and that to get told I was helpful, but I don't really see how...
    ;)
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Accessing a Java server from the Internet
    By mozly in forum Networking
    Replies: 2
    Last Post: 01-06-2012, 07:31 AM
  2. Accessing NXT Brick through Java application
    By DionnV in forum Advanced Java
    Replies: 2
    Last Post: 12-08-2011, 02:34 PM
  3. Can C++ routines be called from Java program
    By gkk in forum New To Java
    Replies: 2
    Last Post: 07-20-2010, 09:43 AM
  4. Accessing Data From Websites in Java
    By capitalistpig in forum New To Java
    Replies: 13
    Last Post: 06-21-2010, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •