Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Include an HTML output into JSP (http://www.velocityreviews.com/forums/t389560-include-an-html-output-into-jsp.html)

graf.laszlo@axis.hu 12-20-2006 02:30 PM

Include an HTML output into JSP
 
Hi,

I have one Perl script what return a character string.
I can access it with this URL: https://localhost:4444/perl/ps01.pl
The result might look like this: ABCD1234.

OK

Now, I need some help to include the result (ABCD1234) in my test.jsp
before
using it. The problem is, that the Perl script reads the ENV hash,
witch contains
some data red from a chipcard. Every time when I start a new session
with
the Perl script, the browser prompts me to enter the card PIN code.

If I use the java.net.URL class in my JSP page I do not have the
possibility
to enter the PIN code.

Please help me. Thank you.
Laszlo


Oliver Wong 12-20-2006 04:42 PM

Re: Include an HTML output into JSP
 

<graf.laszlo@axis.hu> wrote in message
news:1166625037.081109.298330@i12g2000cwa.googlegr oups.com...
> Hi,
>
> I have one Perl script what return a character string.
> I can access it with this URL: https://localhost:4444/perl/ps01.pl
> The result might look like this: ABCD1234.
>
> OK
>
> Now, I need some help to include the result (ABCD1234) in my test.jsp
> before
> using it. The problem is, that the Perl script reads the ENV hash,
> witch contains
> some data red from a chipcard. Every time when I start a new session
> with
> the Perl script, the browser prompts me to enter the card PIN code.
>
> If I use the java.net.URL class in my JSP page I do not have the
> possibility
> to enter the PIN code.


Maybe you can open a raw socket connection and send exactly the info
that your webbrowser sends. See
http://java.sun.com/docs/books/tutor...ets/index.html

- Oliver




All times are GMT. The time now is 11:31 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57